Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-19 23:59:03.260323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
 val : 1 : upload photos already in processing! 
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-19 23:59:42.369106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:00:05.874216
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d9b30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.30488204956055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-20 00:02:42.153463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552ca50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.6248950958252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:05:03.993104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e1110>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.1455945968628 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-20 00:07:42.970351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552daf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.88274216651917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:10:02.887277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b0710>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.21099853515625 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-20 00:12:42.708740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75530b10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.2299108505249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:15:03.286471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f0ab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.89239072799683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-20 00:17:42.511195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f09f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.3818004131317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:20:03.490612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754be730>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 130.64761972427368 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-20 00:22:42.472169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75503a90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.50049209594727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:25:04.305944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75539130>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.9130744934082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 1
2025-02-20 00:27:42.478250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7553af30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.45996737480164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:30:02.721978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f46f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.57618260383606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:33:03.308652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547b710>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.19986200332642 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:36:03.312559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549c6d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.3856930732727 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:39:03.983169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551d6d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.91571807861328 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:42:02.740954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754660b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.35717153549194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:45:03.485647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754de730>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.92724442481995 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:48:03.160569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d4710>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.46805953979492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:51:03.915238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a0710>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.92314982414246 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:54:02.706902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bda90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.31166887283325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:57:04.053812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 00:59:04.362199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d3b30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.73146605491638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:01:32.480288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754efbd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.0995910167694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:03:52.908023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754eca50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.91026830673218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:06:32.578163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75572bf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.96003460884094 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:08:52.956562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754db9b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.9417405128479 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:11:32.543896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bcb50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.0743134021759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:13:53.112178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7557fb50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.74043607711792 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:16:32.745410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552bad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.9476146697998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:18:52.200641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549ead0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.52866053581238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:21:33.051285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a9b50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.6085548400879 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:23:52.467346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7558aa50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.42561674118042 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:26:33.086493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7557ab10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.65172386169434 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:28:52.628976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7554eaf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.3493504524231 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:31:32.498555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b6bb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.19977474212646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:33:53.180993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75559b30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.8775191307068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:36:32.879919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7557ba90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.8984179496765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:38:52.275078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7554bbb0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.73758792877197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:41:32.971962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755429f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.88109874725342 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:43:52.311434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b3a30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.78678846359253 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:46:32.989095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d8a30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.82921147346497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:48:52.463304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b7a90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.58972668647766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:51:32.218034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75591990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.68158626556396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:53:52.757331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75497a10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.38096809387207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 01:56:32.634932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 01:59:03.058231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c57f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.39994263648987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:01:32.947001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75517b10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.9912257194519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:03:52.463151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75549b90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.70950889587402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:06:33.088107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7558fad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.92458152770996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:08:52.559821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7555c9b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.6984715461731 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:11:32.335435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755369b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.64039039611816 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:13:52.723650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f2a70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.48939514160156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:16:32.524604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549f9d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.53361797332764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:18:52.967042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b3ab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.33120203018188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:21:32.698997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75500970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.31930994987488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:23:52.174648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a4a10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.2038333415985 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:26:32.830446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ddbd0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.2679831981659 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:28:52.146976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7557aab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.18768000602722 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:31:32.830861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7554c9d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.34218907356262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:33:52.373685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bd9f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.04476618766785 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:36:33.165720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7554b530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.97305917739868 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:38:52.616104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75567a70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.7569704055786 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:41:32.343000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f1b70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.8756000995636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:43:52.874053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75555a70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.58434176445007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:46:32.476543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75563990>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.70177221298218 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:48:52.846490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7553d9f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.6920690536499 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:51:32.588173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ca9f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.6701455116272 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:53:53.116958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b4970>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.38146924972534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 02:56:32.906419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 02:59:03.536947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d1770>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.28202319145203 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:01:33.991080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b8b30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.30722761154175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:03:52.891875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bdb70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.6411623954773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:06:32.704304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b3ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.67475032806396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:08:52.325126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7554f9d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.28757882118225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:11:33.176943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c9a50>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.16133737564087 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:13:52.566390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e2a30>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.13186883926392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:16:32.192854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x761ac730>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.2238450050354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:18:52.578150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549d9d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.08047127723694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:21:32.271463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550eb10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.1070055961609 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:23:52.736071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755909f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.00251865386963 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:26:32.338362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b3b70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.12007808685303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:28:52.905698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75591ad0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.78714108467102 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:31:32.800769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7556aaf0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.73235058784485 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:33:53.132214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7557c9d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.64449000358582 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:36:32.903631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7554bb90>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.59465885162354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:38:52.423345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754be9f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 136.43511247634888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:41:33.082548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755799b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.49439311027527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:43:52.648831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755939d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.16945028305054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:46:32.374990
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b3b10>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 132.1617739200592 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:48:52.786255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75523ab0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 135.11233830451965 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:51:32.571597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7557cb70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 134.0454866886139 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:53:52.999811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75503a70>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 131.85282611846924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 03:56:32.698039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250205 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250206 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 03:59:03.383489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250216 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250218 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19022025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250219 ORDER BY id_local ASC LIMIT 6;
  port_id : 20660698
  datou_current_id : 2598273
in upload_from_sqlite, uploading in 20660698
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg', '/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2598273&datou=0
/home/pi/Desktop/images/19022025/16/56/image_19022025_16_56_56_9477.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_17_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_27_9414.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_37_10333.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_47_10364.jpg
/home/pi/Desktop/images/19022025/16/57/image_19022025_16_57_57_9383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
ERROR IN API l 184 HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551b710>: Failed to establish a new connection: [Errno 110] Connection timed out'))
cannot unpack non-iterable int object
time to upload: 133.79545259475708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:01:32.892902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754da570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754da570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754da570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:03:52.302125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543a2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:06:33.155773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7542b5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7542b5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7542b5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:08:52.553321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754572d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754572d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754572d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:11:32.189300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543a270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543a270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543a270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:13:52.639308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b31f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b31f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b31f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:16:32.347966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b0570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b0570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:18:52.663759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754302b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754302b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754302b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:21:32.309860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e2250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e2250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e2250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:23:52.749749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75433590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75433590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75433590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:26:32.439427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546f190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546f190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546f190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:28:52.772530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754d64f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d64f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d64f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:31:32.553632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75489210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75489210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75489210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:33:53.137109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546b290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546b290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546b290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:36:32.847494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e6250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e6250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e6250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:38:52.306786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7545c5d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545c5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545c5d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:41:32.911572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e5550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e5550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e5550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:43:52.408734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7549e190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549e190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549e190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:46:32.249494
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75478530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75478530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75478530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:48:52.725671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b3530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b3530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b3530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:51:32.409743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75505570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75505570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75505570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:53:52.871672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754365f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754365f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754365f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 04:59:03.284675
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75493550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75493550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75493550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:01:32.852792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755152f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755152f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755152f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:03:52.362276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755274d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755274d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755274d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:06:32.995851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546e2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:08:52.542347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a35b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a35b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a35b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:11:32.181994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548f570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:13:52.769476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75497570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75497570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75497570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:16:32.484308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75444570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75444570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75444570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:18:52.944578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7552a230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552a230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552a230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:21:32.579622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75459210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75459210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75459210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:23:53.019745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754aa270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754aa270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754aa270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:26:32.930805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7544a510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7544a510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7544a510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:28:52.438176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f1610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f1610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f1610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:31:33.219799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754651b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754651b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754651b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:33:52.543835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ea290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ea290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ea290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:36:32.261651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754981b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754981b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754981b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:38:52.623571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ec4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ec4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ec4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:41:32.371621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75486290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75486290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75486290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:43:53.119020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754bd210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bd210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754bd210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:46:32.698239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e65d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e65d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e65d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:48:52.470741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ba550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ba550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ba550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:51:33.141871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c9590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c9590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c9590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:53:52.610301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ae5f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ae5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ae5f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 05:59:03.768153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7545b570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545b570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545b570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:01:32.855098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a45d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a45d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a45d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:03:52.315291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ec1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ec1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ec1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:06:32.921045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ac550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ac550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ac550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:08:52.562660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7552a190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552a190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7552a190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:11:32.371036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754da2d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754da2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754da2d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:13:52.692020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f75d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f75d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f75d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:16:32.509926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7542d510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7542d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7542d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:18:52.998740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f51b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f51b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f51b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:21:32.688787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75508590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75508590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75508590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:23:52.227741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75500570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75500570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75500570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:26:32.905825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75527230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75527230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75527230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:28:53.812506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754df4d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754df4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754df4d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:31:32.522703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ca610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ca610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ca610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:33:52.928636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754376b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754376b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754376b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:36:32.717143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fa5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fa5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fa5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:38:52.222973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b5230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b5230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b5230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:41:32.825236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c05d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c05d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c05d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:43:52.503543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755231f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755231f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755231f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:46:33.227161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548f570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:48:52.552855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75511250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75511250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75511250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:51:32.281398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75515270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75515270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75515270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:53:53.257232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543f5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543f5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543f5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 06:59:04.440531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547b590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547b590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547b590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:01:32.578235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543b1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:03:53.131617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75516210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75516210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75516210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:06:32.882920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754be570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754be570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754be570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:08:52.280714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547a570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547a570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547a570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:11:33.076110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75477290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75477290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75477290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:13:52.501276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754465b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754465b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754465b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:16:33.163180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547a5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547a5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547a5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:18:52.621704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754dc570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754dc570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754dc570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:21:32.338165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75513530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75513530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75513530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:23:52.751536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754cc5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754cc5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754cc5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:26:32.624527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fc5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fc5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fc5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:28:53.062962
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7544e590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7544e590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7544e590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:31:32.748894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754775d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754775d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754775d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:33:52.215876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b9570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b9570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b9570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:36:32.934943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c1270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c1270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c1270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:38:52.733977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b9530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b9530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b9530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:41:32.367959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7551a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:43:52.808040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ba590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ba590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ba590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:46:32.450735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ac570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ac570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ac570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:48:52.906629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75457590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75457590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75457590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:51:32.506016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754eb230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754eb230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754eb230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:53:53.071860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75430550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75430550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75430550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 07:59:04.051644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754794b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754794b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754794b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:01:32.297346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7550f250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550f250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550f250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:03:52.734715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ab2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ab2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ab2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:06:32.394722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75434210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75434210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75434210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:08:52.885294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754df4b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754df4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754df4b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:11:32.775129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548a290>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548a290>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548a290>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:13:52.228874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75437570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75437570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75437570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:16:32.200904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754631d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754631d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754631d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:18:52.797263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75514530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75514530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75514530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:21:32.605543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e8250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e8250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e8250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:23:53.076390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ce530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ce530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ce530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:26:32.833269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754da5b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754da5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754da5b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:28:52.226971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755261f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755261f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755261f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:31:32.998900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f9570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f9570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f9570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:33:52.482051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754635b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754635b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754635b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:36:32.311805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7549a550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549a550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549a550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:38:52.672275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75490230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75490230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75490230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:41:32.370655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548f2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:43:52.726981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c2250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c2250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c2250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 08:46:32.459837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 08:46:42.418460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 279, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/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 : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:46:52.772700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f11f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f11f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f11f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:49:32.217448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a55f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a55f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a55f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:51:52.689079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75477510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75477510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75477510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:54:32.231009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755095f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755095f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755095f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 08:59:03.754571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fb210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fb210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fb210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:01:32.930008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75452590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75452590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75452590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:03:52.281771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754ab590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ab590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754ab590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:06:32.887824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755131b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755131b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755131b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:08:52.339304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7544f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7544f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7544f4f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:11:32.903720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75480550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75480550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75480550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:13:52.365444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755285d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755285d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755285d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:16:33.111901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7545f170>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545f170>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7545f170>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:18:52.440597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c4550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c4550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c4550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:21:33.087114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7550d230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550d230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550d230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:23:52.362369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75515230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75515230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75515230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:26:32.905424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75452530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75452530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75452530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:28:52.335272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75526230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75526230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75526230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:31:32.745809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754a7550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a7550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754a7550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:33:53.045087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546d530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546d530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546d530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:36:32.284612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755191f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755191f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755191f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:38:52.836366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75517270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75517270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75517270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:41:32.330603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546f1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546f1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546f1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:43:52.704918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7542c510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7542c510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7542c510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:46:32.196605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75525570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75525570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75525570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:48:52.495182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75499250>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75499250>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75499250>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:51:33.009495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755291f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755291f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755291f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:53:52.354108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546c2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 09:59:03.967325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754d31f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d31f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754d31f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:01:32.939275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c34f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c34f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c34f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:03:52.429548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x755195b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755195b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x755195b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:06:33.020272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75501210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75501210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75501210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:08:52.371586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754441d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754441d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754441d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:11:32.870770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754302f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754302f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754302f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:13:52.305978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b5270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b5270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b5270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:16:33.150117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75470210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75470210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75470210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:18:52.445140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75488570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75488570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75488570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:21:33.001676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754cf570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754cf570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754cf570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:23:52.569316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fc1d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fc1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fc1d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:26:32.186405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b9610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b9610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b9610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:28:52.500765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75502590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75502590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75502590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:31:33.263746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75469190>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75469190>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75469190>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:33:52.518546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543b1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543b1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543b1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:36:33.125785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7549a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549a2b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:38:52.385712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7551e510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551e510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7551e510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:41:33.035430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543d510>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543d510>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:43:52.338545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7546f570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7546f570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:46:33.643222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75483530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75483530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75483530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:48:52.386396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754de1b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754de1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754de1b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:51:33.143467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f0590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f0590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f0590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:53:52.258390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7549a1f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549a1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7549a1f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 10:59:03.128754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7548c570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548c570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7548c570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:01:33.972636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754c01b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c01b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754c01b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:03:52.505377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754b4270>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b4270>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754b4270>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:06:33.090756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f55b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f55b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f55b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:08:52.445759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754fd570>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fd570>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754fd570>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:11:32.894272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754311d0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754311d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754311d0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:13:52.427448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75432210>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75432210>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75432210>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:16:32.199005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547f530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547f530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547f530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:18:52.638323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7543c530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543c530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7543c530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:21:33.156238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75443230>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75443230>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75443230>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:23:52.577870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75466530>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75466530>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75466530>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:26:33.015868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7550f590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550f590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7550f590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:28:52.311256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754734f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754734f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754734f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:31:32.804504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7547c550>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547c550>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7547c550>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:33:53.182176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754f85b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f85b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754f85b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:36:32.788025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x75514590>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75514590>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x75514590>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:38:53.202065
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754445b0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754445b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754445b0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:41:32.856661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754e2610>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e2610>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754e2610>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
2025-02-20 11:43:52.344424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

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

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 159, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 966, in send
    self.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 168, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x754721f0>: Failed to establish a new connection: [Errno 110] Connection timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 398, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754721f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 628, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 84, in create_portfolio
    r = requests.post(url, data=data_to_send)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 116, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in send
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 668, in <listcomp>
    history = [resp for resp in gen] if allow_redirects else []
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 247, in resolve_redirects
    **adapter_kwargs
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='assistance.fotonower.com', port=80): Max retries exceeded with url: /?url=marlene (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x754721f0>: Failed to establish a new connection: [Errno 110] Connection timed out'))
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:46:32.818031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : dechet_valcor_0623_20022025
 fc.token : 814cca0266bcde387dcca7c32045d470
True
{'portfolio_id': 20675559, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1740048453000}
4310
2599572
4310
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/01/image_20022025_00_01_19_13536.jpg', '/home/pi/Desktop/images/20022025/00/01/image_20022025_00_01_25_6464.jpg', '/home/pi/Desktop/images/20022025/00/01/image_20022025_00_01_46_10569.jpg', '/home/pi/Desktop/images/20022025/00/01/image_20022025_00_01_56_9302.jpg', '/home/pi/Desktop/images/20022025/00/01/image_20022025_00_02_06_10353.jpg', '/home/pi/Desktop/images/20022025/00/02/image_20022025_00_02_16_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/01/image_20022025_00_01_19_13536.jpg
/home/pi/Desktop/images/20022025/00/01/image_20022025_00_01_25_6464.jpg
/home/pi/Desktop/images/20022025/00/01/image_20022025_00_01_46_10569.jpg
/home/pi/Desktop/images/20022025/00/01/image_20022025_00_01_56_9302.jpg
/home/pi/Desktop/images/20022025/00/01/image_20022025_00_02_06_10353.jpg
/home/pi/Desktop/images/20022025/00/02/image_20022025_00_02_16_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578231","1338578239","1338578248","1338578235","1338578228","1338578243"],"photo_ids_order":["1338578228","1338578231","1338578235","1338578239","1338578243","1338578248"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6c56fe9a40ab392316ed689c2a68faa.jpg","text":"TemporaryFile(/tmp/multipartBody6546297652190962081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048454989,"filename":"image_20022025_00_01_25_6464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1c42d3bd1d872b02df56af2d58c07a00.jpg","text":"TemporaryFile(/tmp/multipartBody4112570384048730554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048454989,"filename":"image_20022025_00_01_56_9302.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2cc0e8e0f16e6375cc56ae6fbc7f9da.jpg","text":"TemporaryFile(/tmp/multipartBody3083353001033675957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048454989,"filename":"image_20022025_00_02_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3fda0b1fe1c69d6c1ce15e6c6de0c2d0.jpg","text":"TemporaryFile(/tmp/multipartBody497822337094442197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048454989,"filename":"image_20022025_00_01_46_10569.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/35d4ad38574b72b2b271c15bdf2302dc.jpg","text":"TemporaryFile(/tmp/multipartBody4058504479354289815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048454989,"filename":"image_20022025_00_01_19_13536.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12b1f7952dc8fb6818e36a2880150076.jpg","text":"TemporaryFile(/tmp/multipartBody3454700725439036406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048454989,"filename":"image_20022025_00_02_06_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578235","file1":"1338578231","file0":"1338578228","file4":"1338578243","file5":"1338578248","file3":"1338578239"},"map_files_photo_id_array":[{"photo_id":"1338578248","filename":"file5"},{"photo_id":"1338578235","filename":"file2"},{"photo_id":"1338578243","filename":"file4"},{"photo_id":"1338578231","filename":"file1"},{"photo_id":"1338578228","filename":"file0"},{"photo_id":"1338578239","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578231":["hashtag1","hashtag2"]},{"1338578239":["hashtag1","hashtag2"]},{"1338578248":["hashtag1","hashtag2"]},{"1338578235":["hashtag1","hashtag2"]},{"1338578228":["hashtag1","hashtag2"]},{"1338578243":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578231, 1338578239, 1338578248, 1338578235, 1338578228, 1338578243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09623575210571 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:47:32.932143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/02/image_20022025_00_02_26_9432.jpg', '/home/pi/Desktop/images/20022025/00/02/image_20022025_00_02_56_10329.jpg', '/home/pi/Desktop/images/20022025/00/02/image_20022025_00_03_06_10344.jpg', '/home/pi/Desktop/images/20022025/00/03/image_20022025_00_03_26_10370.jpg', '/home/pi/Desktop/images/20022025/00/03/image_20022025_00_03_36_10445.jpg', '/home/pi/Desktop/images/20022025/00/03/image_20022025_00_03_46_9362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/02/image_20022025_00_02_26_9432.jpg
/home/pi/Desktop/images/20022025/00/02/image_20022025_00_02_56_10329.jpg
/home/pi/Desktop/images/20022025/00/02/image_20022025_00_03_06_10344.jpg
/home/pi/Desktop/images/20022025/00/03/image_20022025_00_03_26_10370.jpg
/home/pi/Desktop/images/20022025/00/03/image_20022025_00_03_36_10445.jpg
/home/pi/Desktop/images/20022025/00/03/image_20022025_00_03_46_9362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578293","1338578286","1338578283","1338578291","1338578279","1338578276"],"photo_ids_order":["1338578276","1338578279","1338578283","1338578286","1338578291","1338578293"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82edbbc71209c83a97f89710c9d9d57c.jpg","text":"TemporaryFile(/tmp/multipartBody6350455211288724417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048513478,"filename":"image_20022025_00_03_46_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/becc63335cf1f14bb50007f59ec258df.jpg","text":"TemporaryFile(/tmp/multipartBody8981351193098226306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048513478,"filename":"image_20022025_00_03_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/abc5470a356300fa211d9620f1bd50da.jpg","text":"TemporaryFile(/tmp/multipartBody6650059616801079126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048513478,"filename":"image_20022025_00_03_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1cdc0f3d00142d80deb13f4bbcb77d47.jpg","text":"TemporaryFile(/tmp/multipartBody8074556920780195431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048513478,"filename":"image_20022025_00_03_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bce403a7feb6d52c92a7934063af5934.jpg","text":"TemporaryFile(/tmp/multipartBody137215997132404204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048513478,"filename":"image_20022025_00_02_56_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d95f86ff9ba3d0cfa7bbfb0388b739a6.jpg","text":"TemporaryFile(/tmp/multipartBody1702789690922772361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048513478,"filename":"image_20022025_00_02_26_9432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578283","file1":"1338578279","file0":"1338578276","file4":"1338578291","file5":"1338578293","file3":"1338578286"},"map_files_photo_id_array":[{"photo_id":"1338578293","filename":"file5"},{"photo_id":"1338578283","filename":"file2"},{"photo_id":"1338578291","filename":"file4"},{"photo_id":"1338578279","filename":"file1"},{"photo_id":"1338578276","filename":"file0"},{"photo_id":"1338578286","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578293":["hashtag1","hashtag2"]},{"1338578286":["hashtag1","hashtag2"]},{"1338578283":["hashtag1","hashtag2"]},{"1338578291":["hashtag1","hashtag2"]},{"1338578279":["hashtag1","hashtag2"]},{"1338578276":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578293, 1338578286, 1338578283, 1338578291, 1338578279, 1338578276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.58076071739197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:48:32.139825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/03/image_20022025_00_04_06_9455.jpg', '/home/pi/Desktop/images/20022025/00/04/image_20022025_00_04_16_10355.jpg', '/home/pi/Desktop/images/20022025/00/04/image_20022025_00_04_36_9426.jpg', '/home/pi/Desktop/images/20022025/00/04/image_20022025_00_04_46_10382.jpg', '/home/pi/Desktop/images/20022025/00/04/image_20022025_00_04_56_9380.jpg', '/home/pi/Desktop/images/20022025/00/05/image_20022025_00_05_16_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/03/image_20022025_00_04_06_9455.jpg
/home/pi/Desktop/images/20022025/00/04/image_20022025_00_04_16_10355.jpg
/home/pi/Desktop/images/20022025/00/04/image_20022025_00_04_36_9426.jpg
/home/pi/Desktop/images/20022025/00/04/image_20022025_00_04_46_10382.jpg
/home/pi/Desktop/images/20022025/00/04/image_20022025_00_04_56_9380.jpg
/home/pi/Desktop/images/20022025/00/05/image_20022025_00_05_16_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578339","1338578334","1338578337","1338578345","1338578348","1338578342"],"photo_ids_order":["1338578334","1338578337","1338578339","1338578342","1338578345","1338578348"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/38eb9f7bf28ea686644c1d4a620f97fd.jpg","text":"TemporaryFile(/tmp/multipartBody63483652996588051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048572683,"filename":"image_20022025_00_04_36_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/43df6872a0f4a463938e59b708120166.jpg","text":"TemporaryFile(/tmp/multipartBody7054856230169050599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048572683,"filename":"image_20022025_00_04_06_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de790185b207226ad74e90bc2f5d27be.jpg","text":"TemporaryFile(/tmp/multipartBody7422510960874655414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048572683,"filename":"image_20022025_00_04_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc93a465dbf42028c9d1ab20e3c728db.jpg","text":"TemporaryFile(/tmp/multipartBody7336965634185076828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048572683,"filename":"image_20022025_00_04_56_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65633afa8564d84feb28144366b91933.jpg","text":"TemporaryFile(/tmp/multipartBody4682253980950053429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048572683,"filename":"image_20022025_00_05_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c3862a3fea9e661d65ebe98bcd25eb95.jpg","text":"TemporaryFile(/tmp/multipartBody1732963972835949797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048572683,"filename":"image_20022025_00_04_46_10382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578339","file1":"1338578337","file0":"1338578334","file4":"1338578345","file5":"1338578348","file3":"1338578342"},"map_files_photo_id_array":[{"photo_id":"1338578348","filename":"file5"},{"photo_id":"1338578339","filename":"file2"},{"photo_id":"1338578345","filename":"file4"},{"photo_id":"1338578337","filename":"file1"},{"photo_id":"1338578334","filename":"file0"},{"photo_id":"1338578342","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578339":["hashtag1","hashtag2"]},{"1338578334":["hashtag1","hashtag2"]},{"1338578337":["hashtag1","hashtag2"]},{"1338578345":["hashtag1","hashtag2"]},{"1338578348":["hashtag1","hashtag2"]},{"1338578342":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578339, 1338578334, 1338578337, 1338578345, 1338578348, 1338578342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.53347110748291 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:49:33.988475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/05/image_20022025_00_05_26_9403.jpg', '/home/pi/Desktop/images/20022025/00/05/image_20022025_00_05_36_10367.jpg', '/home/pi/Desktop/images/20022025/00/05/image_20022025_00_05_46_10450.jpg', '/home/pi/Desktop/images/20022025/00/06/image_20022025_00_06_16_9359.jpg', '/home/pi/Desktop/images/20022025/00/06/image_20022025_00_06_36_10400.jpg', '/home/pi/Desktop/images/20022025/00/06/image_20022025_00_06_46_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/05/image_20022025_00_05_26_9403.jpg
/home/pi/Desktop/images/20022025/00/05/image_20022025_00_05_36_10367.jpg
/home/pi/Desktop/images/20022025/00/05/image_20022025_00_05_46_10450.jpg
/home/pi/Desktop/images/20022025/00/06/image_20022025_00_06_16_9359.jpg
/home/pi/Desktop/images/20022025/00/06/image_20022025_00_06_36_10400.jpg
/home/pi/Desktop/images/20022025/00/06/image_20022025_00_06_46_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578392","1338578395","1338578398","1338578385","1338578388","1338578382"],"photo_ids_order":["1338578382","1338578385","1338578388","1338578392","1338578395","1338578398"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d7ee10860bf70da052bc61e8c5a2771e.jpg","text":"TemporaryFile(/tmp/multipartBody8380701185482153383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048635250,"filename":"image_20022025_00_06_16_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2c1ec8a6e4b04a192a5afedb83fc011.jpg","text":"TemporaryFile(/tmp/multipartBody1290155912323179825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048635250,"filename":"image_20022025_00_06_36_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee850c86d4523484fc6dae387562a66b.jpg","text":"TemporaryFile(/tmp/multipartBody7584566670802005770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048635250,"filename":"image_20022025_00_06_46_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/274c9302ac3d15f4a15abfc28b74ac04.jpg","text":"TemporaryFile(/tmp/multipartBody9122622918691379446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048635250,"filename":"image_20022025_00_05_36_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2171b09eaf80be1a5850b6242b081d31.jpg","text":"TemporaryFile(/tmp/multipartBody5421697477379068490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048635250,"filename":"image_20022025_00_05_46_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd110255ec18601deab2c903b4808416.jpg","text":"TemporaryFile(/tmp/multipartBody1744273824251071627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048635250,"filename":"image_20022025_00_05_26_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578388","file1":"1338578385","file0":"1338578382","file4":"1338578395","file5":"1338578398","file3":"1338578392"},"map_files_photo_id_array":[{"photo_id":"1338578398","filename":"file5"},{"photo_id":"1338578388","filename":"file2"},{"photo_id":"1338578395","filename":"file4"},{"photo_id":"1338578385","filename":"file1"},{"photo_id":"1338578382","filename":"file0"},{"photo_id":"1338578392","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578392":["hashtag1","hashtag2"]},{"1338578395":["hashtag1","hashtag2"]},{"1338578398":["hashtag1","hashtag2"]},{"1338578385":["hashtag1","hashtag2"]},{"1338578388":["hashtag1","hashtag2"]},{"1338578382":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578392, 1338578395, 1338578398, 1338578385, 1338578388, 1338578382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.513439416885376 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:50:32.492966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/06/image_20022025_00_07_06_10386.jpg', '/home/pi/Desktop/images/20022025/00/07/image_20022025_00_07_16_9337.jpg', '/home/pi/Desktop/images/20022025/00/07/image_20022025_00_07_26_10359.jpg', '/home/pi/Desktop/images/20022025/00/07/image_20022025_00_07_46_9339.jpg', '/home/pi/Desktop/images/20022025/00/07/image_20022025_00_07_56_10343.jpg', '/home/pi/Desktop/images/20022025/00/07/image_20022025_00_08_05_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/06/image_20022025_00_07_06_10386.jpg
/home/pi/Desktop/images/20022025/00/07/image_20022025_00_07_16_9337.jpg
/home/pi/Desktop/images/20022025/00/07/image_20022025_00_07_26_10359.jpg
/home/pi/Desktop/images/20022025/00/07/image_20022025_00_07_46_9339.jpg
/home/pi/Desktop/images/20022025/00/07/image_20022025_00_07_56_10343.jpg
/home/pi/Desktop/images/20022025/00/07/image_20022025_00_08_05_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578438","1338578443","1338578440","1338578433","1338578436","1338578445"],"photo_ids_order":["1338578433","1338578436","1338578438","1338578440","1338578443","1338578445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b0c389effee374a4f0ff5546b794b7a.jpg","text":"TemporaryFile(/tmp/multipartBody3982916583677313170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048693031,"filename":"image_20022025_00_07_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3cf0721f78f885b5d6a58365b987598f.jpg","text":"TemporaryFile(/tmp/multipartBody446729708121186611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048693031,"filename":"image_20022025_00_07_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a8f7edbe0a30b8fc1595185b53035cf.jpg","text":"TemporaryFile(/tmp/multipartBody4324763861902128000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048693031,"filename":"image_20022025_00_07_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e43e1dcc0848c8a92c0d84b6b25414c.jpg","text":"TemporaryFile(/tmp/multipartBody5464710859935395750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048693031,"filename":"image_20022025_00_07_06_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ae0b3b6d6b326d05547f68599642144.jpg","text":"TemporaryFile(/tmp/multipartBody398317906728659998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048693031,"filename":"image_20022025_00_07_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cea9124ec02af1ce21804fac38b6df2.jpg","text":"TemporaryFile(/tmp/multipartBody621724134277795936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048693031,"filename":"image_20022025_00_08_05_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578438","file1":"1338578436","file0":"1338578433","file4":"1338578443","file5":"1338578445","file3":"1338578440"},"map_files_photo_id_array":[{"photo_id":"1338578445","filename":"file5"},{"photo_id":"1338578438","filename":"file2"},{"photo_id":"1338578443","filename":"file4"},{"photo_id":"1338578436","filename":"file1"},{"photo_id":"1338578433","filename":"file0"},{"photo_id":"1338578440","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578438":["hashtag1","hashtag2"]},{"1338578443":["hashtag1","hashtag2"]},{"1338578440":["hashtag1","hashtag2"]},{"1338578433":["hashtag1","hashtag2"]},{"1338578436":["hashtag1","hashtag2"]},{"1338578445":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578438, 1338578443, 1338578440, 1338578433, 1338578436, 1338578445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.882269144058228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:51:32.659874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/08/image_20022025_00_08_16_10348.jpg', '/home/pi/Desktop/images/20022025/00/08/image_20022025_00_08_26_10357.jpg', '/home/pi/Desktop/images/20022025/00/08/image_20022025_00_08_36_9317.jpg', '/home/pi/Desktop/images/20022025/00/08/image_20022025_00_08_56_10351.jpg', '/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_16_10336.jpg', '/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_26_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/08/image_20022025_00_08_16_10348.jpg
/home/pi/Desktop/images/20022025/00/08/image_20022025_00_08_26_10357.jpg
/home/pi/Desktop/images/20022025/00/08/image_20022025_00_08_36_9317.jpg
/home/pi/Desktop/images/20022025/00/08/image_20022025_00_08_56_10351.jpg
/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_16_10336.jpg
/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_26_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578485","1338578476","1338578478","1338578481","1338578489","1338578492"],"photo_ids_order":["1338578476","1338578478","1338578481","1338578485","1338578489","1338578492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/87c9c3fe693c806c3e22e49c2c37c78a.jpg","text":"TemporaryFile(/tmp/multipartBody5728834423044111482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048753197,"filename":"image_20022025_00_08_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b8d7794d1ab1404f3a249cfd1ef58db.jpg","text":"TemporaryFile(/tmp/multipartBody6461212989148414657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048753197,"filename":"image_20022025_00_08_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca17cc4ab74ce838acf8fef7934c15ab.jpg","text":"TemporaryFile(/tmp/multipartBody5722014066401442013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048753197,"filename":"image_20022025_00_08_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ecf5fc072d494bf96eb41a2f59115123.jpg","text":"TemporaryFile(/tmp/multipartBody5556903326025608373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048753197,"filename":"image_20022025_00_08_36_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9690aca53cb8c8702d2bde295175632b.jpg","text":"TemporaryFile(/tmp/multipartBody9056148915843643112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048753197,"filename":"image_20022025_00_09_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da024156c7e67ba4fc460013058ee77f.jpg","text":"TemporaryFile(/tmp/multipartBody6105966406144609772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048753197,"filename":"image_20022025_00_09_26_10447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578481","file1":"1338578478","file0":"1338578476","file4":"1338578489","file5":"1338578492","file3":"1338578485"},"map_files_photo_id_array":[{"photo_id":"1338578492","filename":"file5"},{"photo_id":"1338578481","filename":"file2"},{"photo_id":"1338578489","filename":"file4"},{"photo_id":"1338578478","filename":"file1"},{"photo_id":"1338578476","filename":"file0"},{"photo_id":"1338578485","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578485":["hashtag1","hashtag2"]},{"1338578476":["hashtag1","hashtag2"]},{"1338578478":["hashtag1","hashtag2"]},{"1338578481":["hashtag1","hashtag2"]},{"1338578489":["hashtag1","hashtag2"]},{"1338578492":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578485, 1338578476, 1338578478, 1338578481, 1338578489, 1338578492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.265506982803345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:52:32.879688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_36_9453.jpg', '/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_46_10351.jpg', '/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_56_9449.jpg', '/home/pi/Desktop/images/20022025/00/09/image_20022025_00_10_06_10322.jpg', '/home/pi/Desktop/images/20022025/00/10/image_20022025_00_10_16_10336.jpg', '/home/pi/Desktop/images/20022025/00/10/image_20022025_00_10_26_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_36_9453.jpg
/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_46_10351.jpg
/home/pi/Desktop/images/20022025/00/09/image_20022025_00_09_56_9449.jpg
/home/pi/Desktop/images/20022025/00/09/image_20022025_00_10_06_10322.jpg
/home/pi/Desktop/images/20022025/00/10/image_20022025_00_10_16_10336.jpg
/home/pi/Desktop/images/20022025/00/10/image_20022025_00_10_26_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578537","1338578522","1338578531","1338578525","1338578534","1338578528"],"photo_ids_order":["1338578522","1338578525","1338578528","1338578531","1338578534","1338578537"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a23da8a90697212e2dbcafe25f750531.jpg","text":"TemporaryFile(/tmp/multipartBody4417165442440954978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048813442,"filename":"image_20022025_00_10_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/329c91ff8f2878f9a25e5d0dec2c1ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2114346193312210483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048813442,"filename":"image_20022025_00_09_36_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eae3e877be105eb770c32aa619b6a35c.jpg","text":"TemporaryFile(/tmp/multipartBody2692547168506374672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048813442,"filename":"image_20022025_00_10_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9ceda2266a1964b23b3b6a1a9e3c96a1.jpg","text":"TemporaryFile(/tmp/multipartBody1745711461096060459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048813442,"filename":"image_20022025_00_09_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a55e845922c3eb8d51e4e2c16e437856.jpg","text":"TemporaryFile(/tmp/multipartBody9148689071688947724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048813442,"filename":"image_20022025_00_10_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e3e6a65cfc97c2fa26f1840eca668762.jpg","text":"TemporaryFile(/tmp/multipartBody4920685415205876940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048813442,"filename":"image_20022025_00_09_56_9449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578528","file1":"1338578525","file0":"1338578522","file4":"1338578534","file5":"1338578537","file3":"1338578531"},"map_files_photo_id_array":[{"photo_id":"1338578537","filename":"file5"},{"photo_id":"1338578528","filename":"file2"},{"photo_id":"1338578534","filename":"file4"},{"photo_id":"1338578525","filename":"file1"},{"photo_id":"1338578522","filename":"file0"},{"photo_id":"1338578531","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578537":["hashtag1","hashtag2"]},{"1338578522":["hashtag1","hashtag2"]},{"1338578531":["hashtag1","hashtag2"]},{"1338578525":["hashtag1","hashtag2"]},{"1338578534":["hashtag1","hashtag2"]},{"1338578528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578537, 1338578522, 1338578531, 1338578525, 1338578534, 1338578528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.542995929718018 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:53:33.051013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/10/image_20022025_00_10_56_9352.jpg', '/home/pi/Desktop/images/20022025/00/10/image_20022025_00_11_06_10331.jpg', '/home/pi/Desktop/images/20022025/00/11/image_20022025_00_11_16_9518.jpg', '/home/pi/Desktop/images/20022025/00/11/image_20022025_00_11_46_9369.jpg', '/home/pi/Desktop/images/20022025/00/11/image_20022025_00_12_06_10331.jpg', '/home/pi/Desktop/images/20022025/00/12/image_20022025_00_12_16_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/10/image_20022025_00_10_56_9352.jpg
/home/pi/Desktop/images/20022025/00/10/image_20022025_00_11_06_10331.jpg
/home/pi/Desktop/images/20022025/00/11/image_20022025_00_11_16_9518.jpg
/home/pi/Desktop/images/20022025/00/11/image_20022025_00_11_46_9369.jpg
/home/pi/Desktop/images/20022025/00/11/image_20022025_00_12_06_10331.jpg
/home/pi/Desktop/images/20022025/00/12/image_20022025_00_12_16_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578584","1338578566","1338578580","1338578568","1338578576","1338578573"],"photo_ids_order":["1338578566","1338578568","1338578573","1338578576","1338578580","1338578584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c3c3439da1632a4c77508694194090ef.jpg","text":"TemporaryFile(/tmp/multipartBody7093975002135601752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048873617,"filename":"image_20022025_00_12_16_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/07de2e850402f94906d6619c144a073c.jpg","text":"TemporaryFile(/tmp/multipartBody863498212274208960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048873617,"filename":"image_20022025_00_10_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/27eeb10bc3275348cce2a1b5bebd5b08.jpg","text":"TemporaryFile(/tmp/multipartBody5405836397886686312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048873617,"filename":"image_20022025_00_12_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ffa5fefa796f69249e590a5b226b9480.jpg","text":"TemporaryFile(/tmp/multipartBody2873777584873677480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048873617,"filename":"image_20022025_00_11_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ffced1cc65ca8df4abe9af22b765aa34.jpg","text":"TemporaryFile(/tmp/multipartBody4853760329559606837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048873617,"filename":"image_20022025_00_11_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b5e17de7cee8f1383af0aae807ef537.jpg","text":"TemporaryFile(/tmp/multipartBody1980047434811457504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048873617,"filename":"image_20022025_00_11_16_9518.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578573","file1":"1338578568","file0":"1338578566","file4":"1338578580","file5":"1338578584","file3":"1338578576"},"map_files_photo_id_array":[{"photo_id":"1338578584","filename":"file5"},{"photo_id":"1338578573","filename":"file2"},{"photo_id":"1338578580","filename":"file4"},{"photo_id":"1338578568","filename":"file1"},{"photo_id":"1338578566","filename":"file0"},{"photo_id":"1338578576","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578584":["hashtag1","hashtag2"]},{"1338578566":["hashtag1","hashtag2"]},{"1338578580":["hashtag1","hashtag2"]},{"1338578568":["hashtag1","hashtag2"]},{"1338578576":["hashtag1","hashtag2"]},{"1338578573":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578584, 1338578566, 1338578580, 1338578568, 1338578576, 1338578573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0782196521759 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:54:32.156571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/12/image_20022025_00_12_26_10405.jpg', '/home/pi/Desktop/images/20022025/00/12/image_20022025_00_12_46_9342.jpg', '/home/pi/Desktop/images/20022025/00/12/image_20022025_00_12_56_10354.jpg', '/home/pi/Desktop/images/20022025/00/12/image_20022025_00_13_06_9410.jpg', '/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_16_10339.jpg', '/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_26_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/12/image_20022025_00_12_26_10405.jpg
/home/pi/Desktop/images/20022025/00/12/image_20022025_00_12_46_9342.jpg
/home/pi/Desktop/images/20022025/00/12/image_20022025_00_12_56_10354.jpg
/home/pi/Desktop/images/20022025/00/12/image_20022025_00_13_06_9410.jpg
/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_16_10339.jpg
/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_26_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578621","1338578615","1338578623","1338578617","1338578687","1338578612"],"photo_ids_order":["1338578612","1338578615","1338578617","1338578621","1338578623","1338578687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e90a964e6be1f0e860202e7355909db8.jpg","text":"TemporaryFile(/tmp/multipartBody2268500605283511471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048932693,"filename":"image_20022025_00_13_06_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ad2c4a48c6525816dea234f20bac7a1.jpg","text":"TemporaryFile(/tmp/multipartBody8270641307847002485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048932693,"filename":"image_20022025_00_12_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c053f6db29d05e8a4be7aba970ecb53d.jpg","text":"TemporaryFile(/tmp/multipartBody3868810438166593766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048932693,"filename":"image_20022025_00_13_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d8219452305f004947b6e51408f02e5.jpg","text":"TemporaryFile(/tmp/multipartBody6549853055935750786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048932693,"filename":"image_20022025_00_12_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13cbad238bc62fa075ff3de2a90e58af.jpg","text":"TemporaryFile(/tmp/multipartBody3837716474671504420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048932693,"filename":"image_20022025_00_13_26_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7fa269b666958da89c71c6bd4d6e0bcb.jpg","text":"TemporaryFile(/tmp/multipartBody6123840425710874165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048932693,"filename":"image_20022025_00_12_26_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578617","file1":"1338578615","file0":"1338578612","file4":"1338578623","file5":"1338578687","file3":"1338578621"},"map_files_photo_id_array":[{"photo_id":"1338578687","filename":"file5"},{"photo_id":"1338578617","filename":"file2"},{"photo_id":"1338578623","filename":"file4"},{"photo_id":"1338578615","filename":"file1"},{"photo_id":"1338578612","filename":"file0"},{"photo_id":"1338578621","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578621":["hashtag1","hashtag2"]},{"1338578615":["hashtag1","hashtag2"]},{"1338578623":["hashtag1","hashtag2"]},{"1338578617":["hashtag1","hashtag2"]},{"1338578687":["hashtag1","hashtag2"]},{"1338578612":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578621, 1338578615, 1338578623, 1338578617, 1338578687, 1338578612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83768558502197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:55:32.488090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_36_9331.jpg', '/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_46_10408.jpg', '/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_56_10456.jpg', '/home/pi/Desktop/images/20022025/00/14/image_20022025_00_14_26_9371.jpg', '/home/pi/Desktop/images/20022025/00/15/image_20022025_00_15_16_10343.jpg', '/home/pi/Desktop/images/20022025/00/15/image_20022025_00_15_26_9454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_36_9331.jpg
/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_46_10408.jpg
/home/pi/Desktop/images/20022025/00/13/image_20022025_00_13_56_10456.jpg
/home/pi/Desktop/images/20022025/00/14/image_20022025_00_14_26_9371.jpg
/home/pi/Desktop/images/20022025/00/15/image_20022025_00_15_16_10343.jpg
/home/pi/Desktop/images/20022025/00/15/image_20022025_00_15_26_9454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578720","1338578728","1338578716","1338578730","1338578724","1338578718"],"photo_ids_order":["1338578716","1338578718","1338578720","1338578724","1338578728","1338578730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41cadcb0b16a0929ae50172b9b962b27.jpg","text":"TemporaryFile(/tmp/multipartBody7413355482164449688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048993030,"filename":"image_20022025_00_13_56_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e35b50a4644f4f18a820c2cfd7344c8.jpg","text":"TemporaryFile(/tmp/multipartBody4846934913266678620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048993030,"filename":"image_20022025_00_15_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20da70419109cceceb3e00da5c1ef571.jpg","text":"TemporaryFile(/tmp/multipartBody3213346463932084262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048993030,"filename":"image_20022025_00_13_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6bfb0f7d707910f5d142dc8f1735a9c1.jpg","text":"TemporaryFile(/tmp/multipartBody92190940370955139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048993030,"filename":"image_20022025_00_15_26_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41d007bd0a4a189db56217a0419070a0.jpg","text":"TemporaryFile(/tmp/multipartBody2719505591255109286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048993030,"filename":"image_20022025_00_14_26_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81ce16ea150c288da11f8f1306a3a086.jpg","text":"TemporaryFile(/tmp/multipartBody1183087891955622169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740048993030,"filename":"image_20022025_00_13_46_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578720","file1":"1338578718","file0":"1338578716","file4":"1338578728","file5":"1338578730","file3":"1338578724"},"map_files_photo_id_array":[{"photo_id":"1338578730","filename":"file5"},{"photo_id":"1338578720","filename":"file2"},{"photo_id":"1338578728","filename":"file4"},{"photo_id":"1338578718","filename":"file1"},{"photo_id":"1338578716","filename":"file0"},{"photo_id":"1338578724","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578720":["hashtag1","hashtag2"]},{"1338578728":["hashtag1","hashtag2"]},{"1338578716":["hashtag1","hashtag2"]},{"1338578730":["hashtag1","hashtag2"]},{"1338578724":["hashtag1","hashtag2"]},{"1338578718":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578720, 1338578728, 1338578716, 1338578730, 1338578724, 1338578718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15655016899109 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:56:32.505087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/15/image_20022025_00_15_36_10354.jpg', '/home/pi/Desktop/images/20022025/00/15/image_20022025_00_15_56_10437.jpg', '/home/pi/Desktop/images/20022025/00/16/image_20022025_00_16_46_10331.jpg', '/home/pi/Desktop/images/20022025/00/16/image_20022025_00_16_56_9482.jpg', '/home/pi/Desktop/images/20022025/00/16/image_20022025_00_17_06_10388.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_16_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/15/image_20022025_00_15_36_10354.jpg
/home/pi/Desktop/images/20022025/00/15/image_20022025_00_15_56_10437.jpg
/home/pi/Desktop/images/20022025/00/16/image_20022025_00_16_46_10331.jpg
/home/pi/Desktop/images/20022025/00/16/image_20022025_00_16_56_9482.jpg
/home/pi/Desktop/images/20022025/00/16/image_20022025_00_17_06_10388.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_16_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338578767","1338578775","1338578769","1338578772","1338578762","1338578765"],"photo_ids_order":["1338578762","1338578765","1338578767","1338578769","1338578772","1338578775"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e99fd473939a48e0dcf8e9ccd75a02be.jpg","text":"TemporaryFile(/tmp/multipartBody6402022200423139621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049053141,"filename":"image_20022025_00_16_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2e4da57b8caa7278202af5857962596.jpg","text":"TemporaryFile(/tmp/multipartBody6152868173203031540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049053141,"filename":"image_20022025_00_17_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/245544991ca9ec7ef8b87769095a1d96.jpg","text":"TemporaryFile(/tmp/multipartBody7185347075771273858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049053141,"filename":"image_20022025_00_16_56_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1dbba2ee1baacdddcf61add3194c142f.jpg","text":"TemporaryFile(/tmp/multipartBody6174066732110695583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049053141,"filename":"image_20022025_00_17_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de75b13365ccb01d462435989a1fd6c8.jpg","text":"TemporaryFile(/tmp/multipartBody6311990568633443911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049053141,"filename":"image_20022025_00_15_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a02f9528d65cf3eed87f78f0febf2d24.jpg","text":"TemporaryFile(/tmp/multipartBody1543958819128152954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049053141,"filename":"image_20022025_00_15_56_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338578767","file1":"1338578765","file0":"1338578762","file4":"1338578772","file5":"1338578775","file3":"1338578769"},"map_files_photo_id_array":[{"photo_id":"1338578775","filename":"file5"},{"photo_id":"1338578767","filename":"file2"},{"photo_id":"1338578772","filename":"file4"},{"photo_id":"1338578765","filename":"file1"},{"photo_id":"1338578762","filename":"file0"},{"photo_id":"1338578769","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338578767":["hashtag1","hashtag2"]},{"1338578775":["hashtag1","hashtag2"]},{"1338578769":["hashtag1","hashtag2"]},{"1338578772":["hashtag1","hashtag2"]},{"1338578762":["hashtag1","hashtag2"]},{"1338578765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338578767, 1338578775, 1338578769, 1338578772, 1338578762, 1338578765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.767969369888306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 11:57:32.583937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_26_9433.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_36_10360.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_46_9474.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_56_10410.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_18_06_10338.jpg', '/home/pi/Desktop/images/20022025/00/18/image_20022025_00_18_16_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_26_9433.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_36_10360.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_46_9474.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_56_10410.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_18_06_10338.jpg
/home/pi/Desktop/images/20022025/00/18/image_20022025_00_18_16_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 11:59:04.519404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_26_9433.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_36_10360.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_46_9474.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_56_10410.jpg', '/home/pi/Desktop/images/20022025/00/17/image_20022025_00_18_06_10338.jpg', '/home/pi/Desktop/images/20022025/00/18/image_20022025_00_18_16_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_26_9433.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_36_10360.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_46_9474.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_17_56_10410.jpg
/home/pi/Desktop/images/20022025/00/17/image_20022025_00_18_06_10338.jpg
/home/pi/Desktop/images/20022025/00/18/image_20022025_00_18_16_9456.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579223","1338579232","1338579226","1338579243","1338579219","1338579236"],"photo_ids_order":["1338579219","1338579223","1338579226","1338579232","1338579236","1338579243"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f0565f62ecbe61718b319932e8e5ed2.jpg","text":"TemporaryFile(/tmp/multipartBody8833665256242585986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049205098,"filename":"image_20022025_00_17_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/528e9cb49e6e7b6bd5a1ed02aff2fd92.jpg","text":"TemporaryFile(/tmp/multipartBody15849009689148754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049205098,"filename":"image_20022025_00_17_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/474f152328bd793b0857b336a8899d90.jpg","text":"TemporaryFile(/tmp/multipartBody2143473144736975107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049205098,"filename":"image_20022025_00_17_46_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e212a9b79b09aec1bbe1cae0cc677249.jpg","text":"TemporaryFile(/tmp/multipartBody7487408284151051577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049205098,"filename":"image_20022025_00_18_16_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ece5c22f85078ab195123aec7bbb2008.jpg","text":"TemporaryFile(/tmp/multipartBody683215132331799317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049205098,"filename":"image_20022025_00_17_26_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7431f635e2cd8fd994123481820c08b8.jpg","text":"TemporaryFile(/tmp/multipartBody2039561082684665852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049205098,"filename":"image_20022025_00_18_06_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579226","file1":"1338579223","file0":"1338579219","file4":"1338579236","file5":"1338579243","file3":"1338579232"},"map_files_photo_id_array":[{"photo_id":"1338579243","filename":"file5"},{"photo_id":"1338579226","filename":"file2"},{"photo_id":"1338579236","filename":"file4"},{"photo_id":"1338579223","filename":"file1"},{"photo_id":"1338579219","filename":"file0"},{"photo_id":"1338579232","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579223":["hashtag1","hashtag2"]},{"1338579232":["hashtag1","hashtag2"]},{"1338579226":["hashtag1","hashtag2"]},{"1338579243":["hashtag1","hashtag2"]},{"1338579219":["hashtag1","hashtag2"]},{"1338579236":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579223, 1338579232, 1338579226, 1338579243, 1338579219, 1338579236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.013160705566406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 11:59:43.020544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/20/image_20022025_00_20_46_10354.jpg', '/home/pi/Desktop/images/20022025/00/20/image_20022025_00_20_56_9324.jpg', '/home/pi/Desktop/images/20022025/00/20/image_20022025_00_21_06_10321.jpg', '/home/pi/Desktop/images/20022025/00/21/image_20022025_00_21_16_10362.jpg', '/home/pi/Desktop/images/20022025/00/21/image_20022025_00_21_26_9438.jpg', '/home/pi/Desktop/images/20022025/00/21/image_20022025_00_21_36_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/20/image_20022025_00_20_46_10354.jpg
/home/pi/Desktop/images/20022025/00/20/image_20022025_00_20_56_9324.jpg
/home/pi/Desktop/images/20022025/00/20/image_20022025_00_21_06_10321.jpg
/home/pi/Desktop/images/20022025/00/21/image_20022025_00_21_16_10362.jpg
/home/pi/Desktop/images/20022025/00/21/image_20022025_00_21_26_9438.jpg
/home/pi/Desktop/images/20022025/00/21/image_20022025_00_21_36_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579262","1338579270","1338579273","1338579257","1338579266","1338579268"],"photo_ids_order":["1338579257","1338579262","1338579266","1338579268","1338579270","1338579273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42a55b4252c27838d357b0167a93d095.jpg","text":"TemporaryFile(/tmp/multipartBody4573151497492252147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049243563,"filename":"image_20022025_00_20_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7672ca5e109725f5a4d2c66ec8b91ed7.jpg","text":"TemporaryFile(/tmp/multipartBody822464151639041573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049243563,"filename":"image_20022025_00_21_26_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3198cb60fc5faccb44576e675ee71033.jpg","text":"TemporaryFile(/tmp/multipartBody2916632318657488660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049243563,"filename":"image_20022025_00_21_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7241490cabce34d3fe8de5420e924a56.jpg","text":"TemporaryFile(/tmp/multipartBody418894221406441514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049243563,"filename":"image_20022025_00_20_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d64de842a826693bbb6d8022baa41204.jpg","text":"TemporaryFile(/tmp/multipartBody8049400039045402312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049243563,"filename":"image_20022025_00_21_06_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66efc9631fb842e5e36f44396aaadbcf.jpg","text":"TemporaryFile(/tmp/multipartBody5043306314125507750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049243563,"filename":"image_20022025_00_21_16_10362.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579266","file1":"1338579262","file0":"1338579257","file4":"1338579270","file5":"1338579273","file3":"1338579268"},"map_files_photo_id_array":[{"photo_id":"1338579273","filename":"file5"},{"photo_id":"1338579266","filename":"file2"},{"photo_id":"1338579270","filename":"file4"},{"photo_id":"1338579262","filename":"file1"},{"photo_id":"1338579257","filename":"file0"},{"photo_id":"1338579268","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579262":["hashtag1","hashtag2"]},{"1338579270":["hashtag1","hashtag2"]},{"1338579273":["hashtag1","hashtag2"]},{"1338579257":["hashtag1","hashtag2"]},{"1338579266":["hashtag1","hashtag2"]},{"1338579268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579262, 1338579270, 1338579273, 1338579257, 1338579266, 1338579268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.218778133392334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:00:32.257994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/21/image_20022025_00_21_56_9363.jpg', '/home/pi/Desktop/images/20022025/00/21/image_20022025_00_22_06_10319.jpg', '/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_16_10386.jpg', '/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_26_9327.jpg', '/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_36_10340.jpg', '/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_46_9446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/21/image_20022025_00_21_56_9363.jpg
/home/pi/Desktop/images/20022025/00/21/image_20022025_00_22_06_10319.jpg
/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_16_10386.jpg
/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_26_9327.jpg
/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_36_10340.jpg
/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_46_9446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579288","1338579300","1338579303","1338579306","1338579296","1338579292"],"photo_ids_order":["1338579288","1338579292","1338579296","1338579300","1338579303","1338579306"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c4033bbb6f75716e5bfcc62abbc9e17.jpg","text":"TemporaryFile(/tmp/multipartBody7186937950996150414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049292806,"filename":"image_20022025_00_21_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fda2503677f1c12486d3e1e8fc63fbb4.jpg","text":"TemporaryFile(/tmp/multipartBody8243953499654998558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049292806,"filename":"image_20022025_00_22_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6d0bb045172479ee6fdc82c329c700e.jpg","text":"TemporaryFile(/tmp/multipartBody2962114431131066889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049292806,"filename":"image_20022025_00_22_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68d2fbadb98157c30a6b43f192b00799.jpg","text":"TemporaryFile(/tmp/multipartBody5808042126666610622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049292806,"filename":"image_20022025_00_22_46_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9e74d7fb6408d82b24877032c6d08f6.jpg","text":"TemporaryFile(/tmp/multipartBody4996323581098939267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049292806,"filename":"image_20022025_00_22_16_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f5f238ba739839fa3e711ef54c805f6.jpg","text":"TemporaryFile(/tmp/multipartBody4062198993450617633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049292806,"filename":"image_20022025_00_22_06_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579296","file1":"1338579292","file0":"1338579288","file4":"1338579303","file5":"1338579306","file3":"1338579300"},"map_files_photo_id_array":[{"photo_id":"1338579306","filename":"file5"},{"photo_id":"1338579296","filename":"file2"},{"photo_id":"1338579303","filename":"file4"},{"photo_id":"1338579292","filename":"file1"},{"photo_id":"1338579288","filename":"file0"},{"photo_id":"1338579300","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579288":["hashtag1","hashtag2"]},{"1338579300":["hashtag1","hashtag2"]},{"1338579303":["hashtag1","hashtag2"]},{"1338579306":["hashtag1","hashtag2"]},{"1338579296":["hashtag1","hashtag2"]},{"1338579292":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579288, 1338579300, 1338579303, 1338579306, 1338579296, 1338579292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8053195476532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:01:32.299869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_56_10342.jpg', '/home/pi/Desktop/images/20022025/00/22/image_20022025_00_23_06_10321.jpg', '/home/pi/Desktop/images/20022025/00/23/image_20022025_00_23_16_9363.jpg', '/home/pi/Desktop/images/20022025/00/23/image_20022025_00_23_26_10344.jpg', '/home/pi/Desktop/images/20022025/00/23/image_20022025_00_23_36_10495.jpg', '/home/pi/Desktop/images/20022025/00/23/image_20022025_00_23_56_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/22/image_20022025_00_22_56_10342.jpg
/home/pi/Desktop/images/20022025/00/22/image_20022025_00_23_06_10321.jpg
/home/pi/Desktop/images/20022025/00/23/image_20022025_00_23_16_9363.jpg
/home/pi/Desktop/images/20022025/00/23/image_20022025_00_23_26_10344.jpg
/home/pi/Desktop/images/20022025/00/23/image_20022025_00_23_36_10495.jpg
/home/pi/Desktop/images/20022025/00/23/image_20022025_00_23_56_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579580","1338579718","1338579669","1338579729","1338579694","1338579577"],"photo_ids_order":["1338579577","1338579580","1338579669","1338579694","1338579718","1338579729"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16db72539339c1cda1a960f2923942e9.jpg","text":"TemporaryFile(/tmp/multipartBody5609059432317481026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049352852,"filename":"image_20022025_00_23_06_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4580226c85703aaa2322575213003e9.jpg","text":"TemporaryFile(/tmp/multipartBody4209757047308850969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049352852,"filename":"image_20022025_00_23_36_10495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be317ecab46895c6cf284fbd55aef21c.jpg","text":"TemporaryFile(/tmp/multipartBody6221480183116864210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049352852,"filename":"image_20022025_00_23_16_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96f9e8973000e390cc80ae68bf275ff3.jpg","text":"TemporaryFile(/tmp/multipartBody7748911414106800798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049352852,"filename":"image_20022025_00_23_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96cdf6aa690d9279ae7485c29ca3f80d.jpg","text":"TemporaryFile(/tmp/multipartBody1325170484911510539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049352852,"filename":"image_20022025_00_23_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cba5b7a069a4b5854430cb785faebd56.jpg","text":"TemporaryFile(/tmp/multipartBody650283896819952739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049352852,"filename":"image_20022025_00_22_56_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579669","file1":"1338579580","file0":"1338579577","file4":"1338579718","file5":"1338579729","file3":"1338579694"},"map_files_photo_id_array":[{"photo_id":"1338579729","filename":"file5"},{"photo_id":"1338579669","filename":"file2"},{"photo_id":"1338579718","filename":"file4"},{"photo_id":"1338579580","filename":"file1"},{"photo_id":"1338579577","filename":"file0"},{"photo_id":"1338579694","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579580":["hashtag1","hashtag2"]},{"1338579718":["hashtag1","hashtag2"]},{"1338579669":["hashtag1","hashtag2"]},{"1338579729":["hashtag1","hashtag2"]},{"1338579694":["hashtag1","hashtag2"]},{"1338579577":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579580, 1338579718, 1338579669, 1338579729, 1338579694, 1338579577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.978941202163696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:02:32.395762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/23/image_20022025_00_24_06_10343.jpg', '/home/pi/Desktop/images/20022025/00/24/image_20022025_00_24_16_9413.jpg', '/home/pi/Desktop/images/20022025/00/24/image_20022025_00_24_56_10425.jpg', '/home/pi/Desktop/images/20022025/00/24/image_20022025_00_25_06_9329.jpg', '/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_16_10361.jpg', '/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_26_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/23/image_20022025_00_24_06_10343.jpg
/home/pi/Desktop/images/20022025/00/24/image_20022025_00_24_16_9413.jpg
/home/pi/Desktop/images/20022025/00/24/image_20022025_00_24_56_10425.jpg
/home/pi/Desktop/images/20022025/00/24/image_20022025_00_25_06_9329.jpg
/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_16_10361.jpg
/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_26_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579772","1338579766","1338579751","1338579776","1338579761","1338579755"],"photo_ids_order":["1338579751","1338579755","1338579761","1338579766","1338579772","1338579776"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bebc24c4ceb42d6900e7ac67728d23a0.jpg","text":"TemporaryFile(/tmp/multipartBody2958249387633714226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049412939,"filename":"image_20022025_00_25_16_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1780264aa2741ad3fabb1fd0235450fa.jpg","text":"TemporaryFile(/tmp/multipartBody4209210978629660107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049412939,"filename":"image_20022025_00_25_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/02d30a4fdfb6d2c1bfcb86c5e110c1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4457503562288078074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049412939,"filename":"image_20022025_00_24_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c82220513de32b7f31c1fe335f96aa99.jpg","text":"TemporaryFile(/tmp/multipartBody8801086715418082973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049412939,"filename":"image_20022025_00_25_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ae9431c5d91da6c88eb21cc2b7de40c.jpg","text":"TemporaryFile(/tmp/multipartBody3353371199404721692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049412939,"filename":"image_20022025_00_24_56_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1b41020d241449a3012e5ae198b0fe8.jpg","text":"TemporaryFile(/tmp/multipartBody1190465516535622257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049412939,"filename":"image_20022025_00_24_16_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579761","file1":"1338579755","file0":"1338579751","file4":"1338579772","file5":"1338579776","file3":"1338579766"},"map_files_photo_id_array":[{"photo_id":"1338579776","filename":"file5"},{"photo_id":"1338579761","filename":"file2"},{"photo_id":"1338579772","filename":"file4"},{"photo_id":"1338579755","filename":"file1"},{"photo_id":"1338579751","filename":"file0"},{"photo_id":"1338579766","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579772":["hashtag1","hashtag2"]},{"1338579766":["hashtag1","hashtag2"]},{"1338579751":["hashtag1","hashtag2"]},{"1338579776":["hashtag1","hashtag2"]},{"1338579761":["hashtag1","hashtag2"]},{"1338579755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579772, 1338579766, 1338579751, 1338579776, 1338579761, 1338579755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05863332748413 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:03:32.524261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_36_9317.jpg', '/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_46_10443.jpg', '/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_56_9349.jpg', '/home/pi/Desktop/images/20022025/00/25/image_20022025_00_26_06_10320.jpg', '/home/pi/Desktop/images/20022025/00/26/image_20022025_00_26_16_10356.jpg', '/home/pi/Desktop/images/20022025/00/26/image_20022025_00_26_26_9429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_36_9317.jpg
/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_46_10443.jpg
/home/pi/Desktop/images/20022025/00/25/image_20022025_00_25_56_9349.jpg
/home/pi/Desktop/images/20022025/00/25/image_20022025_00_26_06_10320.jpg
/home/pi/Desktop/images/20022025/00/26/image_20022025_00_26_16_10356.jpg
/home/pi/Desktop/images/20022025/00/26/image_20022025_00_26_26_9429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579811","1338579798","1338579802","1338579795","1338579812","1338579806"],"photo_ids_order":["1338579795","1338579798","1338579802","1338579806","1338579811","1338579812"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1831750031a91636a9941e796da31255.jpg","text":"TemporaryFile(/tmp/multipartBody8031845473091552583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049473069,"filename":"image_20022025_00_26_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b637c0f019c83e03a8f1f46dc54a1abc.jpg","text":"TemporaryFile(/tmp/multipartBody3828600310738214190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049473069,"filename":"image_20022025_00_25_46_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6214a43c4f413fa88024f4276059bc43.jpg","text":"TemporaryFile(/tmp/multipartBody8990477888373446129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049473069,"filename":"image_20022025_00_25_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e91ced0eb8e5bcc20713018fc7a23cab.jpg","text":"TemporaryFile(/tmp/multipartBody6458627307182364813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049473069,"filename":"image_20022025_00_25_36_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/348ce92109a0c54c7db123ce84a345e3.jpg","text":"TemporaryFile(/tmp/multipartBody495183969542208419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049473069,"filename":"image_20022025_00_26_26_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/58f6055dba214a219a938db621b03164.jpg","text":"TemporaryFile(/tmp/multipartBody4053995824130111406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049473069,"filename":"image_20022025_00_26_06_10320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579802","file1":"1338579798","file0":"1338579795","file4":"1338579811","file5":"1338579812","file3":"1338579806"},"map_files_photo_id_array":[{"photo_id":"1338579812","filename":"file5"},{"photo_id":"1338579802","filename":"file2"},{"photo_id":"1338579811","filename":"file4"},{"photo_id":"1338579798","filename":"file1"},{"photo_id":"1338579795","filename":"file0"},{"photo_id":"1338579806","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579811":["hashtag1","hashtag2"]},{"1338579798":["hashtag1","hashtag2"]},{"1338579802":["hashtag1","hashtag2"]},{"1338579795":["hashtag1","hashtag2"]},{"1338579812":["hashtag1","hashtag2"]},{"1338579806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579811, 1338579798, 1338579802, 1338579795, 1338579812, 1338579806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52333927154541 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:04:32.838796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/26/image_20022025_00_26_36_10375.jpg', '/home/pi/Desktop/images/20022025/00/26/image_20022025_00_26_46_9472.jpg', '/home/pi/Desktop/images/20022025/00/26/image_20022025_00_27_06_10419.jpg', '/home/pi/Desktop/images/20022025/00/27/image_20022025_00_27_16_9399.jpg', '/home/pi/Desktop/images/20022025/00/27/image_20022025_00_27_36_9435.jpg', '/home/pi/Desktop/images/20022025/00/27/image_20022025_00_28_06_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/26/image_20022025_00_26_36_10375.jpg
/home/pi/Desktop/images/20022025/00/26/image_20022025_00_26_46_9472.jpg
/home/pi/Desktop/images/20022025/00/26/image_20022025_00_27_06_10419.jpg
/home/pi/Desktop/images/20022025/00/27/image_20022025_00_27_16_9399.jpg
/home/pi/Desktop/images/20022025/00/27/image_20022025_00_27_36_9435.jpg
/home/pi/Desktop/images/20022025/00/27/image_20022025_00_28_06_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579847","1338579835","1338579852","1338579837","1338579833","1338579842"],"photo_ids_order":["1338579833","1338579835","1338579837","1338579842","1338579847","1338579852"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b2212d5a8b9e51c7fbbfbb3d45856d2.jpg","text":"TemporaryFile(/tmp/multipartBody5904298606581957654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049533381,"filename":"image_20022025_00_27_36_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c92df850cfcd01649ac8830691dd7ec.jpg","text":"TemporaryFile(/tmp/multipartBody1134553360472052597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049533381,"filename":"image_20022025_00_26_46_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7744c4e8cc495d49db39cd253a5d6d8f.jpg","text":"TemporaryFile(/tmp/multipartBody3650660730891072887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049533381,"filename":"image_20022025_00_28_06_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d90c5edd0c6870ce4481f92594b57a05.jpg","text":"TemporaryFile(/tmp/multipartBody8659878679365286969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049533381,"filename":"image_20022025_00_27_06_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa7f0d4b6ccaf4a971229bee8a937312.jpg","text":"TemporaryFile(/tmp/multipartBody999888073123815190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049533381,"filename":"image_20022025_00_26_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/411d66cbe2b3f231d6fba9a8cac3b707.jpg","text":"TemporaryFile(/tmp/multipartBody6460846199283444724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049533381,"filename":"image_20022025_00_27_16_9399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579837","file1":"1338579835","file0":"1338579833","file4":"1338579847","file5":"1338579852","file3":"1338579842"},"map_files_photo_id_array":[{"photo_id":"1338579852","filename":"file5"},{"photo_id":"1338579837","filename":"file2"},{"photo_id":"1338579847","filename":"file4"},{"photo_id":"1338579835","filename":"file1"},{"photo_id":"1338579833","filename":"file0"},{"photo_id":"1338579842","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579847":["hashtag1","hashtag2"]},{"1338579835":["hashtag1","hashtag2"]},{"1338579852":["hashtag1","hashtag2"]},{"1338579837":["hashtag1","hashtag2"]},{"1338579833":["hashtag1","hashtag2"]},{"1338579842":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579847, 1338579835, 1338579852, 1338579837, 1338579833, 1338579842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84630846977234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:05:32.940948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/28/image_20022025_00_28_16_10358.jpg', '/home/pi/Desktop/images/20022025/00/28/image_20022025_00_28_26_9451.jpg', '/home/pi/Desktop/images/20022025/00/28/image_20022025_00_28_36_10323.jpg', '/home/pi/Desktop/images/20022025/00/28/image_20022025_00_28_46_10347.jpg', '/home/pi/Desktop/images/20022025/00/28/image_20022025_00_29_06_10339.jpg', '/home/pi/Desktop/images/20022025/00/29/image_20022025_00_29_16_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/28/image_20022025_00_28_16_10358.jpg
/home/pi/Desktop/images/20022025/00/28/image_20022025_00_28_26_9451.jpg
/home/pi/Desktop/images/20022025/00/28/image_20022025_00_28_36_10323.jpg
/home/pi/Desktop/images/20022025/00/28/image_20022025_00_28_46_10347.jpg
/home/pi/Desktop/images/20022025/00/28/image_20022025_00_29_06_10339.jpg
/home/pi/Desktop/images/20022025/00/29/image_20022025_00_29_16_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579916","1338579882","1338579895","1338579889","1338579898","1338579877"],"photo_ids_order":["1338579877","1338579882","1338579889","1338579895","1338579898","1338579916"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/238bde3c8a5fe681f2ba923a18aa0387.jpg","text":"TemporaryFile(/tmp/multipartBody1002254778572406084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049593510,"filename":"image_20022025_00_29_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e7225f40a910d0e231e415e33dfc67a6.jpg","text":"TemporaryFile(/tmp/multipartBody5429555603989396003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049593510,"filename":"image_20022025_00_28_26_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a016f91c27c89d0020fbdf014aac75c.jpg","text":"TemporaryFile(/tmp/multipartBody4608177113177554034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049593510,"filename":"image_20022025_00_28_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7df5cd2709d65ce8ce8b88f1f89f593e.jpg","text":"TemporaryFile(/tmp/multipartBody8602171859156446142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049593510,"filename":"image_20022025_00_28_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18aacba9ebe0cd79afa7d0867907f8d3.jpg","text":"TemporaryFile(/tmp/multipartBody7958890256185606432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049593510,"filename":"image_20022025_00_29_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18f0762ba11437e8661c172b31634e1e.jpg","text":"TemporaryFile(/tmp/multipartBody4864232247019967606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049593510,"filename":"image_20022025_00_28_16_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579889","file1":"1338579882","file0":"1338579877","file4":"1338579898","file5":"1338579916","file3":"1338579895"},"map_files_photo_id_array":[{"photo_id":"1338579916","filename":"file5"},{"photo_id":"1338579889","filename":"file2"},{"photo_id":"1338579898","filename":"file4"},{"photo_id":"1338579882","filename":"file1"},{"photo_id":"1338579877","filename":"file0"},{"photo_id":"1338579895","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579916":["hashtag1","hashtag2"]},{"1338579882":["hashtag1","hashtag2"]},{"1338579895":["hashtag1","hashtag2"]},{"1338579889":["hashtag1","hashtag2"]},{"1338579898":["hashtag1","hashtag2"]},{"1338579877":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579916, 1338579882, 1338579895, 1338579889, 1338579898, 1338579877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63572382926941 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:06:32.161281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/29/image_20022025_00_29_56_9348.jpg', '/home/pi/Desktop/images/20022025/00/30/image_20022025_00_30_26_9338.jpg', '/home/pi/Desktop/images/20022025/00/30/image_20022025_00_30_36_10325.jpg', '/home/pi/Desktop/images/20022025/00/30/image_20022025_00_30_56_9324.jpg', '/home/pi/Desktop/images/20022025/00/30/image_20022025_00_31_06_10336.jpg', '/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_16_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/29/image_20022025_00_29_56_9348.jpg
/home/pi/Desktop/images/20022025/00/30/image_20022025_00_30_26_9338.jpg
/home/pi/Desktop/images/20022025/00/30/image_20022025_00_30_36_10325.jpg
/home/pi/Desktop/images/20022025/00/30/image_20022025_00_30_56_9324.jpg
/home/pi/Desktop/images/20022025/00/30/image_20022025_00_31_06_10336.jpg
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_16_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338579946","1338579934","1338579954","1338579939","1338579950","1338579944"],"photo_ids_order":["1338579934","1338579939","1338579944","1338579946","1338579950","1338579954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/521883e5f5e6c64dab4d7416412741be.jpg","text":"TemporaryFile(/tmp/multipartBody6147063524090462978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049652876,"filename":"image_20022025_00_30_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28862dd70ed3c27e001e9f793dcaa57e.jpg","text":"TemporaryFile(/tmp/multipartBody7244437281664389948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049652876,"filename":"image_20022025_00_29_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ae60fa6d5b735620abaa34697e7876ed.jpg","text":"TemporaryFile(/tmp/multipartBody6770986995444461537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049652876,"filename":"image_20022025_00_31_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/58a1abffcaaaa2e5ae3b415d67c930a9.jpg","text":"TemporaryFile(/tmp/multipartBody1131573640874100600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049652876,"filename":"image_20022025_00_30_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e55f8edede4fc178c2544ddf98088900.jpg","text":"TemporaryFile(/tmp/multipartBody8562368404563021220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049652876,"filename":"image_20022025_00_31_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d53e74138f6a8eb78287b8e63e0d2c3.jpg","text":"TemporaryFile(/tmp/multipartBody1613219613058301828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049652876,"filename":"image_20022025_00_30_36_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338579944","file1":"1338579939","file0":"1338579934","file4":"1338579950","file5":"1338579954","file3":"1338579946"},"map_files_photo_id_array":[{"photo_id":"1338579954","filename":"file5"},{"photo_id":"1338579944","filename":"file2"},{"photo_id":"1338579950","filename":"file4"},{"photo_id":"1338579939","filename":"file1"},{"photo_id":"1338579934","filename":"file0"},{"photo_id":"1338579946","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338579946":["hashtag1","hashtag2"]},{"1338579934":["hashtag1","hashtag2"]},{"1338579954":["hashtag1","hashtag2"]},{"1338579939":["hashtag1","hashtag2"]},{"1338579950":["hashtag1","hashtag2"]},{"1338579944":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338579946, 1338579934, 1338579954, 1338579939, 1338579950, 1338579944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.34279227256775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:07:32.524782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_26_10345.jpg', '/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_36_10349.jpg', '/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_56_10342.jpg', '/home/pi/Desktop/images/20022025/00/31/image_20022025_00_32_06_10329.jpg', '/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_16_9425.jpg', '/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_26_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_26_10345.jpg
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_36_10349.jpg
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_56_10342.jpg
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_32_06_10329.jpg
/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_16_9425.jpg
/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_26_10325.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.48352551460266113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:07:42.481295
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_26_10345.jpg', '/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_36_10349.jpg', '/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_56_10342.jpg', '/home/pi/Desktop/images/20022025/00/31/image_20022025_00_32_06_10329.jpg', '/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_16_9425.jpg', '/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_26_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_26_10345.jpg
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_36_10349.jpg
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_31_56_10342.jpg
/home/pi/Desktop/images/20022025/00/31/image_20022025_00_32_06_10329.jpg
/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_16_9425.jpg
/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_26_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338580022","1338580103","1338580147","1338579986","1338579991","1338580151"],"photo_ids_order":["1338579986","1338579991","1338580022","1338580103","1338580147","1338580151"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0cf217d361707514bcdf2f85b3e4a3c8.jpg","text":"TemporaryFile(/tmp/multipartBody6710391238323051029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049722955,"filename":"image_20022025_00_31_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cf3ed6aec898a5c6f80d59db46f29986.jpg","text":"TemporaryFile(/tmp/multipartBody1102808174724864205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049722955,"filename":"image_20022025_00_32_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e30b0d66a1c62e991307c65b60a39698.jpg","text":"TemporaryFile(/tmp/multipartBody7104128887913534119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049722955,"filename":"image_20022025_00_32_16_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ef4fff89136e84335721cf97a1f72c2.jpg","text":"TemporaryFile(/tmp/multipartBody6864499933484035506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049722955,"filename":"image_20022025_00_31_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0979320ceb608afb770fb35f89be952a.jpg","text":"TemporaryFile(/tmp/multipartBody3600084127075517513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049722955,"filename":"image_20022025_00_31_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7cdb783e2d718c2aad639ff532e21ace.jpg","text":"TemporaryFile(/tmp/multipartBody1935410303803745486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049722955,"filename":"image_20022025_00_32_26_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338580022","file1":"1338579991","file0":"1338579986","file4":"1338580147","file5":"1338580151","file3":"1338580103"},"map_files_photo_id_array":[{"photo_id":"1338580151","filename":"file5"},{"photo_id":"1338580022","filename":"file2"},{"photo_id":"1338580147","filename":"file4"},{"photo_id":"1338579991","filename":"file1"},{"photo_id":"1338579986","filename":"file0"},{"photo_id":"1338580103","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338580022":["hashtag1","hashtag2"]},{"1338580103":["hashtag1","hashtag2"]},{"1338580147":["hashtag1","hashtag2"]},{"1338579986":["hashtag1","hashtag2"]},{"1338579991":["hashtag1","hashtag2"]},{"1338580151":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338580022, 1338580103, 1338580147, 1338579986, 1338579991, 1338580151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57072591781616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:08:32.589902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_36_10398.jpg', '/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_46_9354.jpg', '/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_16_10342.jpg', '/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_26_10353.jpg', '/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_36_9370.jpg', '/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_46_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_36_10398.jpg
/home/pi/Desktop/images/20022025/00/32/image_20022025_00_32_46_9354.jpg
/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_16_10342.jpg
/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_26_10353.jpg
/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_36_9370.jpg
/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_46_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338580291","1338580327","1338580324","1338580296","1338580332","1338580319"],"photo_ids_order":["1338580291","1338580296","1338580319","1338580324","1338580327","1338580332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/11a59811fec9e4b593804e976238689e.jpg","text":"TemporaryFile(/tmp/multipartBody7140146109207259013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049773267,"filename":"image_20022025_00_32_36_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94293d1b7cb4cc38ae60a218d72cd6a6.jpg","text":"TemporaryFile(/tmp/multipartBody1491741380553012219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049773267,"filename":"image_20022025_00_33_36_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bf1bfc4429accbf269c8bc9991481db.jpg","text":"TemporaryFile(/tmp/multipartBody1523798377058292221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049773267,"filename":"image_20022025_00_33_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd653e83069714de07f1b3ca502286b6.jpg","text":"TemporaryFile(/tmp/multipartBody9076269184115194718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049773267,"filename":"image_20022025_00_32_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e605281c540d390e2c5b5e61319e13c4.jpg","text":"TemporaryFile(/tmp/multipartBody281152936562776187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049773267,"filename":"image_20022025_00_33_46_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81b0af097f641dfa8761c7eed6a905bd.jpg","text":"TemporaryFile(/tmp/multipartBody2751583970255287819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049773267,"filename":"image_20022025_00_33_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338580319","file1":"1338580296","file0":"1338580291","file4":"1338580327","file5":"1338580332","file3":"1338580324"},"map_files_photo_id_array":[{"photo_id":"1338580332","filename":"file5"},{"photo_id":"1338580319","filename":"file2"},{"photo_id":"1338580327","filename":"file4"},{"photo_id":"1338580296","filename":"file1"},{"photo_id":"1338580291","filename":"file0"},{"photo_id":"1338580324","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338580291":["hashtag1","hashtag2"]},{"1338580327":["hashtag1","hashtag2"]},{"1338580324":["hashtag1","hashtag2"]},{"1338580296":["hashtag1","hashtag2"]},{"1338580332":["hashtag1","hashtag2"]},{"1338580319":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338580291, 1338580327, 1338580324, 1338580296, 1338580332, 1338580319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.441659450531006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:09:32.823894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_56_10392.jpg', '/home/pi/Desktop/images/20022025/00/33/image_20022025_00_34_06_9325.jpg', '/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_16_10359.jpg', '/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_25_9356.jpg', '/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_36_10349.jpg', '/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_46_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/33/image_20022025_00_33_56_10392.jpg
/home/pi/Desktop/images/20022025/00/33/image_20022025_00_34_06_9325.jpg
/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_16_10359.jpg
/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_25_9356.jpg
/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_36_10349.jpg
/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_46_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338580482","1338580431","1338580493","1338580475","1338580469","1338580424"],"photo_ids_order":["1338580424","1338580431","1338580469","1338580475","1338580482","1338580493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e561fcbaafdb7593c1828e468c7830cb.jpg","text":"TemporaryFile(/tmp/multipartBody8724547549932236966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049833389,"filename":"image_20022025_00_34_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc4926f8aeace840918fe73b93a27242.jpg","text":"TemporaryFile(/tmp/multipartBody5062445866634701832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049833389,"filename":"image_20022025_00_34_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36bc0240dd537823a67f113f0179c7bc.jpg","text":"TemporaryFile(/tmp/multipartBody1008865230098819540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049833389,"filename":"image_20022025_00_34_46_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e76abe4bf0200305abc06fa4108db18.jpg","text":"TemporaryFile(/tmp/multipartBody848464763335159530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049833389,"filename":"image_20022025_00_34_25_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e88b16a1e18b318034f639f8d6b382d5.jpg","text":"TemporaryFile(/tmp/multipartBody3438427092883095534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049833389,"filename":"image_20022025_00_34_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0862dcf6139fc073ae8fba4c4feb668a.jpg","text":"TemporaryFile(/tmp/multipartBody404330097777199272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049833389,"filename":"image_20022025_00_33_56_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338580469","file1":"1338580431","file0":"1338580424","file4":"1338580482","file5":"1338580493","file3":"1338580475"},"map_files_photo_id_array":[{"photo_id":"1338580493","filename":"file5"},{"photo_id":"1338580469","filename":"file2"},{"photo_id":"1338580482","filename":"file4"},{"photo_id":"1338580431","filename":"file1"},{"photo_id":"1338580424","filename":"file0"},{"photo_id":"1338580475","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338580482":["hashtag1","hashtag2"]},{"1338580431":["hashtag1","hashtag2"]},{"1338580493":["hashtag1","hashtag2"]},{"1338580475":["hashtag1","hashtag2"]},{"1338580469":["hashtag1","hashtag2"]},{"1338580424":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338580482, 1338580431, 1338580493, 1338580475, 1338580469, 1338580424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52796173095703 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:10:32.935233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_56_9331.jpg', '/home/pi/Desktop/images/20022025/00/34/image_20022025_00_35_06_10335.jpg', '/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_16_10341.jpg', '/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_26_9431.jpg', '/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_36_10347.jpg', '/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_46_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/34/image_20022025_00_34_56_9331.jpg
/home/pi/Desktop/images/20022025/00/34/image_20022025_00_35_06_10335.jpg
/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_16_10341.jpg
/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_26_9431.jpg
/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_36_10347.jpg
/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_46_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338580612","1338580606","1338580618","1338580569","1338580617","1338580602"],"photo_ids_order":["1338580569","1338580602","1338580606","1338580612","1338580617","1338580618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8de648837bf5692196becc00dc0d4c80.jpg","text":"TemporaryFile(/tmp/multipartBody8207706694439112005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049893524,"filename":"image_20022025_00_35_26_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed9d1bf4db4f2a21bd803b4456cb13f0.jpg","text":"TemporaryFile(/tmp/multipartBody4054631511056467005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049893524,"filename":"image_20022025_00_35_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c131a491004c5247632eb7b7ddf6673b.jpg","text":"TemporaryFile(/tmp/multipartBody7902219052514848304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049893524,"filename":"image_20022025_00_35_46_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cef2098527ade4cec2b1f60bc3b9e805.jpg","text":"TemporaryFile(/tmp/multipartBody7536430777647922650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049893524,"filename":"image_20022025_00_34_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f29add2b345553ef09d1577fc1b81d2.jpg","text":"TemporaryFile(/tmp/multipartBody83945133933593909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049893524,"filename":"image_20022025_00_35_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0861612b3eaff2605423518033958d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3245673843672275741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049893524,"filename":"image_20022025_00_35_06_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338580606","file1":"1338580602","file0":"1338580569","file4":"1338580617","file5":"1338580618","file3":"1338580612"},"map_files_photo_id_array":[{"photo_id":"1338580618","filename":"file5"},{"photo_id":"1338580606","filename":"file2"},{"photo_id":"1338580617","filename":"file4"},{"photo_id":"1338580602","filename":"file1"},{"photo_id":"1338580569","filename":"file0"},{"photo_id":"1338580612","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338580612":["hashtag1","hashtag2"]},{"1338580606":["hashtag1","hashtag2"]},{"1338580618":["hashtag1","hashtag2"]},{"1338580569":["hashtag1","hashtag2"]},{"1338580617":["hashtag1","hashtag2"]},{"1338580602":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338580612, 1338580606, 1338580618, 1338580569, 1338580617, 1338580602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.053658723831177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:11:33.070048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_56_9331.jpg', '/home/pi/Desktop/images/20022025/00/35/image_20022025_00_36_06_10327.jpg', '/home/pi/Desktop/images/20022025/00/36/image_20022025_00_36_16_9432.jpg', '/home/pi/Desktop/images/20022025/00/36/image_20022025_00_36_26_10340.jpg', '/home/pi/Desktop/images/20022025/00/36/image_20022025_00_36_36_10337.jpg', '/home/pi/Desktop/images/20022025/00/36/image_20022025_00_37_06_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/35/image_20022025_00_35_56_9331.jpg
/home/pi/Desktop/images/20022025/00/35/image_20022025_00_36_06_10327.jpg
/home/pi/Desktop/images/20022025/00/36/image_20022025_00_36_16_9432.jpg
/home/pi/Desktop/images/20022025/00/36/image_20022025_00_36_26_10340.jpg
/home/pi/Desktop/images/20022025/00/36/image_20022025_00_36_36_10337.jpg
/home/pi/Desktop/images/20022025/00/36/image_20022025_00_37_06_10322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338580663","1338580645","1338580653","1338580650","1338580647","1338580658"],"photo_ids_order":["1338580645","1338580647","1338580650","1338580653","1338580658","1338580663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af26a53d8e17bec6055df64c2afef60f.jpg","text":"TemporaryFile(/tmp/multipartBody7328628157911265953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049953609,"filename":"image_20022025_00_37_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f71c2581d102459c23da82b193ad451.jpg","text":"TemporaryFile(/tmp/multipartBody5503529021184876270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049953609,"filename":"image_20022025_00_35_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/078f3e90f2e6c3c45449c6a4a7f6ec42.jpg","text":"TemporaryFile(/tmp/multipartBody8773450181422658304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049953609,"filename":"image_20022025_00_36_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/43a2e2bee87845095b0e61c137ac34d5.jpg","text":"TemporaryFile(/tmp/multipartBody8308437927213390849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049953609,"filename":"image_20022025_00_36_16_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d2b4242bbb2d9a693cc1049167ea948.jpg","text":"TemporaryFile(/tmp/multipartBody7814820208405378178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049953609,"filename":"image_20022025_00_36_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9bd82038d9f8c8d0b51e118cf6038f9.jpg","text":"TemporaryFile(/tmp/multipartBody849717182618362229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740049953609,"filename":"image_20022025_00_36_36_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338580650","file1":"1338580647","file0":"1338580645","file4":"1338580658","file5":"1338580663","file3":"1338580653"},"map_files_photo_id_array":[{"photo_id":"1338580663","filename":"file5"},{"photo_id":"1338580650","filename":"file2"},{"photo_id":"1338580658","filename":"file4"},{"photo_id":"1338580647","filename":"file1"},{"photo_id":"1338580645","filename":"file0"},{"photo_id":"1338580653","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338580663":["hashtag1","hashtag2"]},{"1338580645":["hashtag1","hashtag2"]},{"1338580653":["hashtag1","hashtag2"]},{"1338580650":["hashtag1","hashtag2"]},{"1338580647":["hashtag1","hashtag2"]},{"1338580658":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338580663, 1338580645, 1338580653, 1338580650, 1338580647, 1338580658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86616134643555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:12:32.253424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/37/image_20022025_00_37_16_9334.jpg', '/home/pi/Desktop/images/20022025/00/37/image_20022025_00_37_26_10351.jpg', '/home/pi/Desktop/images/20022025/00/37/image_20022025_00_37_46_9382.jpg', '/home/pi/Desktop/images/20022025/00/37/image_20022025_00_37_56_10337.jpg', '/home/pi/Desktop/images/20022025/00/37/image_20022025_00_38_06_10358.jpg', '/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_16_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/37/image_20022025_00_37_16_9334.jpg
/home/pi/Desktop/images/20022025/00/37/image_20022025_00_37_26_10351.jpg
/home/pi/Desktop/images/20022025/00/37/image_20022025_00_37_46_9382.jpg
/home/pi/Desktop/images/20022025/00/37/image_20022025_00_37_56_10337.jpg
/home/pi/Desktop/images/20022025/00/37/image_20022025_00_38_06_10358.jpg
/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_16_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338581227","1338580888","1338580960","1338580809","1338581054","1338581138"],"photo_ids_order":["1338580809","1338580888","1338580960","1338581054","1338581138","1338581227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f2ccafaff4890ff5c9447225a4fb6175.jpg","text":"TemporaryFile(/tmp/multipartBody3512544741258409297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050012787,"filename":"image_20022025_00_38_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d88426eb191ca244c6898fff12425098.jpg","text":"TemporaryFile(/tmp/multipartBody8404901322972980119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050012787,"filename":"image_20022025_00_37_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92d46494e9e44bc91d3c829ddc0ede34.jpg","text":"TemporaryFile(/tmp/multipartBody8043947432596318903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050012787,"filename":"image_20022025_00_37_46_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/93a061a88d058d9e93840c6779cd4831.jpg","text":"TemporaryFile(/tmp/multipartBody764939668926060971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050012787,"filename":"image_20022025_00_37_16_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ad45d4a6c63343c4d37c5e82cb65bf4e.jpg","text":"TemporaryFile(/tmp/multipartBody1364425184149749492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050012787,"filename":"image_20022025_00_37_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94b16bd3f6556da09e58580d8a8a56aa.jpg","text":"TemporaryFile(/tmp/multipartBody6968248951666281330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050012787,"filename":"image_20022025_00_38_06_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338580960","file1":"1338580888","file0":"1338580809","file4":"1338581138","file5":"1338581227","file3":"1338581054"},"map_files_photo_id_array":[{"photo_id":"1338581227","filename":"file5"},{"photo_id":"1338580960","filename":"file2"},{"photo_id":"1338581138","filename":"file4"},{"photo_id":"1338580888","filename":"file1"},{"photo_id":"1338580809","filename":"file0"},{"photo_id":"1338581054","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338581227":["hashtag1","hashtag2"]},{"1338580888":["hashtag1","hashtag2"]},{"1338580960":["hashtag1","hashtag2"]},{"1338580809":["hashtag1","hashtag2"]},{"1338581054":["hashtag1","hashtag2"]},{"1338581138":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338581227, 1338580888, 1338580960, 1338580809, 1338581054, 1338581138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.049579858779907 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:13:32.632445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_26_10413.jpg', '/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_36_9413.jpg', '/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_46_10329.jpg', '/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_56_10341.jpg', '/home/pi/Desktop/images/20022025/00/38/image_20022025_00_39_06_9319.jpg', '/home/pi/Desktop/images/20022025/00/39/image_20022025_00_39_16_10450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_26_10413.jpg
/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_36_9413.jpg
/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_46_10329.jpg
/home/pi/Desktop/images/20022025/00/38/image_20022025_00_38_56_10341.jpg
/home/pi/Desktop/images/20022025/00/38/image_20022025_00_39_06_9319.jpg
/home/pi/Desktop/images/20022025/00/39/image_20022025_00_39_16_10450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338581578","1338581583","1338581571","1338581574","1338581630","1338581567"],"photo_ids_order":["1338581567","1338581571","1338581574","1338581578","1338581583","1338581630"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b0e75c4167b15370bacd0a883a868bc0.jpg","text":"TemporaryFile(/tmp/multipartBody2736600096992714495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050073173,"filename":"image_20022025_00_38_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24014e62dae9a3ee64d9985b96fcf726.jpg","text":"TemporaryFile(/tmp/multipartBody1703115805640181548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050073173,"filename":"image_20022025_00_39_06_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60a6df67cf096f7ef5c8c62a60d15c52.jpg","text":"TemporaryFile(/tmp/multipartBody4829505720788845893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050073173,"filename":"image_20022025_00_38_36_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/581e585f6f858c444bc273bc98bd0db3.jpg","text":"TemporaryFile(/tmp/multipartBody2515876633551224462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050073173,"filename":"image_20022025_00_38_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d73be327df2694e84d7f916a4f218231.jpg","text":"TemporaryFile(/tmp/multipartBody6467472942178510239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050073173,"filename":"image_20022025_00_39_16_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/062574ccbf21ab601baa59327ee80f75.jpg","text":"TemporaryFile(/tmp/multipartBody7353539420361677782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050073173,"filename":"image_20022025_00_38_26_10413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338581574","file1":"1338581571","file0":"1338581567","file4":"1338581583","file5":"1338581630","file3":"1338581578"},"map_files_photo_id_array":[{"photo_id":"1338581630","filename":"file5"},{"photo_id":"1338581574","filename":"file2"},{"photo_id":"1338581583","filename":"file4"},{"photo_id":"1338581571","filename":"file1"},{"photo_id":"1338581567","filename":"file0"},{"photo_id":"1338581578","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338581578":["hashtag1","hashtag2"]},{"1338581583":["hashtag1","hashtag2"]},{"1338581571":["hashtag1","hashtag2"]},{"1338581574":["hashtag1","hashtag2"]},{"1338581630":["hashtag1","hashtag2"]},{"1338581567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338581578, 1338581583, 1338581571, 1338581574, 1338581630, 1338581567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.35651183128357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:14:32.703715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/39/image_20022025_00_39_26_10435.jpg', '/home/pi/Desktop/images/20022025/00/39/image_20022025_00_40_06_10322.jpg', '/home/pi/Desktop/images/20022025/00/40/image_20022025_00_40_16_10356.jpg', '/home/pi/Desktop/images/20022025/00/40/image_20022025_00_40_25_9328.jpg', '/home/pi/Desktop/images/20022025/00/40/image_20022025_00_40_36_10434.jpg', '/home/pi/Desktop/images/20022025/00/40/image_20022025_00_40_46_10367.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/39/image_20022025_00_39_26_10435.jpg
/home/pi/Desktop/images/20022025/00/39/image_20022025_00_40_06_10322.jpg
/home/pi/Desktop/images/20022025/00/40/image_20022025_00_40_16_10356.jpg
/home/pi/Desktop/images/20022025/00/40/image_20022025_00_40_25_9328.jpg
/home/pi/Desktop/images/20022025/00/40/image_20022025_00_40_36_10434.jpg
/home/pi/Desktop/images/20022025/00/40/image_20022025_00_40_46_10367.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338581860","1338581854","1338581914","1338581895","1338581910","1338581903"],"photo_ids_order":["1338581854","1338581860","1338581895","1338581903","1338581910","1338581914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a190839b90b5c0cd04c8db730b843d42.jpg","text":"TemporaryFile(/tmp/multipartBody1311676914586738495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050133262,"filename":"image_20022025_00_40_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30db711a841c18b506bc9bbd2c959f83.jpg","text":"TemporaryFile(/tmp/multipartBody4367436706931047696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050133262,"filename":"image_20022025_00_39_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1502a303522936b266867095b63f2593.jpg","text":"TemporaryFile(/tmp/multipartBody3240261307275858728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050133262,"filename":"image_20022025_00_40_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46c73daaf346ade047276cac9d8466a9.jpg","text":"TemporaryFile(/tmp/multipartBody8744637204973706363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050133262,"filename":"image_20022025_00_40_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a97cd2f07a939b8828143a8312e298c7.jpg","text":"TemporaryFile(/tmp/multipartBody9141092493612917731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050133262,"filename":"image_20022025_00_40_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fac963c513b45761fb901142f7649842.jpg","text":"TemporaryFile(/tmp/multipartBody8268729794782528899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050133262,"filename":"image_20022025_00_40_25_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338581895","file1":"1338581860","file0":"1338581854","file4":"1338581910","file5":"1338581914","file3":"1338581903"},"map_files_photo_id_array":[{"photo_id":"1338581914","filename":"file5"},{"photo_id":"1338581895","filename":"file2"},{"photo_id":"1338581910","filename":"file4"},{"photo_id":"1338581860","filename":"file1"},{"photo_id":"1338581854","filename":"file0"},{"photo_id":"1338581903","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338581860":["hashtag1","hashtag2"]},{"1338581854":["hashtag1","hashtag2"]},{"1338581914":["hashtag1","hashtag2"]},{"1338581895":["hashtag1","hashtag2"]},{"1338581910":["hashtag1","hashtag2"]},{"1338581903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338581860, 1338581854, 1338581914, 1338581895, 1338581910, 1338581903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96982765197754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:15:32.877204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_16_10462.jpg', '/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_26_9385.jpg', '/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_36_10347.jpg', '/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_46_9357.jpg', '/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_56_10356.jpg', '/home/pi/Desktop/images/20022025/00/41/image_20022025_00_42_06_10304.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_16_10462.jpg
/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_26_9385.jpg
/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_36_10347.jpg
/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_46_9357.jpg
/home/pi/Desktop/images/20022025/00/41/image_20022025_00_41_56_10356.jpg
/home/pi/Desktop/images/20022025/00/41/image_20022025_00_42_06_10304.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582048","1338582063","1338582039","1338582058","1338582043","1338582052"],"photo_ids_order":["1338582039","1338582043","1338582048","1338582052","1338582058","1338582063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f877dc894cecff739ddea35dbc257fde.jpg","text":"TemporaryFile(/tmp/multipartBody172585406096644242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050193410,"filename":"image_20022025_00_41_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b76a2911bd9a13ca2f3be77731e70c3.jpg","text":"TemporaryFile(/tmp/multipartBody7060360155336337260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050193410,"filename":"image_20022025_00_42_06_10304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7010556461136c09b05bb5553fab3f55.jpg","text":"TemporaryFile(/tmp/multipartBody6848799536198396439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050193410,"filename":"image_20022025_00_41_16_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8228165e2903e28e720e4e42e81ab9c7.jpg","text":"TemporaryFile(/tmp/multipartBody2504844090348998094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050193410,"filename":"image_20022025_00_41_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ebcfa7dd5c411eb3ecfce8fa321c9f0.jpg","text":"TemporaryFile(/tmp/multipartBody7744896986924104825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050193410,"filename":"image_20022025_00_41_26_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/911aeb942668e84a688f2d366d787830.jpg","text":"TemporaryFile(/tmp/multipartBody114313306731432598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050193410,"filename":"image_20022025_00_41_46_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582048","file1":"1338582043","file0":"1338582039","file4":"1338582058","file5":"1338582063","file3":"1338582052"},"map_files_photo_id_array":[{"photo_id":"1338582063","filename":"file5"},{"photo_id":"1338582048","filename":"file2"},{"photo_id":"1338582058","filename":"file4"},{"photo_id":"1338582043","filename":"file1"},{"photo_id":"1338582039","filename":"file0"},{"photo_id":"1338582052","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582048":["hashtag1","hashtag2"]},{"1338582063":["hashtag1","hashtag2"]},{"1338582039":["hashtag1","hashtag2"]},{"1338582058":["hashtag1","hashtag2"]},{"1338582043":["hashtag1","hashtag2"]},{"1338582052":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582048, 1338582063, 1338582039, 1338582058, 1338582043, 1338582052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02446103096008 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:16:33.123408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_16_9324.jpg', '/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_26_10337.jpg', '/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_36_10331.jpg', '/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_46_9452.jpg', '/home/pi/Desktop/images/20022025/00/42/image_20022025_00_43_06_10400.jpg', '/home/pi/Desktop/images/20022025/00/43/image_20022025_00_43_16_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_16_9324.jpg
/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_26_10337.jpg
/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_36_10331.jpg
/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_46_9452.jpg
/home/pi/Desktop/images/20022025/00/42/image_20022025_00_43_06_10400.jpg
/home/pi/Desktop/images/20022025/00/43/image_20022025_00_43_16_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582396","1338582297","1338582301","1338582312","1338582306","1338582316"],"photo_ids_order":["1338582297","1338582301","1338582306","1338582312","1338582316","1338582396"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/258196651961775e38262e662fe812e4.jpg","text":"TemporaryFile(/tmp/multipartBody4265885268625619173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050257002,"filename":"image_20022025_00_43_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29e45cad72103c65408a754feff35d71.jpg","text":"TemporaryFile(/tmp/multipartBody7764183357479213736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050257002,"filename":"image_20022025_00_42_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/61b08419e2cb6e9742b3e71903e6ef7e.jpg","text":"TemporaryFile(/tmp/multipartBody4906406415145001100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050257002,"filename":"image_20022025_00_42_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9be2dcf75342f5985de5aea2e90ae8c8.jpg","text":"TemporaryFile(/tmp/multipartBody7851221149511976101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050257002,"filename":"image_20022025_00_42_46_9452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14f2b5db83ba9b52185f43f95c1408a3.jpg","text":"TemporaryFile(/tmp/multipartBody4874549702712946585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050257002,"filename":"image_20022025_00_42_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/06cf0463dbf68fdb7a585cc7066cc711.jpg","text":"TemporaryFile(/tmp/multipartBody2838868530094985511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050257002,"filename":"image_20022025_00_43_06_10400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582306","file1":"1338582301","file0":"1338582297","file4":"1338582316","file5":"1338582396","file3":"1338582312"},"map_files_photo_id_array":[{"photo_id":"1338582396","filename":"file5"},{"photo_id":"1338582306","filename":"file2"},{"photo_id":"1338582316","filename":"file4"},{"photo_id":"1338582301","filename":"file1"},{"photo_id":"1338582297","filename":"file0"},{"photo_id":"1338582312","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582396":["hashtag1","hashtag2"]},{"1338582297":["hashtag1","hashtag2"]},{"1338582301":["hashtag1","hashtag2"]},{"1338582312":["hashtag1","hashtag2"]},{"1338582306":["hashtag1","hashtag2"]},{"1338582316":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582396, 1338582297, 1338582301, 1338582312, 1338582306, 1338582316)","result":[],"list_datou_current":[]}'
Result OK !
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1338582306 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/20022025/00/42/image_20022025_00_42_36_10331.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 55.17036843299866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:17:32.254794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/43/image_20022025_00_43_26_10342.jpg', '/home/pi/Desktop/images/20022025/00/43/image_20022025_00_43_36_10357.jpg', '/home/pi/Desktop/images/20022025/00/45/image_20022025_00_45_16_10421.jpg', '/home/pi/Desktop/images/20022025/00/45/image_20022025_00_45_26_9432.jpg', '/home/pi/Desktop/images/20022025/00/45/image_20022025_00_45_46_10415.jpg', '/home/pi/Desktop/images/20022025/00/45/image_20022025_00_45_56_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/43/image_20022025_00_43_26_10342.jpg
/home/pi/Desktop/images/20022025/00/43/image_20022025_00_43_36_10357.jpg
/home/pi/Desktop/images/20022025/00/45/image_20022025_00_45_16_10421.jpg
/home/pi/Desktop/images/20022025/00/45/image_20022025_00_45_26_9432.jpg
/home/pi/Desktop/images/20022025/00/45/image_20022025_00_45_46_10415.jpg
/home/pi/Desktop/images/20022025/00/45/image_20022025_00_45_56_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582498","1338582501","1338582506","1338582509","1338582514","1338582502"],"photo_ids_order":["1338582498","1338582501","1338582502","1338582506","1338582509","1338582514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b07d3d3c87c494be24b9944c715e73a.jpg","text":"TemporaryFile(/tmp/multipartBody1870078231698747490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050313370,"filename":"image_20022025_00_43_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5e76d07a9386d8c400242ba1a755e396.jpg","text":"TemporaryFile(/tmp/multipartBody8903665973404067208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050313370,"filename":"image_20022025_00_43_36_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ef94d5e5ec50b01b1db78335434a760.jpg","text":"TemporaryFile(/tmp/multipartBody8639838806725543490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050313370,"filename":"image_20022025_00_45_26_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/279c4128d678d613beb22da0a36aa4d1.jpg","text":"TemporaryFile(/tmp/multipartBody1464592645013090498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050313370,"filename":"image_20022025_00_45_46_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/774bd003e214c566598ff34f145f1ff2.jpg","text":"TemporaryFile(/tmp/multipartBody2357342052078447933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050313370,"filename":"image_20022025_00_45_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0f30f7156d305528c558d4544649476.jpg","text":"TemporaryFile(/tmp/multipartBody4928215866353821100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050313370,"filename":"image_20022025_00_45_16_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582502","file1":"1338582501","file0":"1338582498","file4":"1338582509","file5":"1338582514","file3":"1338582506"},"map_files_photo_id_array":[{"photo_id":"1338582514","filename":"file5"},{"photo_id":"1338582502","filename":"file2"},{"photo_id":"1338582509","filename":"file4"},{"photo_id":"1338582501","filename":"file1"},{"photo_id":"1338582498","filename":"file0"},{"photo_id":"1338582506","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582498":["hashtag1","hashtag2"]},{"1338582501":["hashtag1","hashtag2"]},{"1338582506":["hashtag1","hashtag2"]},{"1338582509":["hashtag1","hashtag2"]},{"1338582514":["hashtag1","hashtag2"]},{"1338582502":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582498, 1338582501, 1338582506, 1338582509, 1338582514, 1338582502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.072041034698486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:18:32.450413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/45/image_20022025_00_46_06_10332.jpg', '/home/pi/Desktop/images/20022025/00/46/image_20022025_00_46_16_10387.jpg', '/home/pi/Desktop/images/20022025/00/46/image_20022025_00_46_26_9317.jpg', '/home/pi/Desktop/images/20022025/00/46/image_20022025_00_46_36_10415.jpg', '/home/pi/Desktop/images/20022025/00/46/image_20022025_00_46_56_10333.jpg', '/home/pi/Desktop/images/20022025/00/46/image_20022025_00_47_06_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/45/image_20022025_00_46_06_10332.jpg
/home/pi/Desktop/images/20022025/00/46/image_20022025_00_46_16_10387.jpg
/home/pi/Desktop/images/20022025/00/46/image_20022025_00_46_26_9317.jpg
/home/pi/Desktop/images/20022025/00/46/image_20022025_00_46_36_10415.jpg
/home/pi/Desktop/images/20022025/00/46/image_20022025_00_46_56_10333.jpg
/home/pi/Desktop/images/20022025/00/46/image_20022025_00_47_06_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582540","1338582534","1338582560","1338582551","1338582556","1338582544"],"photo_ids_order":["1338582534","1338582540","1338582544","1338582551","1338582556","1338582560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c7aa6d9e0f530a661da15d81edb194e.jpg","text":"TemporaryFile(/tmp/multipartBody3942603666035626984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050372987,"filename":"image_20022025_00_46_16_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7b10602018d856058387d442ec2538d.jpg","text":"TemporaryFile(/tmp/multipartBody2730974512331340867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050372987,"filename":"image_20022025_00_46_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8cfae0c3f0891a3785be9d5b14402fba.jpg","text":"TemporaryFile(/tmp/multipartBody8375508643240605769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050372987,"filename":"image_20022025_00_47_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5fa6d6935259e84d542b97926ea3a366.jpg","text":"TemporaryFile(/tmp/multipartBody7936590757020552385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050372987,"filename":"image_20022025_00_46_36_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0ad35f5557ddc1f0dab7a5afb8ee9c5.jpg","text":"TemporaryFile(/tmp/multipartBody5097505804955908111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050372987,"filename":"image_20022025_00_46_56_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/976c32937237e2d12685b9b334f0aa05.jpg","text":"TemporaryFile(/tmp/multipartBody9152581110770582046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050372987,"filename":"image_20022025_00_46_26_9317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582544","file1":"1338582540","file0":"1338582534","file4":"1338582556","file5":"1338582560","file3":"1338582551"},"map_files_photo_id_array":[{"photo_id":"1338582560","filename":"file5"},{"photo_id":"1338582544","filename":"file2"},{"photo_id":"1338582556","filename":"file4"},{"photo_id":"1338582540","filename":"file1"},{"photo_id":"1338582534","filename":"file0"},{"photo_id":"1338582551","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582540":["hashtag1","hashtag2"]},{"1338582534":["hashtag1","hashtag2"]},{"1338582560":["hashtag1","hashtag2"]},{"1338582551":["hashtag1","hashtag2"]},{"1338582556":["hashtag1","hashtag2"]},{"1338582544":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582540, 1338582534, 1338582560, 1338582551, 1338582556, 1338582544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21778988838196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:19:32.630796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/47/image_20022025_00_47_36_10389.jpg', '/home/pi/Desktop/images/20022025/00/47/image_20022025_00_47_46_9339.jpg', '/home/pi/Desktop/images/20022025/00/47/image_20022025_00_48_06_9397.jpg', '/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_16_10416.jpg', '/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_26_10468.jpg', '/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_36_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/47/image_20022025_00_47_36_10389.jpg
/home/pi/Desktop/images/20022025/00/47/image_20022025_00_47_46_9339.jpg
/home/pi/Desktop/images/20022025/00/47/image_20022025_00_48_06_9397.jpg
/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_16_10416.jpg
/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_26_10468.jpg
/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_36_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582607","1338582609","1338582600","1338582584","1338582622","1338582616"],"photo_ids_order":["1338582584","1338582600","1338582607","1338582609","1338582616","1338582622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56cd67ead31b8bbeace8f7df87f40188.jpg","text":"TemporaryFile(/tmp/multipartBody3247165774371103405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050433483,"filename":"image_20022025_00_48_06_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/43062590ebc7e5ed6fd8c2f8dc3e24e6.jpg","text":"TemporaryFile(/tmp/multipartBody7206173693089562753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050433483,"filename":"image_20022025_00_48_16_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba8f59baf0502ddfa8e50fc4a34e0c70.jpg","text":"TemporaryFile(/tmp/multipartBody4108294550658134055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050433483,"filename":"image_20022025_00_47_46_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28423d39b49d2da3499a28254d22c08f.jpg","text":"TemporaryFile(/tmp/multipartBody394974289130506668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050433483,"filename":"image_20022025_00_47_36_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b50e50f7e8feca7801ec01b4556963ba.jpg","text":"TemporaryFile(/tmp/multipartBody299725049685106419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050433483,"filename":"image_20022025_00_48_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a2279284a0e23d8f0e8ea981fef21c9.jpg","text":"TemporaryFile(/tmp/multipartBody8018939014981684321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050433483,"filename":"image_20022025_00_48_26_10468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582607","file1":"1338582600","file0":"1338582584","file4":"1338582616","file5":"1338582622","file3":"1338582609"},"map_files_photo_id_array":[{"photo_id":"1338582622","filename":"file5"},{"photo_id":"1338582607","filename":"file2"},{"photo_id":"1338582616","filename":"file4"},{"photo_id":"1338582600","filename":"file1"},{"photo_id":"1338582584","filename":"file0"},{"photo_id":"1338582609","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582607":["hashtag1","hashtag2"]},{"1338582609":["hashtag1","hashtag2"]},{"1338582600":["hashtag1","hashtag2"]},{"1338582584":["hashtag1","hashtag2"]},{"1338582622":["hashtag1","hashtag2"]},{"1338582616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582607, 1338582609, 1338582600, 1338582584, 1338582622, 1338582616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.227734088897705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:20:32.842545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_46_10398.jpg', '/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_56_9354.jpg', '/home/pi/Desktop/images/20022025/00/48/image_20022025_00_49_06_10343.jpg', '/home/pi/Desktop/images/20022025/00/49/image_20022025_00_49_16_10338.jpg', '/home/pi/Desktop/images/20022025/00/49/image_20022025_00_49_36_9461.jpg', '/home/pi/Desktop/images/20022025/00/49/image_20022025_00_49_46_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_46_10398.jpg
/home/pi/Desktop/images/20022025/00/48/image_20022025_00_48_56_9354.jpg
/home/pi/Desktop/images/20022025/00/48/image_20022025_00_49_06_10343.jpg
/home/pi/Desktop/images/20022025/00/49/image_20022025_00_49_16_10338.jpg
/home/pi/Desktop/images/20022025/00/49/image_20022025_00_49_36_9461.jpg
/home/pi/Desktop/images/20022025/00/49/image_20022025_00_49_46_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582732","1338582683","1338582740","1338582728","1338582725","1338582736"],"photo_ids_order":["1338582683","1338582725","1338582728","1338582732","1338582736","1338582740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75d9e992cbb35bc7831f5cef7edd6084.jpg","text":"TemporaryFile(/tmp/multipartBody7884833893013804403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050494169,"filename":"image_20022025_00_49_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1b31fa9909b031ec523e8d69d7801d9.jpg","text":"TemporaryFile(/tmp/multipartBody1308593003757879166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050494169,"filename":"image_20022025_00_48_46_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12a197fbb0a595bcb0fd949b38467677.jpg","text":"TemporaryFile(/tmp/multipartBody5649431745597318870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050494169,"filename":"image_20022025_00_49_46_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e187125e2923def585a5f51f3dc968e2.jpg","text":"TemporaryFile(/tmp/multipartBody5944775029412284999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050494169,"filename":"image_20022025_00_49_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e881c88038c182254b62d1b96277ad06.jpg","text":"TemporaryFile(/tmp/multipartBody1555528075164631579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050494169,"filename":"image_20022025_00_48_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12170433911faaa3c562463fb03d9bbf.jpg","text":"TemporaryFile(/tmp/multipartBody6460304207576515949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050494169,"filename":"image_20022025_00_49_36_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582728","file1":"1338582725","file0":"1338582683","file4":"1338582736","file5":"1338582740","file3":"1338582732"},"map_files_photo_id_array":[{"photo_id":"1338582740","filename":"file5"},{"photo_id":"1338582728","filename":"file2"},{"photo_id":"1338582736","filename":"file4"},{"photo_id":"1338582725","filename":"file1"},{"photo_id":"1338582683","filename":"file0"},{"photo_id":"1338582732","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582732":["hashtag1","hashtag2"]},{"1338582683":["hashtag1","hashtag2"]},{"1338582740":["hashtag1","hashtag2"]},{"1338582728":["hashtag1","hashtag2"]},{"1338582725":["hashtag1","hashtag2"]},{"1338582736":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582732, 1338582683, 1338582740, 1338582728, 1338582725, 1338582736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.922364950180054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:21:32.967511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/50/image_20022025_00_50_36_9334.jpg', '/home/pi/Desktop/images/20022025/00/50/image_20022025_00_50_46_10426.jpg', '/home/pi/Desktop/images/20022025/00/50/image_20022025_00_50_56_9335.jpg', '/home/pi/Desktop/images/20022025/00/50/image_20022025_00_51_06_10329.jpg', '/home/pi/Desktop/images/20022025/00/51/image_20022025_00_51_16_10367.jpg', '/home/pi/Desktop/images/20022025/00/51/image_20022025_00_51_26_9419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/50/image_20022025_00_50_36_9334.jpg
/home/pi/Desktop/images/20022025/00/50/image_20022025_00_50_46_10426.jpg
/home/pi/Desktop/images/20022025/00/50/image_20022025_00_50_56_9335.jpg
/home/pi/Desktop/images/20022025/00/50/image_20022025_00_51_06_10329.jpg
/home/pi/Desktop/images/20022025/00/51/image_20022025_00_51_16_10367.jpg
/home/pi/Desktop/images/20022025/00/51/image_20022025_00_51_26_9419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582782","1338582785","1338582773","1338582769","1338582784","1338582778"],"photo_ids_order":["1338582769","1338582773","1338582778","1338582782","1338582784","1338582785"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78d81c5c28ecfe9ee5a55d11cfa010d3.jpg","text":"TemporaryFile(/tmp/multipartBody3899484648667201796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050553509,"filename":"image_20022025_00_51_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/294e1eb5fa004dd1953fe43251460321.jpg","text":"TemporaryFile(/tmp/multipartBody3407002981328078108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050553509,"filename":"image_20022025_00_51_26_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c04374a9e058cdaf70153596f17dad27.jpg","text":"TemporaryFile(/tmp/multipartBody1884714118367171822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050553509,"filename":"image_20022025_00_50_46_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff96291d93f41ca9740041289c974c21.jpg","text":"TemporaryFile(/tmp/multipartBody8076963608623364864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050553509,"filename":"image_20022025_00_50_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1688674a0081053d68232dad37407421.jpg","text":"TemporaryFile(/tmp/multipartBody1015868389848188703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050553509,"filename":"image_20022025_00_51_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/921001c79378208ee314a83b2e98ede9.jpg","text":"TemporaryFile(/tmp/multipartBody5418139907208478630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050553509,"filename":"image_20022025_00_50_56_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582778","file1":"1338582773","file0":"1338582769","file4":"1338582784","file5":"1338582785","file3":"1338582782"},"map_files_photo_id_array":[{"photo_id":"1338582785","filename":"file5"},{"photo_id":"1338582778","filename":"file2"},{"photo_id":"1338582784","filename":"file4"},{"photo_id":"1338582773","filename":"file1"},{"photo_id":"1338582769","filename":"file0"},{"photo_id":"1338582782","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582782":["hashtag1","hashtag2"]},{"1338582785":["hashtag1","hashtag2"]},{"1338582773":["hashtag1","hashtag2"]},{"1338582769":["hashtag1","hashtag2"]},{"1338582784":["hashtag1","hashtag2"]},{"1338582778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582782, 1338582785, 1338582773, 1338582769, 1338582784, 1338582778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.379545211791992 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:22:33.142883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/51/image_20022025_00_51_36_10331.jpg', '/home/pi/Desktop/images/20022025/00/51/image_20022025_00_51_46_10464.jpg', '/home/pi/Desktop/images/20022025/00/51/image_20022025_00_52_06_10375.jpg', '/home/pi/Desktop/images/20022025/00/52/image_20022025_00_52_16_9396.jpg', '/home/pi/Desktop/images/20022025/00/52/image_20022025_00_52_26_10346.jpg', '/home/pi/Desktop/images/20022025/00/52/image_20022025_00_52_36_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/51/image_20022025_00_51_36_10331.jpg
/home/pi/Desktop/images/20022025/00/51/image_20022025_00_51_46_10464.jpg
/home/pi/Desktop/images/20022025/00/51/image_20022025_00_52_06_10375.jpg
/home/pi/Desktop/images/20022025/00/52/image_20022025_00_52_16_9396.jpg
/home/pi/Desktop/images/20022025/00/52/image_20022025_00_52_26_10346.jpg
/home/pi/Desktop/images/20022025/00/52/image_20022025_00_52_36_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582823","1338582810","1338582827","1338582818","1338582814","1338582808"],"photo_ids_order":["1338582808","1338582810","1338582814","1338582818","1338582823","1338582827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7036ccab1df0224a8093679e73769b9e.jpg","text":"TemporaryFile(/tmp/multipartBody3805800165266486102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050613684,"filename":"image_20022025_00_52_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c9c91312c95c90ac033f2c0af9148a2.jpg","text":"TemporaryFile(/tmp/multipartBody3158535442769128392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050613684,"filename":"image_20022025_00_51_46_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2a5b4f87e727e3778116c4046e2ccea.jpg","text":"TemporaryFile(/tmp/multipartBody7804586908867380742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050613684,"filename":"image_20022025_00_52_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50c3d563fb4890166eec58565086ed06.jpg","text":"TemporaryFile(/tmp/multipartBody4905470766547843834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050613684,"filename":"image_20022025_00_52_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ddc2ab70d433b834386fcadf16bb3ef.jpg","text":"TemporaryFile(/tmp/multipartBody596761544588706739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050613684,"filename":"image_20022025_00_52_06_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2414cc9fe581a07c55d8f4536a3fd017.jpg","text":"TemporaryFile(/tmp/multipartBody6692775537009128485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050613684,"filename":"image_20022025_00_51_36_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582814","file1":"1338582810","file0":"1338582808","file4":"1338582823","file5":"1338582827","file3":"1338582818"},"map_files_photo_id_array":[{"photo_id":"1338582827","filename":"file5"},{"photo_id":"1338582814","filename":"file2"},{"photo_id":"1338582823","filename":"file4"},{"photo_id":"1338582810","filename":"file1"},{"photo_id":"1338582808","filename":"file0"},{"photo_id":"1338582818","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582823":["hashtag1","hashtag2"]},{"1338582810":["hashtag1","hashtag2"]},{"1338582827":["hashtag1","hashtag2"]},{"1338582818":["hashtag1","hashtag2"]},{"1338582814":["hashtag1","hashtag2"]},{"1338582808":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582823, 1338582810, 1338582827, 1338582818, 1338582814, 1338582808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.90111470222473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:23:32.334079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/52/image_20022025_00_53_06_10388.jpg', '/home/pi/Desktop/images/20022025/00/53/image_20022025_00_53_16_9401.jpg', '/home/pi/Desktop/images/20022025/00/53/image_20022025_00_53_26_10333.jpg', '/home/pi/Desktop/images/20022025/00/53/image_20022025_00_53_36_10404.jpg', '/home/pi/Desktop/images/20022025/00/53/image_20022025_00_53_56_10365.jpg', '/home/pi/Desktop/images/20022025/00/53/image_20022025_00_54_06_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/52/image_20022025_00_53_06_10388.jpg
/home/pi/Desktop/images/20022025/00/53/image_20022025_00_53_16_9401.jpg
/home/pi/Desktop/images/20022025/00/53/image_20022025_00_53_26_10333.jpg
/home/pi/Desktop/images/20022025/00/53/image_20022025_00_53_36_10404.jpg
/home/pi/Desktop/images/20022025/00/53/image_20022025_00_53_56_10365.jpg
/home/pi/Desktop/images/20022025/00/53/image_20022025_00_54_06_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338582852","1338582863","1338582866","1338582857","1338582859","1338582847"],"photo_ids_order":["1338582847","1338582852","1338582857","1338582859","1338582863","1338582866"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f12b74c0155725db34d55e994794abea.jpg","text":"TemporaryFile(/tmp/multipartBody9068778179167545644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050672881,"filename":"image_20022025_00_53_16_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a5e753b6c2e41cdae006666510030c09.jpg","text":"TemporaryFile(/tmp/multipartBody3554167477954351827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050672881,"filename":"image_20022025_00_53_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/606b7f95e146b6bc58ae60092af44f05.jpg","text":"TemporaryFile(/tmp/multipartBody8863908193215914929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050672881,"filename":"image_20022025_00_54_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/185fbfd7943547e28b2d05ce71651d52.jpg","text":"TemporaryFile(/tmp/multipartBody7871118276582324084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050672881,"filename":"image_20022025_00_53_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/334d8f437e169f6776659762a8c39b7f.jpg","text":"TemporaryFile(/tmp/multipartBody1949150677287678501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050672881,"filename":"image_20022025_00_53_36_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/efa7c515994b51aa0124343ce0e32af0.jpg","text":"TemporaryFile(/tmp/multipartBody3383433334284001975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050672881,"filename":"image_20022025_00_53_06_10388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338582857","file1":"1338582852","file0":"1338582847","file4":"1338582863","file5":"1338582866","file3":"1338582859"},"map_files_photo_id_array":[{"photo_id":"1338582866","filename":"file5"},{"photo_id":"1338582857","filename":"file2"},{"photo_id":"1338582863","filename":"file4"},{"photo_id":"1338582852","filename":"file1"},{"photo_id":"1338582847","filename":"file0"},{"photo_id":"1338582859","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338582852":["hashtag1","hashtag2"]},{"1338582863":["hashtag1","hashtag2"]},{"1338582866":["hashtag1","hashtag2"]},{"1338582857":["hashtag1","hashtag2"]},{"1338582859":["hashtag1","hashtag2"]},{"1338582847":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338582852, 1338582863, 1338582866, 1338582857, 1338582859, 1338582847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.966424226760864 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:24:32.628770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/54/image_20022025_00_54_16_10347.jpg', '/home/pi/Desktop/images/20022025/00/54/image_20022025_00_54_26_10352.jpg', '/home/pi/Desktop/images/20022025/00/54/image_20022025_00_54_36_9394.jpg', '/home/pi/Desktop/images/20022025/00/54/image_20022025_00_54_46_10346.jpg', '/home/pi/Desktop/images/20022025/00/54/image_20022025_00_55_06_9375.jpg', '/home/pi/Desktop/images/20022025/00/55/image_20022025_00_55_16_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/54/image_20022025_00_54_16_10347.jpg
/home/pi/Desktop/images/20022025/00/54/image_20022025_00_54_26_10352.jpg
/home/pi/Desktop/images/20022025/00/54/image_20022025_00_54_36_9394.jpg
/home/pi/Desktop/images/20022025/00/54/image_20022025_00_54_46_10346.jpg
/home/pi/Desktop/images/20022025/00/54/image_20022025_00_55_06_9375.jpg
/home/pi/Desktop/images/20022025/00/55/image_20022025_00_55_16_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338583032","1338583038","1338583023","1338583042","1338583018","1338583027"],"photo_ids_order":["1338583018","1338583023","1338583027","1338583032","1338583038","1338583042"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8ff150e38b71636386c02e4771b5853.jpg","text":"TemporaryFile(/tmp/multipartBody1910424307918061993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050733166,"filename":"image_20022025_00_54_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff201324d65cd8ad6bc463985f3f9bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8621574069852013818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050733166,"filename":"image_20022025_00_55_06_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/63ddbc867dd13f2759cba8a136cf26bc.jpg","text":"TemporaryFile(/tmp/multipartBody8088546913059281870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050733166,"filename":"image_20022025_00_54_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/15778efed467641196ea7e2deb905acd.jpg","text":"TemporaryFile(/tmp/multipartBody7562953430969791579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050733166,"filename":"image_20022025_00_55_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6103c9eec5edada0d9314eb8f1ff53a.jpg","text":"TemporaryFile(/tmp/multipartBody8479703278188309784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050733166,"filename":"image_20022025_00_54_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b5beb6a06291c17ccffd06c38c9763e9.jpg","text":"TemporaryFile(/tmp/multipartBody8995754886374791798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050733166,"filename":"image_20022025_00_54_36_9394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338583027","file1":"1338583023","file0":"1338583018","file4":"1338583038","file5":"1338583042","file3":"1338583032"},"map_files_photo_id_array":[{"photo_id":"1338583042","filename":"file5"},{"photo_id":"1338583027","filename":"file2"},{"photo_id":"1338583038","filename":"file4"},{"photo_id":"1338583023","filename":"file1"},{"photo_id":"1338583018","filename":"file0"},{"photo_id":"1338583032","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338583032":["hashtag1","hashtag2"]},{"1338583038":["hashtag1","hashtag2"]},{"1338583023":["hashtag1","hashtag2"]},{"1338583042":["hashtag1","hashtag2"]},{"1338583018":["hashtag1","hashtag2"]},{"1338583027":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338583032, 1338583038, 1338583023, 1338583042, 1338583018, 1338583027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4775595664978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:25:32.623664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/55/image_20022025_00_55_25_9362.jpg', '/home/pi/Desktop/images/20022025/00/55/image_20022025_00_55_46_10358.jpg', '/home/pi/Desktop/images/20022025/00/56/image_20022025_00_56_26_10330.jpg', '/home/pi/Desktop/images/20022025/00/56/image_20022025_00_57_06_10395.jpg', '/home/pi/Desktop/images/20022025/00/57/image_20022025_00_57_16_9337.jpg', '/home/pi/Desktop/images/20022025/00/57/image_20022025_00_57_26_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/55/image_20022025_00_55_25_9362.jpg
/home/pi/Desktop/images/20022025/00/55/image_20022025_00_55_46_10358.jpg
/home/pi/Desktop/images/20022025/00/56/image_20022025_00_56_26_10330.jpg
/home/pi/Desktop/images/20022025/00/56/image_20022025_00_57_06_10395.jpg
/home/pi/Desktop/images/20022025/00/57/image_20022025_00_57_16_9337.jpg
/home/pi/Desktop/images/20022025/00/57/image_20022025_00_57_26_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338583068","1338583082","1338583061","1338583072","1338583077","1338583065"],"photo_ids_order":["1338583061","1338583065","1338583068","1338583072","1338583077","1338583082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1cd5382709f430c7f2b9f352afdedd1.jpg","text":"TemporaryFile(/tmp/multipartBody5171331401677102461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050793175,"filename":"image_20022025_00_56_26_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9f32242e43bc9c85ae388d2ea578c475.jpg","text":"TemporaryFile(/tmp/multipartBody4397416885433315138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050793175,"filename":"image_20022025_00_57_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac863f330de85394ef446e0b4e38ccc1.jpg","text":"TemporaryFile(/tmp/multipartBody3264813898875030112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050793175,"filename":"image_20022025_00_55_25_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1437afb919380c4a3d29df86da9ca5ed.jpg","text":"TemporaryFile(/tmp/multipartBody1480092123659227251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050793175,"filename":"image_20022025_00_57_06_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/85d9d8e6ce890b6dd0374ac3e9e9cf25.jpg","text":"TemporaryFile(/tmp/multipartBody2478044888061286665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050793175,"filename":"image_20022025_00_57_16_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe1b9ea053e705617e870d4f6b024d11.jpg","text":"TemporaryFile(/tmp/multipartBody1525748290514213554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050793175,"filename":"image_20022025_00_55_46_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338583068","file1":"1338583065","file0":"1338583061","file4":"1338583077","file5":"1338583082","file3":"1338583072"},"map_files_photo_id_array":[{"photo_id":"1338583082","filename":"file5"},{"photo_id":"1338583068","filename":"file2"},{"photo_id":"1338583077","filename":"file4"},{"photo_id":"1338583065","filename":"file1"},{"photo_id":"1338583061","filename":"file0"},{"photo_id":"1338583072","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338583068":["hashtag1","hashtag2"]},{"1338583082":["hashtag1","hashtag2"]},{"1338583061":["hashtag1","hashtag2"]},{"1338583072":["hashtag1","hashtag2"]},{"1338583077":["hashtag1","hashtag2"]},{"1338583065":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338583068, 1338583082, 1338583061, 1338583072, 1338583077, 1338583065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21155261993408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:26:33.007570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/57/image_20022025_00_57_46_10353.jpg', '/home/pi/Desktop/images/20022025/00/57/image_20022025_00_57_56_10438.jpg', '/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_16_10342.jpg', '/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_26_9446.jpg', '/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_36_10022.jpg', '/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_46_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/57/image_20022025_00_57_46_10353.jpg
/home/pi/Desktop/images/20022025/00/57/image_20022025_00_57_56_10438.jpg
/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_16_10342.jpg
/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_26_9446.jpg
/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_36_10022.jpg
/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_46_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338583842","1338584027","1338584032","1338583916","1338584013","1338583752"],"photo_ids_order":["1338583752","1338583842","1338583916","1338584013","1338584027","1338584032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/063718571fda5fca2d810aa95c3a8f79.jpg","text":"TemporaryFile(/tmp/multipartBody1738621522217941632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050853547,"filename":"image_20022025_00_57_56_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e4eb8a56d07301c8706e84c99cb618e.jpg","text":"TemporaryFile(/tmp/multipartBody236239813968910964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050853547,"filename":"image_20022025_00_58_36_10022.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30559880caa12bef14bd32a5299a83cc.jpg","text":"TemporaryFile(/tmp/multipartBody859598312969014200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050853547,"filename":"image_20022025_00_58_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/462a6f1c65c360a10ece0acec2888fb1.jpg","text":"TemporaryFile(/tmp/multipartBody561632556410304192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050853547,"filename":"image_20022025_00_58_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ceaf9f58c6fe1c420d17d45fcc7ff37.jpg","text":"TemporaryFile(/tmp/multipartBody5301150155304102529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050853547,"filename":"image_20022025_00_58_26_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/27eb8cb686db166d140a6fea6ce185ec.jpg","text":"TemporaryFile(/tmp/multipartBody8020024970680910552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050853547,"filename":"image_20022025_00_57_46_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338583916","file1":"1338583842","file0":"1338583752","file4":"1338584027","file5":"1338584032","file3":"1338584013"},"map_files_photo_id_array":[{"photo_id":"1338584032","filename":"file5"},{"photo_id":"1338583916","filename":"file2"},{"photo_id":"1338584027","filename":"file4"},{"photo_id":"1338583842","filename":"file1"},{"photo_id":"1338583752","filename":"file0"},{"photo_id":"1338584013","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338583842":["hashtag1","hashtag2"]},{"1338584027":["hashtag1","hashtag2"]},{"1338584032":["hashtag1","hashtag2"]},{"1338583916":["hashtag1","hashtag2"]},{"1338584013":["hashtag1","hashtag2"]},{"1338583752":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338583842, 1338584027, 1338584032, 1338583916, 1338584013, 1338583752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.90422534942627 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:27:33.018957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_56_10409.jpg', '/home/pi/Desktop/images/20022025/00/58/image_20022025_00_59_06_9308.jpg', '/home/pi/Desktop/images/20022025/00/59/image_20022025_00_59_16_10339.jpg', '/home/pi/Desktop/images/20022025/00/59/image_20022025_00_59_26_10394.jpg', '/home/pi/Desktop/images/20022025/00/59/image_20022025_00_59_56_10447.jpg', '/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_26_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/00/58/image_20022025_00_58_56_10409.jpg
/home/pi/Desktop/images/20022025/00/58/image_20022025_00_59_06_9308.jpg
/home/pi/Desktop/images/20022025/00/59/image_20022025_00_59_16_10339.jpg
/home/pi/Desktop/images/20022025/00/59/image_20022025_00_59_26_10394.jpg
/home/pi/Desktop/images/20022025/00/59/image_20022025_00_59_56_10447.jpg
/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_26_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338584081","1338584182","1338584077","1338584286","1338584085","1338584118"],"photo_ids_order":["1338584077","1338584081","1338584085","1338584118","1338584182","1338584286"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/553bfb1156079b29d34c6a11184fb752.jpg","text":"TemporaryFile(/tmp/multipartBody7618301191182595231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050913563,"filename":"image_20022025_00_59_06_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/788f4b3c391fd1c984c4989a84442784.jpg","text":"TemporaryFile(/tmp/multipartBody5341346004502083469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050913563,"filename":"image_20022025_00_59_56_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00ce84cdb313cb8884ece02df81ab883.jpg","text":"TemporaryFile(/tmp/multipartBody7572617493602046145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050913563,"filename":"image_20022025_00_58_56_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/839ff19af7798621ba6622a137fab125.jpg","text":"TemporaryFile(/tmp/multipartBody8581053070684083571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050913563,"filename":"image_20022025_01_00_26_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c72c9edc71b967a18c03e556da50e29.jpg","text":"TemporaryFile(/tmp/multipartBody3475429843504094107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050913563,"filename":"image_20022025_00_59_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a6c8a18ac30083f43ef6d394b94350ab.jpg","text":"TemporaryFile(/tmp/multipartBody485382366686551476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050913563,"filename":"image_20022025_00_59_26_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338584085","file1":"1338584081","file0":"1338584077","file4":"1338584182","file5":"1338584286","file3":"1338584118"},"map_files_photo_id_array":[{"photo_id":"1338584286","filename":"file5"},{"photo_id":"1338584085","filename":"file2"},{"photo_id":"1338584182","filename":"file4"},{"photo_id":"1338584081","filename":"file1"},{"photo_id":"1338584077","filename":"file0"},{"photo_id":"1338584118","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338584081":["hashtag1","hashtag2"]},{"1338584182":["hashtag1","hashtag2"]},{"1338584077":["hashtag1","hashtag2"]},{"1338584286":["hashtag1","hashtag2"]},{"1338584085":["hashtag1","hashtag2"]},{"1338584118":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338584081, 1338584182, 1338584077, 1338584286, 1338584085, 1338584118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.430400371551514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:28:32.189152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_37_10419.jpg', '/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_46_9402.jpg', '/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_56_10471.jpg', '/home/pi/Desktop/images/20022025/01/01/image_20022025_01_01_36_9342.jpg', '/home/pi/Desktop/images/20022025/01/01/image_20022025_01_01_56_9413.jpg', '/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_17_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_37_10419.jpg
/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_46_9402.jpg
/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_56_10471.jpg
/home/pi/Desktop/images/20022025/01/01/image_20022025_01_01_36_9342.jpg
/home/pi/Desktop/images/20022025/01/01/image_20022025_01_01_56_9413.jpg
/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_17_10431.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5880229473114014 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:28:42.292719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_37_10419.jpg', '/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_46_9402.jpg', '/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_56_10471.jpg', '/home/pi/Desktop/images/20022025/01/01/image_20022025_01_01_36_9342.jpg', '/home/pi/Desktop/images/20022025/01/01/image_20022025_01_01_56_9413.jpg', '/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_17_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_37_10419.jpg
/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_46_9402.jpg
/home/pi/Desktop/images/20022025/01/00/image_20022025_01_00_56_10471.jpg
/home/pi/Desktop/images/20022025/01/01/image_20022025_01_01_36_9342.jpg
/home/pi/Desktop/images/20022025/01/01/image_20022025_01_01_56_9413.jpg
/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_17_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338584588","1338584657","1338584702","1338584641","1338584635","1338584757"],"photo_ids_order":["1338584588","1338584635","1338584641","1338584657","1338584702","1338584757"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fdd20ba06dbb6aec0344affe08829a13.jpg","text":"TemporaryFile(/tmp/multipartBody5553193025882490837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050982774,"filename":"image_20022025_01_00_37_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be1545766d8d43053cb2db51e28041ee.jpg","text":"TemporaryFile(/tmp/multipartBody1972444032186222850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050982774,"filename":"image_20022025_01_01_36_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bfa96aff9a128a45eb9adce4839b2ef6.jpg","text":"TemporaryFile(/tmp/multipartBody8300460246233667601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050982774,"filename":"image_20022025_01_01_56_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a1c95adb84d675d63e1c39d7b8c20176.jpg","text":"TemporaryFile(/tmp/multipartBody5679212103841440904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050982774,"filename":"image_20022025_01_00_56_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59a5b3eb7dbca1dee3c1438a24ca9071.jpg","text":"TemporaryFile(/tmp/multipartBody6098326650783325870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050982774,"filename":"image_20022025_01_00_46_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd0e6ea05ae4af58f00fb5d620e38a68.jpg","text":"TemporaryFile(/tmp/multipartBody2512267141695548345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740050982774,"filename":"image_20022025_01_02_17_10431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338584641","file1":"1338584635","file0":"1338584588","file4":"1338584702","file5":"1338584757","file3":"1338584657"},"map_files_photo_id_array":[{"photo_id":"1338584757","filename":"file5"},{"photo_id":"1338584641","filename":"file2"},{"photo_id":"1338584702","filename":"file4"},{"photo_id":"1338584635","filename":"file1"},{"photo_id":"1338584588","filename":"file0"},{"photo_id":"1338584657","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338584588":["hashtag1","hashtag2"]},{"1338584657":["hashtag1","hashtag2"]},{"1338584702":["hashtag1","hashtag2"]},{"1338584641":["hashtag1","hashtag2"]},{"1338584635":["hashtag1","hashtag2"]},{"1338584757":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338584588, 1338584657, 1338584702, 1338584641, 1338584635, 1338584757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78185200691223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:29:32.387041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_36_10315.jpg', '/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_47_10358.jpg', '/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_56_9319.jpg', '/home/pi/Desktop/images/20022025/01/03/image_20022025_01_03_17_10449.jpg', '/home/pi/Desktop/images/20022025/01/03/image_20022025_01_03_26_9339.jpg', '/home/pi/Desktop/images/20022025/01/03/image_20022025_01_03_56_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_36_10315.jpg
/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_47_10358.jpg
/home/pi/Desktop/images/20022025/01/02/image_20022025_01_02_56_9319.jpg
/home/pi/Desktop/images/20022025/01/03/image_20022025_01_03_17_10449.jpg
/home/pi/Desktop/images/20022025/01/03/image_20022025_01_03_26_9339.jpg
/home/pi/Desktop/images/20022025/01/03/image_20022025_01_03_56_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338585443","1338585484","1338585492","1338585480","1338585497","1338585488"],"photo_ids_order":["1338585443","1338585480","1338585484","1338585488","1338585492","1338585497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e0aa814acaca9df050245b26c1872e3.jpg","text":"TemporaryFile(/tmp/multipartBody6711091467528491344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051032941,"filename":"image_20022025_01_02_36_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/06ed23b8afe8314e755baf1f64cba492.jpg","text":"TemporaryFile(/tmp/multipartBody3937233020347803486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051032941,"filename":"image_20022025_01_02_56_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/272a08f5720512bf23cb812d3e5f3b4f.jpg","text":"TemporaryFile(/tmp/multipartBody5230869282656088613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051032941,"filename":"image_20022025_01_03_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ddfe6924106f1dc182b429ddbd15698.jpg","text":"TemporaryFile(/tmp/multipartBody11179511928767325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051032941,"filename":"image_20022025_01_02_47_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8928a01e6d6d9c93300efc9bdf23d302.jpg","text":"TemporaryFile(/tmp/multipartBody8084113670058510796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051032941,"filename":"image_20022025_01_03_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88c07ec61872abfc2cbae5ded5204fc3.jpg","text":"TemporaryFile(/tmp/multipartBody484609875984316483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051032941,"filename":"image_20022025_01_03_17_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338585484","file1":"1338585480","file0":"1338585443","file4":"1338585492","file5":"1338585497","file3":"1338585488"},"map_files_photo_id_array":[{"photo_id":"1338585497","filename":"file5"},{"photo_id":"1338585484","filename":"file2"},{"photo_id":"1338585492","filename":"file4"},{"photo_id":"1338585480","filename":"file1"},{"photo_id":"1338585443","filename":"file0"},{"photo_id":"1338585488","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338585443":["hashtag1","hashtag2"]},{"1338585484":["hashtag1","hashtag2"]},{"1338585492":["hashtag1","hashtag2"]},{"1338585480":["hashtag1","hashtag2"]},{"1338585497":["hashtag1","hashtag2"]},{"1338585488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338585443, 1338585484, 1338585492, 1338585480, 1338585497, 1338585488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.079606771469116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:30:32.517403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/03/image_20022025_01_04_06_10346.jpg', '/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_16_9403.jpg', '/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_26_10335.jpg', '/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_37_10336.jpg', '/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_46_9330.jpg', '/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_56_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/03/image_20022025_01_04_06_10346.jpg
/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_16_9403.jpg
/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_26_10335.jpg
/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_37_10336.jpg
/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_46_9330.jpg
/home/pi/Desktop/images/20022025/01/04/image_20022025_01_04_56_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338585755","1338585740","1338585737","1338585763","1338585745","1338585708"],"photo_ids_order":["1338585708","1338585737","1338585740","1338585745","1338585755","1338585763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82d89a32c35cec84e2c7db5ed46bbb7f.jpg","text":"TemporaryFile(/tmp/multipartBody289486848245616862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051093060,"filename":"image_20022025_01_04_46_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac3ba999015018cbb9c335eb62a3c6b7.jpg","text":"TemporaryFile(/tmp/multipartBody1470463666386760549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051093060,"filename":"image_20022025_01_04_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8c57d9a29dea219c1ec56b3ba54cd614.jpg","text":"TemporaryFile(/tmp/multipartBody4063399020989141507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051093060,"filename":"image_20022025_01_04_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/091b44b97051b7fcb3da940951cd1eb4.jpg","text":"TemporaryFile(/tmp/multipartBody3550713074134721121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051093060,"filename":"image_20022025_01_04_56_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7525222bb0937c932cc27d16591f631.jpg","text":"TemporaryFile(/tmp/multipartBody8935470334642859973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051093060,"filename":"image_20022025_01_04_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4245abcab575f040bae9b3a9166201c9.jpg","text":"TemporaryFile(/tmp/multipartBody4718504487791393381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051093060,"filename":"image_20022025_01_04_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338585740","file1":"1338585737","file0":"1338585708","file4":"1338585755","file5":"1338585763","file3":"1338585745"},"map_files_photo_id_array":[{"photo_id":"1338585763","filename":"file5"},{"photo_id":"1338585740","filename":"file2"},{"photo_id":"1338585755","filename":"file4"},{"photo_id":"1338585737","filename":"file1"},{"photo_id":"1338585708","filename":"file0"},{"photo_id":"1338585745","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338585755":["hashtag1","hashtag2"]},{"1338585740":["hashtag1","hashtag2"]},{"1338585737":["hashtag1","hashtag2"]},{"1338585763":["hashtag1","hashtag2"]},{"1338585745":["hashtag1","hashtag2"]},{"1338585708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338585755, 1338585740, 1338585737, 1338585763, 1338585745, 1338585708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.47947025299072 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:31:32.779278
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/04/image_20022025_01_05_07_10353.jpg', '/home/pi/Desktop/images/20022025/01/05/image_20022025_01_05_26_10389.jpg', '/home/pi/Desktop/images/20022025/01/05/image_20022025_01_05_36_9433.jpg', '/home/pi/Desktop/images/20022025/01/05/image_20022025_01_05_56_10376.jpg', '/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_16_10376.jpg', '/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_36_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/04/image_20022025_01_05_07_10353.jpg
/home/pi/Desktop/images/20022025/01/05/image_20022025_01_05_26_10389.jpg
/home/pi/Desktop/images/20022025/01/05/image_20022025_01_05_36_9433.jpg
/home/pi/Desktop/images/20022025/01/05/image_20022025_01_05_56_10376.jpg
/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_16_10376.jpg
/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_36_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338586165","1338586156","1338586003","1338586094","1338586169","1338586160"],"photo_ids_order":["1338586003","1338586094","1338586156","1338586160","1338586165","1338586169"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f54babaf67fdeeb0ceb7c588a7dc1a2.jpg","text":"TemporaryFile(/tmp/multipartBody965779921078254416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051153316,"filename":"image_20022025_01_06_16_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0dcbf087bc6ce5bd24d042355c7368e1.jpg","text":"TemporaryFile(/tmp/multipartBody8718751116782856886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051153316,"filename":"image_20022025_01_05_36_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c649dee2e642b2c7e08da68852e6deee.jpg","text":"TemporaryFile(/tmp/multipartBody3088769552064741551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051153316,"filename":"image_20022025_01_05_07_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe6821592de2439dce70255021c54fa0.jpg","text":"TemporaryFile(/tmp/multipartBody7505961616753790434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051153316,"filename":"image_20022025_01_05_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd9a712198b72e8d52206e24984a1a40.jpg","text":"TemporaryFile(/tmp/multipartBody7948631362019443990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051153316,"filename":"image_20022025_01_06_36_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f3c55cb81ddad4f886cc0e8c915d5ede.jpg","text":"TemporaryFile(/tmp/multipartBody6161908553520703669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051153316,"filename":"image_20022025_01_05_56_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338586156","file1":"1338586094","file0":"1338586003","file4":"1338586165","file5":"1338586169","file3":"1338586160"},"map_files_photo_id_array":[{"photo_id":"1338586169","filename":"file5"},{"photo_id":"1338586156","filename":"file2"},{"photo_id":"1338586165","filename":"file4"},{"photo_id":"1338586094","filename":"file1"},{"photo_id":"1338586003","filename":"file0"},{"photo_id":"1338586160","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338586165":["hashtag1","hashtag2"]},{"1338586156":["hashtag1","hashtag2"]},{"1338586003":["hashtag1","hashtag2"]},{"1338586094":["hashtag1","hashtag2"]},{"1338586169":["hashtag1","hashtag2"]},{"1338586160":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338586165, 1338586156, 1338586003, 1338586094, 1338586169, 1338586160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.522002458572388 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:32:32.998405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_46_10357.jpg', '/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_57_10337.jpg', '/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_16_10341.jpg', '/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_26_9426.jpg', '/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_47_10468.jpg', '/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_56_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_46_10357.jpg
/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_57_10337.jpg
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_16_10341.jpg
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_26_9426.jpg
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_47_10468.jpg
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_56_9326.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.45404839515686035 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:32:42.954919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_46_10357.jpg', '/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_57_10337.jpg', '/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_16_10341.jpg', '/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_26_9426.jpg', '/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_47_10468.jpg', '/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_56_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_46_10357.jpg
/home/pi/Desktop/images/20022025/01/06/image_20022025_01_06_57_10337.jpg
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_16_10341.jpg
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_26_9426.jpg
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_47_10468.jpg
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_07_56_9326.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":["1338586363","1338586360","1338586347","1338586352","1338586358","1338586343"],"photo_ids_order":["1338586343","1338586347","1338586352","1338586358","1338586360","1338586363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c3eb735a65f39cd926286b5a3552d36.jpg","text":"TemporaryFile(/tmp/multipartBody7969002818828399035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051223417,"filename":"image_20022025_01_07_56_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be56de0e3b12f113e1453d663d35257e.jpg","text":"TemporaryFile(/tmp/multipartBody9082280376203965299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051223417,"filename":"image_20022025_01_07_47_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4228cafabaaa0b98de5c403206e33c3.jpg","text":"TemporaryFile(/tmp/multipartBody1422971897599695968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051223417,"filename":"image_20022025_01_06_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7b7ee8af5c59966ddeef3e79fdaae2d.jpg","text":"TemporaryFile(/tmp/multipartBody2657640257524504689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051223417,"filename":"image_20022025_01_07_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40f6ff5ce089d1d1862eb319fe770d2e.jpg","text":"TemporaryFile(/tmp/multipartBody5327587929950822001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051223417,"filename":"image_20022025_01_07_26_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/713489fa5928449ad50a0ff63af41323.jpg","text":"TemporaryFile(/tmp/multipartBody8730608515549906281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051223417,"filename":"image_20022025_01_06_46_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338586352","file1":"1338586347","file0":"1338586343","file4":"1338586360","file5":"1338586363","file3":"1338586358"},"map_files_photo_id_array":[{"photo_id":"1338586363","filename":"file5"},{"photo_id":"1338586352","filename":"file2"},{"photo_id":"1338586360","filename":"file4"},{"photo_id":"1338586347","filename":"file1"},{"photo_id":"1338586343","filename":"file0"},{"photo_id":"1338586358","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338586363":["hashtag1","hashtag2"]},{"1338586360":["hashtag1","hashtag2"]},{"1338586347":["hashtag1","hashtag2"]},{"1338586352":["hashtag1","hashtag2"]},{"1338586358":["hashtag1","hashtag2"]},{"1338586343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338586363, 1338586360, 1338586347, 1338586352, 1338586358, 1338586343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09059023857117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:33:32.152743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/07/image_20022025_01_08_06_10350.jpg', '/home/pi/Desktop/images/20022025/01/08/image_20022025_01_08_26_9356.jpg', '/home/pi/Desktop/images/20022025/01/08/image_20022025_01_08_36_10375.jpg', '/home/pi/Desktop/images/20022025/01/08/image_20022025_01_08_47_10347.jpg', '/home/pi/Desktop/images/20022025/01/08/image_20022025_01_08_56_9327.jpg', '/home/pi/Desktop/images/20022025/01/08/image_20022025_01_09_06_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/07/image_20022025_01_08_06_10350.jpg
/home/pi/Desktop/images/20022025/01/08/image_20022025_01_08_26_9356.jpg
/home/pi/Desktop/images/20022025/01/08/image_20022025_01_08_36_10375.jpg
/home/pi/Desktop/images/20022025/01/08/image_20022025_01_08_47_10347.jpg
/home/pi/Desktop/images/20022025/01/08/image_20022025_01_08_56_9327.jpg
/home/pi/Desktop/images/20022025/01/08/image_20022025_01_09_06_10324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338586378","1338586392","1338586395","1338586374","1338586382","1338586388"],"photo_ids_order":["1338586374","1338586378","1338586382","1338586388","1338586392","1338586395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/38ced3b1f1da2f831e07ceca3e9b13c1.jpg","text":"TemporaryFile(/tmp/multipartBody7766922939661769591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051272700,"filename":"image_20022025_01_08_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3681b001c63da13fd22a15dd79903974.jpg","text":"TemporaryFile(/tmp/multipartBody59268845040477076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051272700,"filename":"image_20022025_01_08_56_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f7e0af1ce9f2699bea9a0ca039f0ef9d.jpg","text":"TemporaryFile(/tmp/multipartBody7677989935780941866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051272700,"filename":"image_20022025_01_09_06_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e3cb527449f549980143cc2ef56aa3a0.jpg","text":"TemporaryFile(/tmp/multipartBody1272729222821340719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051272700,"filename":"image_20022025_01_08_06_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12b439f7bf45f9f242355a397ef00bad.jpg","text":"TemporaryFile(/tmp/multipartBody7041754811701739986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051272700,"filename":"image_20022025_01_08_36_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd963462b01192a396edf2e0f0f04199.jpg","text":"TemporaryFile(/tmp/multipartBody7969470637938412443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051272700,"filename":"image_20022025_01_08_47_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338586382","file1":"1338586378","file0":"1338586374","file4":"1338586392","file5":"1338586395","file3":"1338586388"},"map_files_photo_id_array":[{"photo_id":"1338586395","filename":"file5"},{"photo_id":"1338586382","filename":"file2"},{"photo_id":"1338586392","filename":"file4"},{"photo_id":"1338586378","filename":"file1"},{"photo_id":"1338586374","filename":"file0"},{"photo_id":"1338586388","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338586378":["hashtag1","hashtag2"]},{"1338586392":["hashtag1","hashtag2"]},{"1338586395":["hashtag1","hashtag2"]},{"1338586374":["hashtag1","hashtag2"]},{"1338586382":["hashtag1","hashtag2"]},{"1338586388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338586378, 1338586392, 1338586395, 1338586374, 1338586382, 1338586388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79740262031555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:34:32.369151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/09/image_20022025_01_09_16_9414.jpg', '/home/pi/Desktop/images/20022025/01/09/image_20022025_01_09_26_10434.jpg', '/home/pi/Desktop/images/20022025/01/09/image_20022025_01_09_37_10432.jpg', '/home/pi/Desktop/images/20022025/01/09/image_20022025_01_09_56_10432.jpg', '/home/pi/Desktop/images/20022025/01/10/image_20022025_01_10_16_10384.jpg', '/home/pi/Desktop/images/20022025/01/10/image_20022025_01_10_27_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/09/image_20022025_01_09_16_9414.jpg
/home/pi/Desktop/images/20022025/01/09/image_20022025_01_09_26_10434.jpg
/home/pi/Desktop/images/20022025/01/09/image_20022025_01_09_37_10432.jpg
/home/pi/Desktop/images/20022025/01/09/image_20022025_01_09_56_10432.jpg
/home/pi/Desktop/images/20022025/01/10/image_20022025_01_10_16_10384.jpg
/home/pi/Desktop/images/20022025/01/10/image_20022025_01_10_27_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338586462","1338586420","1338586431","1338586434","1338586428","1338586424"],"photo_ids_order":["1338586420","1338586424","1338586428","1338586431","1338586434","1338586462"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2543a208189ac76a1ecfa5efbcd30100.jpg","text":"TemporaryFile(/tmp/multipartBody3957327220384720565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051332928,"filename":"image_20022025_01_10_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f31fd0e930e1b919a654fd608a1b77e.jpg","text":"TemporaryFile(/tmp/multipartBody3112744379422784426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051332928,"filename":"image_20022025_01_09_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13b418115b5f8f7e85ccdc9ba1485d27.jpg","text":"TemporaryFile(/tmp/multipartBody7099268851369583552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051332928,"filename":"image_20022025_01_09_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4aa2266658384416ed0ae2e184d9fd0.jpg","text":"TemporaryFile(/tmp/multipartBody1956580998410206252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051332928,"filename":"image_20022025_01_10_16_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9211da01181767fae52c0cab00057ea.jpg","text":"TemporaryFile(/tmp/multipartBody5344893312017708323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051332928,"filename":"image_20022025_01_09_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a5349eb81d278b1ce343a6c21b67a49.jpg","text":"TemporaryFile(/tmp/multipartBody2008739041800082201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051332928,"filename":"image_20022025_01_09_26_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338586428","file1":"1338586424","file0":"1338586420","file4":"1338586434","file5":"1338586462","file3":"1338586431"},"map_files_photo_id_array":[{"photo_id":"1338586462","filename":"file5"},{"photo_id":"1338586428","filename":"file2"},{"photo_id":"1338586434","filename":"file4"},{"photo_id":"1338586424","filename":"file1"},{"photo_id":"1338586420","filename":"file0"},{"photo_id":"1338586431","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338586462":["hashtag1","hashtag2"]},{"1338586420":["hashtag1","hashtag2"]},{"1338586431":["hashtag1","hashtag2"]},{"1338586434":["hashtag1","hashtag2"]},{"1338586428":["hashtag1","hashtag2"]},{"1338586424":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338586462, 1338586420, 1338586431, 1338586434, 1338586428, 1338586424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38403344154358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:35:32.502877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/10/image_20022025_01_10_36_9320.jpg', '/home/pi/Desktop/images/20022025/01/10/image_20022025_01_10_46_10346.jpg', '/home/pi/Desktop/images/20022025/01/10/image_20022025_01_11_06_9333.jpg', '/home/pi/Desktop/images/20022025/01/11/image_20022025_01_11_27_10345.jpg', '/home/pi/Desktop/images/20022025/01/11/image_20022025_01_11_36_9310.jpg', '/home/pi/Desktop/images/20022025/01/11/image_20022025_01_11_46_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/10/image_20022025_01_10_36_9320.jpg
/home/pi/Desktop/images/20022025/01/10/image_20022025_01_10_46_10346.jpg
/home/pi/Desktop/images/20022025/01/10/image_20022025_01_11_06_9333.jpg
/home/pi/Desktop/images/20022025/01/11/image_20022025_01_11_27_10345.jpg
/home/pi/Desktop/images/20022025/01/11/image_20022025_01_11_36_9310.jpg
/home/pi/Desktop/images/20022025/01/11/image_20022025_01_11_46_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338587266","1338587271","1338587262","1338587259","1338587255","1338587275"],"photo_ids_order":["1338587255","1338587259","1338587262","1338587266","1338587271","1338587275"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb6049ba36abe9fac7dd81dc0baaf4c4.jpg","text":"TemporaryFile(/tmp/multipartBody8047940783365045456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051393096,"filename":"image_20022025_01_11_27_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f52e794965738b12a61883edcfb5889a.jpg","text":"TemporaryFile(/tmp/multipartBody8571834095484654877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051393096,"filename":"image_20022025_01_11_36_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3d1e2e51ba349b491b24a681e00e1e66.jpg","text":"TemporaryFile(/tmp/multipartBody8234103871326944849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051393096,"filename":"image_20022025_01_11_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/878a119f2361082bcfbea76fc4ab325b.jpg","text":"TemporaryFile(/tmp/multipartBody189972023188847948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051393096,"filename":"image_20022025_01_10_46_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac09c0d8cec3fb48be107ba95100eed9.jpg","text":"TemporaryFile(/tmp/multipartBody2136579112225656228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051393096,"filename":"image_20022025_01_10_36_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/72b2e37d2cc7fa8b1f54f18994f8b309.jpg","text":"TemporaryFile(/tmp/multipartBody222863774465317796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051393096,"filename":"image_20022025_01_11_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338587262","file1":"1338587259","file0":"1338587255","file4":"1338587271","file5":"1338587275","file3":"1338587266"},"map_files_photo_id_array":[{"photo_id":"1338587275","filename":"file5"},{"photo_id":"1338587262","filename":"file2"},{"photo_id":"1338587271","filename":"file4"},{"photo_id":"1338587259","filename":"file1"},{"photo_id":"1338587255","filename":"file0"},{"photo_id":"1338587266","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338587266":["hashtag1","hashtag2"]},{"1338587271":["hashtag1","hashtag2"]},{"1338587262":["hashtag1","hashtag2"]},{"1338587259":["hashtag1","hashtag2"]},{"1338587255":["hashtag1","hashtag2"]},{"1338587275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338587266, 1338587271, 1338587262, 1338587259, 1338587255, 1338587275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.72073721885681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:36:32.654666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/11/image_20022025_01_11_57_10336.jpg', '/home/pi/Desktop/images/20022025/01/11/image_20022025_01_12_06_9331.jpg', '/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_16_10367.jpg', '/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_26_9423.jpg', '/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_36_10331.jpg', '/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_47_10453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/11/image_20022025_01_11_57_10336.jpg
/home/pi/Desktop/images/20022025/01/11/image_20022025_01_12_06_9331.jpg
/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_16_10367.jpg
/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_26_9423.jpg
/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_36_10331.jpg
/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_47_10453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338587301","1338587715","1338587304","1338587294","1338587705","1338587467"],"photo_ids_order":["1338587294","1338587301","1338587304","1338587467","1338587705","1338587715"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bdf6c27c868b46e915f1fc75d4612c2e.jpg","text":"TemporaryFile(/tmp/multipartBody2909459723429471613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051453199,"filename":"image_20022025_01_12_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/896e0d7f8977cdae8f0f0ff1842f9713.jpg","text":"TemporaryFile(/tmp/multipartBody963429555815220423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051453199,"filename":"image_20022025_01_12_47_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/586a078e29d98ac024ed92a7c0eb9719.jpg","text":"TemporaryFile(/tmp/multipartBody7312752740922087798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051453199,"filename":"image_20022025_01_12_16_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4e39c6640ff4a7f84227efc588664b7.jpg","text":"TemporaryFile(/tmp/multipartBody3743323407706059435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051453199,"filename":"image_20022025_01_11_57_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be72de345f464560ceed54b7460d03cf.jpg","text":"TemporaryFile(/tmp/multipartBody5717949409114072260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051453199,"filename":"image_20022025_01_12_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e12c62d1de3d04670c612d4854d19f14.jpg","text":"TemporaryFile(/tmp/multipartBody5057472205838597548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051453199,"filename":"image_20022025_01_12_26_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338587304","file1":"1338587301","file0":"1338587294","file4":"1338587705","file5":"1338587715","file3":"1338587467"},"map_files_photo_id_array":[{"photo_id":"1338587715","filename":"file5"},{"photo_id":"1338587304","filename":"file2"},{"photo_id":"1338587705","filename":"file4"},{"photo_id":"1338587301","filename":"file1"},{"photo_id":"1338587294","filename":"file0"},{"photo_id":"1338587467","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338587301":["hashtag1","hashtag2"]},{"1338587715":["hashtag1","hashtag2"]},{"1338587304":["hashtag1","hashtag2"]},{"1338587294":["hashtag1","hashtag2"]},{"1338587705":["hashtag1","hashtag2"]},{"1338587467":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338587301, 1338587715, 1338587304, 1338587294, 1338587705, 1338587467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.56655716896057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:37:32.877615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_56_9324.jpg', '/home/pi/Desktop/images/20022025/01/12/image_20022025_01_13_06_10393.jpg', '/home/pi/Desktop/images/20022025/01/13/image_20022025_01_13_17_10455.jpg', '/home/pi/Desktop/images/20022025/01/13/image_20022025_01_13_26_9348.jpg', '/home/pi/Desktop/images/20022025/01/13/image_20022025_01_13_46_9348.jpg', '/home/pi/Desktop/images/20022025/01/13/image_20022025_01_13_56_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/12/image_20022025_01_12_56_9324.jpg
/home/pi/Desktop/images/20022025/01/12/image_20022025_01_13_06_10393.jpg
/home/pi/Desktop/images/20022025/01/13/image_20022025_01_13_17_10455.jpg
/home/pi/Desktop/images/20022025/01/13/image_20022025_01_13_26_9348.jpg
/home/pi/Desktop/images/20022025/01/13/image_20022025_01_13_46_9348.jpg
/home/pi/Desktop/images/20022025/01/13/image_20022025_01_13_56_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338587892","1338587886","1338587904","1338587907","1338587901","1338587896"],"photo_ids_order":["1338587886","1338587892","1338587896","1338587901","1338587904","1338587907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d22d73edaee8fbeea77707f31a04230.jpg","text":"TemporaryFile(/tmp/multipartBody2925846642316428997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051513418,"filename":"image_20022025_01_13_06_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fab57d985826b872dc4d0fd24bafddbc.jpg","text":"TemporaryFile(/tmp/multipartBody6120238543043364526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051513418,"filename":"image_20022025_01_12_56_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c42b5cb880f2fb97016700f9eb58b6f.jpg","text":"TemporaryFile(/tmp/multipartBody5067481672058814156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051513418,"filename":"image_20022025_01_13_46_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20c98efc60183353bdf8a1bdbcd1abbf.jpg","text":"TemporaryFile(/tmp/multipartBody3482923282762238049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051513418,"filename":"image_20022025_01_13_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b3b23327e14d176fbdd378bed84a128.jpg","text":"TemporaryFile(/tmp/multipartBody263425542747418268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051513418,"filename":"image_20022025_01_13_26_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d366ea9e3a1b18a3aa15f070a77f85e6.jpg","text":"TemporaryFile(/tmp/multipartBody1595206607871134378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051513418,"filename":"image_20022025_01_13_17_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338587896","file1":"1338587892","file0":"1338587886","file4":"1338587904","file5":"1338587907","file3":"1338587901"},"map_files_photo_id_array":[{"photo_id":"1338587907","filename":"file5"},{"photo_id":"1338587896","filename":"file2"},{"photo_id":"1338587904","filename":"file4"},{"photo_id":"1338587892","filename":"file1"},{"photo_id":"1338587886","filename":"file0"},{"photo_id":"1338587901","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338587892":["hashtag1","hashtag2"]},{"1338587886":["hashtag1","hashtag2"]},{"1338587904":["hashtag1","hashtag2"]},{"1338587907":["hashtag1","hashtag2"]},{"1338587901":["hashtag1","hashtag2"]},{"1338587896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338587892, 1338587886, 1338587904, 1338587907, 1338587901, 1338587896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.523315906524658 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:38:32.961128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/13/image_20022025_01_14_07_10326.jpg', '/home/pi/Desktop/images/20022025/01/14/image_20022025_01_14_16_9426.jpg', '/home/pi/Desktop/images/20022025/01/14/image_20022025_01_14_26_10430.jpg', '/home/pi/Desktop/images/20022025/01/14/image_20022025_01_14_36_9326.jpg', '/home/pi/Desktop/images/20022025/01/14/image_20022025_01_14_46_10344.jpg', '/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_16_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/13/image_20022025_01_14_07_10326.jpg
/home/pi/Desktop/images/20022025/01/14/image_20022025_01_14_16_9426.jpg
/home/pi/Desktop/images/20022025/01/14/image_20022025_01_14_26_10430.jpg
/home/pi/Desktop/images/20022025/01/14/image_20022025_01_14_36_9326.jpg
/home/pi/Desktop/images/20022025/01/14/image_20022025_01_14_46_10344.jpg
/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_16_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588129","1338588126","1338588125","1338588134","1338588139","1338588124"],"photo_ids_order":["1338588124","1338588125","1338588126","1338588129","1338588134","1338588139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e5a4cc04accf8a4decfe9f28863f55d.jpg","text":"TemporaryFile(/tmp/multipartBody8419309040623781546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051573524,"filename":"image_20022025_01_14_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1647460de57b32a06d60f75575edc5f.jpg","text":"TemporaryFile(/tmp/multipartBody6072656180356070309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051573524,"filename":"image_20022025_01_14_26_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bdbe579fc32eca9baf8eb36fb0efd013.jpg","text":"TemporaryFile(/tmp/multipartBody7446535895768457337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051573524,"filename":"image_20022025_01_14_16_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/62092396a09834cc0bdd05762a44bf2f.jpg","text":"TemporaryFile(/tmp/multipartBody4118030069867658831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051573524,"filename":"image_20022025_01_14_46_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a34ff310c92af0f8040ae09f6c8d0ce.jpg","text":"TemporaryFile(/tmp/multipartBody6830690951856791411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051573524,"filename":"image_20022025_01_15_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5e7ad77103e3436174fbaa850e3acd8d.jpg","text":"TemporaryFile(/tmp/multipartBody3299772494675147078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051573524,"filename":"image_20022025_01_14_07_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588126","file1":"1338588125","file0":"1338588124","file4":"1338588134","file5":"1338588139","file3":"1338588129"},"map_files_photo_id_array":[{"photo_id":"1338588139","filename":"file5"},{"photo_id":"1338588126","filename":"file2"},{"photo_id":"1338588134","filename":"file4"},{"photo_id":"1338588125","filename":"file1"},{"photo_id":"1338588124","filename":"file0"},{"photo_id":"1338588129","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588129":["hashtag1","hashtag2"]},{"1338588126":["hashtag1","hashtag2"]},{"1338588125":["hashtag1","hashtag2"]},{"1338588134":["hashtag1","hashtag2"]},{"1338588139":["hashtag1","hashtag2"]},{"1338588124":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588129, 1338588126, 1338588125, 1338588134, 1338588139, 1338588124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.146060466766357 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:39:33.154803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_27_10330.jpg', '/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_36_9418.jpg', '/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_46_10354.jpg', '/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_57_10336.jpg', '/home/pi/Desktop/images/20022025/01/15/image_20022025_01_16_06_9335.jpg', '/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_16_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_27_10330.jpg
/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_36_9418.jpg
/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_46_10354.jpg
/home/pi/Desktop/images/20022025/01/15/image_20022025_01_15_57_10336.jpg
/home/pi/Desktop/images/20022025/01/15/image_20022025_01_16_06_9335.jpg
/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_16_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588177","1338588165","1338588168","1338588173","1338588179","1338588170"],"photo_ids_order":["1338588165","1338588168","1338588170","1338588173","1338588177","1338588179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/377a9792270c9495222bcd8dbc400eec.jpg","text":"TemporaryFile(/tmp/multipartBody2805530539739804518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051633690,"filename":"image_20022025_01_16_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8fbc3dbc4f842d16d0021fce265d7812.jpg","text":"TemporaryFile(/tmp/multipartBody8719809028700402790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051633690,"filename":"image_20022025_01_15_27_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1e7182eaafab86a817a92e16f893d02a.jpg","text":"TemporaryFile(/tmp/multipartBody1517518270219160454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051633690,"filename":"image_20022025_01_15_36_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/811cbfd39b52cf76b2395b90d8892c48.jpg","text":"TemporaryFile(/tmp/multipartBody8337784712686109261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051633690,"filename":"image_20022025_01_15_57_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d5d61817656a7357afae7611a585dba.jpg","text":"TemporaryFile(/tmp/multipartBody7347669683858899612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051633690,"filename":"image_20022025_01_16_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1b4fd63bf98840d5aa704c3be0756f3.jpg","text":"TemporaryFile(/tmp/multipartBody2947956047804897885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051633690,"filename":"image_20022025_01_15_46_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588170","file1":"1338588168","file0":"1338588165","file4":"1338588177","file5":"1338588179","file3":"1338588173"},"map_files_photo_id_array":[{"photo_id":"1338588179","filename":"file5"},{"photo_id":"1338588170","filename":"file2"},{"photo_id":"1338588177","filename":"file4"},{"photo_id":"1338588168","filename":"file1"},{"photo_id":"1338588165","filename":"file0"},{"photo_id":"1338588173","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588177":["hashtag1","hashtag2"]},{"1338588165":["hashtag1","hashtag2"]},{"1338588168":["hashtag1","hashtag2"]},{"1338588173":["hashtag1","hashtag2"]},{"1338588179":["hashtag1","hashtag2"]},{"1338588170":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588177, 1338588165, 1338588168, 1338588173, 1338588179, 1338588170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41549730300903 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:40:32.276466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_27_10417.jpg', '/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_36_9335.jpg', '/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_46_10395.jpg', '/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_56_9339.jpg', '/home/pi/Desktop/images/20022025/01/16/image_20022025_01_17_06_10382.jpg', '/home/pi/Desktop/images/20022025/01/17/image_20022025_01_17_26_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_27_10417.jpg
/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_36_9335.jpg
/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_46_10395.jpg
/home/pi/Desktop/images/20022025/01/16/image_20022025_01_16_56_9339.jpg
/home/pi/Desktop/images/20022025/01/16/image_20022025_01_17_06_10382.jpg
/home/pi/Desktop/images/20022025/01/17/image_20022025_01_17_26_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588228","1338588225","1338588263","1338588247","1338588256","1338588223"],"photo_ids_order":["1338588223","1338588225","1338588228","1338588247","1338588256","1338588263"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fcbc38e141bdc139f3cff79e58b06c42.jpg","text":"TemporaryFile(/tmp/multipartBody7611304217595620877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051692811,"filename":"image_20022025_01_16_46_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1899c220745fa46038a04ee1b865cf95.jpg","text":"TemporaryFile(/tmp/multipartBody405998743572646633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051692811,"filename":"image_20022025_01_16_36_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd88c8feabdd2d9f39d60f0dbb059f53.jpg","text":"TemporaryFile(/tmp/multipartBody6256463960219690100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051692811,"filename":"image_20022025_01_17_26_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ad111e20acea8d70d75bf9627044175.jpg","text":"TemporaryFile(/tmp/multipartBody8870102738571475708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051692811,"filename":"image_20022025_01_16_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/597903975e09bf79f2bdc3b2ec5532bd.jpg","text":"TemporaryFile(/tmp/multipartBody5917416275307829009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051692811,"filename":"image_20022025_01_17_06_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4627b92fb5d67b97cc199d9ec23b116a.jpg","text":"TemporaryFile(/tmp/multipartBody8939402177719632101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051692811,"filename":"image_20022025_01_16_27_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588228","file1":"1338588225","file0":"1338588223","file4":"1338588256","file5":"1338588263","file3":"1338588247"},"map_files_photo_id_array":[{"photo_id":"1338588263","filename":"file5"},{"photo_id":"1338588228","filename":"file2"},{"photo_id":"1338588256","filename":"file4"},{"photo_id":"1338588225","filename":"file1"},{"photo_id":"1338588223","filename":"file0"},{"photo_id":"1338588247","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588228":["hashtag1","hashtag2"]},{"1338588225":["hashtag1","hashtag2"]},{"1338588263":["hashtag1","hashtag2"]},{"1338588247":["hashtag1","hashtag2"]},{"1338588256":["hashtag1","hashtag2"]},{"1338588223":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588228, 1338588225, 1338588263, 1338588247, 1338588256, 1338588223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.12662649154663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:41:32.517399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/17/image_20022025_01_17_36_10332.jpg', '/home/pi/Desktop/images/20022025/01/17/image_20022025_01_17_46_9451.jpg', '/home/pi/Desktop/images/20022025/01/17/image_20022025_01_17_56_10337.jpg', '/home/pi/Desktop/images/20022025/01/17/image_20022025_01_18_06_10376.jpg', '/home/pi/Desktop/images/20022025/01/18/image_20022025_01_18_26_10358.jpg', '/home/pi/Desktop/images/20022025/01/18/image_20022025_01_18_46_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/17/image_20022025_01_17_36_10332.jpg
/home/pi/Desktop/images/20022025/01/17/image_20022025_01_17_46_9451.jpg
/home/pi/Desktop/images/20022025/01/17/image_20022025_01_17_56_10337.jpg
/home/pi/Desktop/images/20022025/01/17/image_20022025_01_18_06_10376.jpg
/home/pi/Desktop/images/20022025/01/18/image_20022025_01_18_26_10358.jpg
/home/pi/Desktop/images/20022025/01/18/image_20022025_01_18_46_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588313","1338588307","1338588327","1338588309","1338588299","1338588332"],"photo_ids_order":["1338588299","1338588307","1338588309","1338588313","1338588327","1338588332"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01d29473ec68a185cf675c739544e815.jpg","text":"TemporaryFile(/tmp/multipartBody3168218090458344736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051753052,"filename":"image_20022025_01_18_06_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/128fdbf2b15228122cbc289f3ad8df9b.jpg","text":"TemporaryFile(/tmp/multipartBody1869717669320344048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051753052,"filename":"image_20022025_01_17_46_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28c701d8dee481489e36c88c41b758b0.jpg","text":"TemporaryFile(/tmp/multipartBody3240934291545784876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051753052,"filename":"image_20022025_01_18_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a21d31e98ea1f9b87c12b6b748ea9a1.jpg","text":"TemporaryFile(/tmp/multipartBody5291302249008367614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051753052,"filename":"image_20022025_01_17_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0cc1ce72f511bdfc154eb89442a7fe6f.jpg","text":"TemporaryFile(/tmp/multipartBody8219575281684315181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051753052,"filename":"image_20022025_01_17_36_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d5e76980ab10c61bcfd39ebbe8439c6.jpg","text":"TemporaryFile(/tmp/multipartBody3442236941594606386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051753052,"filename":"image_20022025_01_18_46_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588309","file1":"1338588307","file0":"1338588299","file4":"1338588327","file5":"1338588332","file3":"1338588313"},"map_files_photo_id_array":[{"photo_id":"1338588332","filename":"file5"},{"photo_id":"1338588309","filename":"file2"},{"photo_id":"1338588327","filename":"file4"},{"photo_id":"1338588307","filename":"file1"},{"photo_id":"1338588299","filename":"file0"},{"photo_id":"1338588313","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588313":["hashtag1","hashtag2"]},{"1338588307":["hashtag1","hashtag2"]},{"1338588327":["hashtag1","hashtag2"]},{"1338588309":["hashtag1","hashtag2"]},{"1338588299":["hashtag1","hashtag2"]},{"1338588332":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588313, 1338588307, 1338588327, 1338588309, 1338588299, 1338588332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.76648449897766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:42:32.743694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/18/image_20022025_01_18_56_10328.jpg', '/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_16_9335.jpg', '/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_26_10340.jpg', '/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_37_10428.jpg', '/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_46_9357.jpg', '/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_56_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/18/image_20022025_01_18_56_10328.jpg
/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_16_9335.jpg
/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_26_10340.jpg
/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_37_10428.jpg
/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_46_9357.jpg
/home/pi/Desktop/images/20022025/01/19/image_20022025_01_19_56_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588411","1338588386","1338588374","1338588413","1338588382","1338588361"],"photo_ids_order":["1338588361","1338588374","1338588382","1338588386","1338588411","1338588413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e1157b8ed0c373cdcf1db5dde4e0ccb3.jpg","text":"TemporaryFile(/tmp/multipartBody7720772455195785744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051813277,"filename":"image_20022025_01_19_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a71dcb983fd503f1656dafc5a28c4d1.jpg","text":"TemporaryFile(/tmp/multipartBody6494215196068749438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051813277,"filename":"image_20022025_01_19_37_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0ce58f7af5db405aaaf7517a7ec05e4.jpg","text":"TemporaryFile(/tmp/multipartBody1965235338835946944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051813277,"filename":"image_20022025_01_19_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59fc6a08532094768516604f1e364a49.jpg","text":"TemporaryFile(/tmp/multipartBody7652615922591381448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051813277,"filename":"image_20022025_01_19_56_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/917e24d8b9a7d5d9da54c5dbb721989a.jpg","text":"TemporaryFile(/tmp/multipartBody7519614900392144708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051813277,"filename":"image_20022025_01_19_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92d91070eb09d3682aa4977aa5e98c15.jpg","text":"TemporaryFile(/tmp/multipartBody8013409457904938880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051813277,"filename":"image_20022025_01_18_56_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588382","file1":"1338588374","file0":"1338588361","file4":"1338588411","file5":"1338588413","file3":"1338588386"},"map_files_photo_id_array":[{"photo_id":"1338588413","filename":"file5"},{"photo_id":"1338588382","filename":"file2"},{"photo_id":"1338588411","filename":"file4"},{"photo_id":"1338588374","filename":"file1"},{"photo_id":"1338588361","filename":"file0"},{"photo_id":"1338588386","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588411":["hashtag1","hashtag2"]},{"1338588386":["hashtag1","hashtag2"]},{"1338588374":["hashtag1","hashtag2"]},{"1338588413":["hashtag1","hashtag2"]},{"1338588382":["hashtag1","hashtag2"]},{"1338588361":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588411, 1338588386, 1338588374, 1338588413, 1338588382, 1338588361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.112476348876953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:43:32.910594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/19/image_20022025_01_20_06_9326.jpg', '/home/pi/Desktop/images/20022025/01/20/image_20022025_01_20_16_10408.jpg', '/home/pi/Desktop/images/20022025/01/20/image_20022025_01_20_36_9410.jpg', '/home/pi/Desktop/images/20022025/01/20/image_20022025_01_20_56_9328.jpg', '/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_17_10356.jpg', '/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_26_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/19/image_20022025_01_20_06_9326.jpg
/home/pi/Desktop/images/20022025/01/20/image_20022025_01_20_16_10408.jpg
/home/pi/Desktop/images/20022025/01/20/image_20022025_01_20_36_9410.jpg
/home/pi/Desktop/images/20022025/01/20/image_20022025_01_20_56_9328.jpg
/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_17_10356.jpg
/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_26_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588438","1338588435","1338588437","1338588446","1338588451","1338588442"],"photo_ids_order":["1338588435","1338588437","1338588438","1338588442","1338588446","1338588451"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a66140e52811d329967b6b8bb8e259f.jpg","text":"TemporaryFile(/tmp/multipartBody4391297608138537347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051873457,"filename":"image_20022025_01_20_36_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7dd890590927a4c017b4ea04190ffb9b.jpg","text":"TemporaryFile(/tmp/multipartBody4952772195897567836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051873457,"filename":"image_20022025_01_20_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9ac18baa53c6a3b121f9391a37bdff1.jpg","text":"TemporaryFile(/tmp/multipartBody1876052297464118087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051873457,"filename":"image_20022025_01_20_16_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f549e90877eecc1238369b102ed7682.jpg","text":"TemporaryFile(/tmp/multipartBody5740757064989250250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051873457,"filename":"image_20022025_01_21_17_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28f92183c669c7ff111b7e90d20a3049.jpg","text":"TemporaryFile(/tmp/multipartBody253916396363160268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051873457,"filename":"image_20022025_01_21_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4ab26cf3606e932be8fd4809b5252ff.jpg","text":"TemporaryFile(/tmp/multipartBody308884217899785262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051873457,"filename":"image_20022025_01_20_56_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588438","file1":"1338588437","file0":"1338588435","file4":"1338588446","file5":"1338588451","file3":"1338588442"},"map_files_photo_id_array":[{"photo_id":"1338588451","filename":"file5"},{"photo_id":"1338588438","filename":"file2"},{"photo_id":"1338588446","filename":"file4"},{"photo_id":"1338588437","filename":"file1"},{"photo_id":"1338588435","filename":"file0"},{"photo_id":"1338588442","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588438":["hashtag1","hashtag2"]},{"1338588435":["hashtag1","hashtag2"]},{"1338588437":["hashtag1","hashtag2"]},{"1338588446":["hashtag1","hashtag2"]},{"1338588451":["hashtag1","hashtag2"]},{"1338588442":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588438, 1338588435, 1338588437, 1338588446, 1338588451, 1338588442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46443462371826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:44:33.226652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_36_10445.jpg', '/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_46_9649.jpg', '/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_57_10451.jpg', '/home/pi/Desktop/images/20022025/01/21/image_20022025_01_22_06_9324.jpg', '/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_16_10070.jpg', '/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_26_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_36_10445.jpg
/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_46_9649.jpg
/home/pi/Desktop/images/20022025/01/21/image_20022025_01_21_57_10451.jpg
/home/pi/Desktop/images/20022025/01/21/image_20022025_01_22_06_9324.jpg
/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_16_10070.jpg
/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_26_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588477","1338588485","1338588481","1338588490","1338588493","1338588472"],"photo_ids_order":["1338588472","1338588477","1338588481","1338588485","1338588490","1338588493"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ea932127bf7185ad79eccbbf5b4a83b.jpg","text":"TemporaryFile(/tmp/multipartBody2478277579845854309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051933764,"filename":"image_20022025_01_21_46_9649.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac1b3df7fe032d50996e2ddd876167b1.jpg","text":"TemporaryFile(/tmp/multipartBody5557281427649688286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051933764,"filename":"image_20022025_01_22_06_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1beb22bbacc93b9f58b54f20b635da4.jpg","text":"TemporaryFile(/tmp/multipartBody4578747634453688010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051933764,"filename":"image_20022025_01_21_57_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d916dfa596b41e021e66ef4190f59624.jpg","text":"TemporaryFile(/tmp/multipartBody3871693638041102485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051933764,"filename":"image_20022025_01_22_16_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fac6b6d4ba572291a7a160b9d722b542.jpg","text":"TemporaryFile(/tmp/multipartBody5106026093076163092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051933764,"filename":"image_20022025_01_22_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fb135b901a4ab4e1c3d05a0f7b023b70.jpg","text":"TemporaryFile(/tmp/multipartBody6063935273309257984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051933764,"filename":"image_20022025_01_21_36_10445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588481","file1":"1338588477","file0":"1338588472","file4":"1338588490","file5":"1338588493","file3":"1338588485"},"map_files_photo_id_array":[{"photo_id":"1338588493","filename":"file5"},{"photo_id":"1338588481","filename":"file2"},{"photo_id":"1338588490","filename":"file4"},{"photo_id":"1338588477","filename":"file1"},{"photo_id":"1338588472","filename":"file0"},{"photo_id":"1338588485","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588477":["hashtag1","hashtag2"]},{"1338588485":["hashtag1","hashtag2"]},{"1338588481":["hashtag1","hashtag2"]},{"1338588490":["hashtag1","hashtag2"]},{"1338588493":["hashtag1","hashtag2"]},{"1338588472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588477, 1338588485, 1338588481, 1338588490, 1338588493, 1338588472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36884593963623 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:45:32.259542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_37_10327.jpg', '/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_46_9331.jpg', '/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_56_10348.jpg', '/home/pi/Desktop/images/20022025/01/22/image_20022025_01_23_07_10347.jpg', '/home/pi/Desktop/images/20022025/01/23/image_20022025_01_23_16_9376.jpg', '/home/pi/Desktop/images/20022025/01/23/image_20022025_01_23_26_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_37_10327.jpg
/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_46_9331.jpg
/home/pi/Desktop/images/20022025/01/22/image_20022025_01_22_56_10348.jpg
/home/pi/Desktop/images/20022025/01/22/image_20022025_01_23_07_10347.jpg
/home/pi/Desktop/images/20022025/01/23/image_20022025_01_23_16_9376.jpg
/home/pi/Desktop/images/20022025/01/23/image_20022025_01_23_26_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588681","1338588669","1338588677","1338588665","1338588673","1338588667"],"photo_ids_order":["1338588665","1338588667","1338588669","1338588673","1338588677","1338588681"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7015a079d152755f94b59cd95bf197a.jpg","text":"TemporaryFile(/tmp/multipartBody8888249522685004437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051992800,"filename":"image_20022025_01_23_26_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1dc36a76bab3c98605f9647067305da.jpg","text":"TemporaryFile(/tmp/multipartBody4341379463584282185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051992800,"filename":"image_20022025_01_22_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef460e57c4ee9844ea837c700e50b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody6900304744085071178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051992800,"filename":"image_20022025_01_23_16_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e9ce4f61574068de006399d2e30dae5.jpg","text":"TemporaryFile(/tmp/multipartBody291238617818157752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051992800,"filename":"image_20022025_01_22_37_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/041e857b1277c0dc9c36bbe48f929671.jpg","text":"TemporaryFile(/tmp/multipartBody9192600789805220336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051992800,"filename":"image_20022025_01_23_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56a65d1a74774b8270b6b43c5b461d26.jpg","text":"TemporaryFile(/tmp/multipartBody1509130603599743033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740051992800,"filename":"image_20022025_01_22_46_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588669","file1":"1338588667","file0":"1338588665","file4":"1338588677","file5":"1338588681","file3":"1338588673"},"map_files_photo_id_array":[{"photo_id":"1338588681","filename":"file5"},{"photo_id":"1338588669","filename":"file2"},{"photo_id":"1338588677","filename":"file4"},{"photo_id":"1338588667","filename":"file1"},{"photo_id":"1338588665","filename":"file0"},{"photo_id":"1338588673","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588681":["hashtag1","hashtag2"]},{"1338588669":["hashtag1","hashtag2"]},{"1338588677":["hashtag1","hashtag2"]},{"1338588665":["hashtag1","hashtag2"]},{"1338588673":["hashtag1","hashtag2"]},{"1338588667":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588681, 1338588669, 1338588677, 1338588665, 1338588673, 1338588667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.045098543167114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:46:32.446496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/23/image_20022025_01_23_36_9330.jpg', '/home/pi/Desktop/images/20022025/01/23/image_20022025_01_23_57_10358.jpg', '/home/pi/Desktop/images/20022025/01/23/image_20022025_01_24_06_9317.jpg', '/home/pi/Desktop/images/20022025/01/24/image_20022025_01_24_16_10348.jpg', '/home/pi/Desktop/images/20022025/01/24/image_20022025_01_24_27_10336.jpg', '/home/pi/Desktop/images/20022025/01/24/image_20022025_01_24_57_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/23/image_20022025_01_23_36_9330.jpg
/home/pi/Desktop/images/20022025/01/23/image_20022025_01_23_57_10358.jpg
/home/pi/Desktop/images/20022025/01/23/image_20022025_01_24_06_9317.jpg
/home/pi/Desktop/images/20022025/01/24/image_20022025_01_24_16_10348.jpg
/home/pi/Desktop/images/20022025/01/24/image_20022025_01_24_27_10336.jpg
/home/pi/Desktop/images/20022025/01/24/image_20022025_01_24_57_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588713","1338588719","1338588704","1338588697","1338588709","1338588700"],"photo_ids_order":["1338588697","1338588700","1338588704","1338588709","1338588713","1338588719"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd86386f66603a033d665d4d20c3ff92.jpg","text":"TemporaryFile(/tmp/multipartBody6801903390192176850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052052989,"filename":"image_20022025_01_24_27_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfc0da58a9f02415e8635908e77255bd.jpg","text":"TemporaryFile(/tmp/multipartBody2521269705944557058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052052989,"filename":"image_20022025_01_24_57_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a807e4a5ebb8ec4fd34270fa58ce25e8.jpg","text":"TemporaryFile(/tmp/multipartBody1391561562826680507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052052989,"filename":"image_20022025_01_24_06_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4925d41d279f76f49825290d43ef1f58.jpg","text":"TemporaryFile(/tmp/multipartBody2538992830752112349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052052989,"filename":"image_20022025_01_23_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d15cd14a6fd384d95009a84c70d565ae.jpg","text":"TemporaryFile(/tmp/multipartBody3198873974760246063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052052989,"filename":"image_20022025_01_24_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30aefabbe0267b71caf9106a4dab4f31.jpg","text":"TemporaryFile(/tmp/multipartBody9081268971251927366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052052989,"filename":"image_20022025_01_23_57_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588704","file1":"1338588700","file0":"1338588697","file4":"1338588713","file5":"1338588719","file3":"1338588709"},"map_files_photo_id_array":[{"photo_id":"1338588719","filename":"file5"},{"photo_id":"1338588704","filename":"file2"},{"photo_id":"1338588713","filename":"file4"},{"photo_id":"1338588700","filename":"file1"},{"photo_id":"1338588697","filename":"file0"},{"photo_id":"1338588709","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588713":["hashtag1","hashtag2"]},{"1338588719":["hashtag1","hashtag2"]},{"1338588704":["hashtag1","hashtag2"]},{"1338588697":["hashtag1","hashtag2"]},{"1338588709":["hashtag1","hashtag2"]},{"1338588700":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588713, 1338588719, 1338588704, 1338588697, 1338588709, 1338588700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.60578727722168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:47:32.766042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/24/image_20022025_01_25_06_9321.jpg', '/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_16_10423.jpg', '/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_26_9339.jpg', '/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_36_10330.jpg', '/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_47_10483.jpg', '/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_56_9366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/24/image_20022025_01_25_06_9321.jpg
/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_16_10423.jpg
/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_26_9339.jpg
/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_36_10330.jpg
/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_47_10483.jpg
/home/pi/Desktop/images/20022025/01/25/image_20022025_01_25_56_9366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588741","1338588759","1338588758","1338588746","1338588749","1338588754"],"photo_ids_order":["1338588741","1338588746","1338588749","1338588754","1338588758","1338588759"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0f9b595e495fc6a808b691242be96c38.jpg","text":"TemporaryFile(/tmp/multipartBody1877188383724920388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052113311,"filename":"image_20022025_01_25_06_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd42900ed251c2de5a2b962cd93e636e.jpg","text":"TemporaryFile(/tmp/multipartBody5673163240932157022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052113311,"filename":"image_20022025_01_25_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/07d0055a3543f4893a84018fb3ccf43f.jpg","text":"TemporaryFile(/tmp/multipartBody3751646193120318343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052113311,"filename":"image_20022025_01_25_47_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5f0a4e743f82d122f15478260f0bb463.jpg","text":"TemporaryFile(/tmp/multipartBody886267636133570823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052113311,"filename":"image_20022025_01_25_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ade401077883bced9ebb93168a169849.jpg","text":"TemporaryFile(/tmp/multipartBody5035338319026454248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052113311,"filename":"image_20022025_01_25_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e0859d7dae4dac3c2de2991836292b4.jpg","text":"TemporaryFile(/tmp/multipartBody416005910957631879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052113311,"filename":"image_20022025_01_25_36_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588749","file1":"1338588746","file0":"1338588741","file4":"1338588758","file5":"1338588759","file3":"1338588754"},"map_files_photo_id_array":[{"photo_id":"1338588759","filename":"file5"},{"photo_id":"1338588749","filename":"file2"},{"photo_id":"1338588758","filename":"file4"},{"photo_id":"1338588746","filename":"file1"},{"photo_id":"1338588741","filename":"file0"},{"photo_id":"1338588754","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588741":["hashtag1","hashtag2"]},{"1338588759":["hashtag1","hashtag2"]},{"1338588758":["hashtag1","hashtag2"]},{"1338588746":["hashtag1","hashtag2"]},{"1338588749":["hashtag1","hashtag2"]},{"1338588754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588741, 1338588759, 1338588758, 1338588746, 1338588749, 1338588754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28874444961548 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:48:32.808079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_17_10336.jpg', '/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_26_9337.jpg', '/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_36_10475.jpg', '/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_46_9431.jpg', '/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_56_10491.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_17_10336.jpg
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_26_9337.jpg
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_36_10475.jpg
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_46_9431.jpg
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_56_10491.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_16_10347.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5355720520019531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:48:42.813340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_17_10336.jpg', '/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_26_9337.jpg', '/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_36_10475.jpg', '/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_46_9431.jpg', '/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_56_10491.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_17_10336.jpg
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_26_9337.jpg
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_36_10475.jpg
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_46_9431.jpg
/home/pi/Desktop/images/20022025/01/26/image_20022025_01_26_56_10491.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_16_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588795","1338588789","1338588801","1338588785","1338588799","1338588803"],"photo_ids_order":["1338588785","1338588789","1338588795","1338588799","1338588801","1338588803"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/62c6ebba7a6504f656a2b1bd081627db.jpg","text":"TemporaryFile(/tmp/multipartBody5079281445519859933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052183266,"filename":"image_20022025_01_26_36_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d9945ee9e1047c75a9666162e078e0c.jpg","text":"TemporaryFile(/tmp/multipartBody1548758225835163470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052183266,"filename":"image_20022025_01_26_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e508ac5a34452ba2c9626239d9dd20b0.jpg","text":"TemporaryFile(/tmp/multipartBody2212806468722339126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052183266,"filename":"image_20022025_01_26_56_10491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2ae407b5e5ac9abac55f33764d92bdb8.jpg","text":"TemporaryFile(/tmp/multipartBody8972392561530821248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052183266,"filename":"image_20022025_01_26_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7437b08882852914abd87805fea27a67.jpg","text":"TemporaryFile(/tmp/multipartBody3589609480707460235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052183266,"filename":"image_20022025_01_26_46_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/145d05557bc8932a7adfeaf71fc3bb5e.jpg","text":"TemporaryFile(/tmp/multipartBody3721083013786939130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052183266,"filename":"image_20022025_01_27_16_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588795","file1":"1338588789","file0":"1338588785","file4":"1338588801","file5":"1338588803","file3":"1338588799"},"map_files_photo_id_array":[{"photo_id":"1338588803","filename":"file5"},{"photo_id":"1338588795","filename":"file2"},{"photo_id":"1338588801","filename":"file4"},{"photo_id":"1338588789","filename":"file1"},{"photo_id":"1338588785","filename":"file0"},{"photo_id":"1338588799","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588795":["hashtag1","hashtag2"]},{"1338588789":["hashtag1","hashtag2"]},{"1338588801":["hashtag1","hashtag2"]},{"1338588785":["hashtag1","hashtag2"]},{"1338588799":["hashtag1","hashtag2"]},{"1338588803":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588795, 1338588789, 1338588801, 1338588785, 1338588799, 1338588803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2775616645813 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:49:33.062209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_27_10391.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_57_10443.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_28_06_9321.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_27_10331.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_36_9321.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_27_10391.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_57_10443.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_28_06_9321.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_27_10331.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_36_9321.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_46_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88gk241ni</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88gk241ni</strong>.
uploaded 0 photos
time to upload: 30.465063333511353 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:50:32.291364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_27_10391.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_57_10443.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_28_06_9321.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_27_10331.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_36_9321.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_27_10391.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_57_10443.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_28_06_9321.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_27_10331.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_36_9321.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_46_10352.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.37747645378112793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:50:42.329627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_27_10391.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_57_10443.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_28_06_9321.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_27_10331.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_36_9321.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_27_10391.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_57_10443.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_28_06_9321.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_27_10331.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_36_9321.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_46_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [500]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Error</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #A31012;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #690000;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F5A0A0;\n\t\t        border-top: 4px solid #D36D6D;\n\t\t        color: #730000;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7A7A;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Oops, an error occured</h1>\n\n\t\t<p id="detail">\n\t\t\tThis exception has been logged with id <strong>88gk2806i</strong>.\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
500
			This exception has been logged with id <strong>88gk2806i</strong>.
uploaded 0 photos
time to upload: 30.39437174797058 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:51:32.463572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_27_10391.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_57_10443.jpg', '/home/pi/Desktop/images/20022025/01/27/image_20022025_01_28_06_9321.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_27_10331.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_36_9321.jpg', '/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_46_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_27_10391.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_27_57_10443.jpg
/home/pi/Desktop/images/20022025/01/27/image_20022025_01_28_06_9321.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_27_10331.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_36_9321.jpg
/home/pi/Desktop/images/20022025/01/28/image_20022025_01_28_46_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588816","1338588818","1338588823","1338588826","1338588829","1338588820"],"photo_ids_order":["1338588816","1338588818","1338588820","1338588823","1338588826","1338588829"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04cf75c66fdb43f0cea6309816013fc9.jpg","text":"TemporaryFile(/tmp/multipartBody2949553486348429550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052352917,"filename":"image_20022025_01_27_27_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76160cbc040417fc8ff40b22826ee184.jpg","text":"TemporaryFile(/tmp/multipartBody5036808042474771751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052352917,"filename":"image_20022025_01_27_57_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5da063e733c30b0c125e09f43bb2dfc2.jpg","text":"TemporaryFile(/tmp/multipartBody5192853645062070155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052352917,"filename":"image_20022025_01_28_27_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/894f120496d72c47fce6e31d5552375e.jpg","text":"TemporaryFile(/tmp/multipartBody3705744604887646045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052352917,"filename":"image_20022025_01_28_36_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/390d2cc636ca08a3ab63b4d848fa3cff.jpg","text":"TemporaryFile(/tmp/multipartBody7269595174190515642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052352917,"filename":"image_20022025_01_28_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9ab9a823b64bf8e49f41f46afd75216f.jpg","text":"TemporaryFile(/tmp/multipartBody7197358446340202403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052352917,"filename":"image_20022025_01_28_06_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588820","file1":"1338588818","file0":"1338588816","file4":"1338588826","file5":"1338588829","file3":"1338588823"},"map_files_photo_id_array":[{"photo_id":"1338588829","filename":"file5"},{"photo_id":"1338588820","filename":"file2"},{"photo_id":"1338588826","filename":"file4"},{"photo_id":"1338588818","filename":"file1"},{"photo_id":"1338588816","filename":"file0"},{"photo_id":"1338588823","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588816":["hashtag1","hashtag2"]},{"1338588818":["hashtag1","hashtag2"]},{"1338588823":["hashtag1","hashtag2"]},{"1338588826":["hashtag1","hashtag2"]},{"1338588829":["hashtag1","hashtag2"]},{"1338588820":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588816, 1338588818, 1338588823, 1338588826, 1338588829, 1338588820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 81.74201917648315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:53:04.225232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/29/image_20022025_01_29_47_10391.jpg', '/home/pi/Desktop/images/20022025/01/29/image_20022025_01_30_06_10334.jpg', '/home/pi/Desktop/images/20022025/01/30/image_20022025_01_30_17_10346.jpg', '/home/pi/Desktop/images/20022025/01/30/image_20022025_01_30_36_10323.jpg', '/home/pi/Desktop/images/20022025/01/30/image_20022025_01_30_47_10433.jpg', '/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_17_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/29/image_20022025_01_29_47_10391.jpg
/home/pi/Desktop/images/20022025/01/29/image_20022025_01_30_06_10334.jpg
/home/pi/Desktop/images/20022025/01/30/image_20022025_01_30_17_10346.jpg
/home/pi/Desktop/images/20022025/01/30/image_20022025_01_30_36_10323.jpg
/home/pi/Desktop/images/20022025/01/30/image_20022025_01_30_47_10433.jpg
/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_17_10333.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588858","1338588855","1338588860","1338588853","1338588865","1338588850"],"photo_ids_order":["1338588850","1338588853","1338588855","1338588858","1338588860","1338588865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/723f60f46c270a810f99ddbab162c4d6.jpg","text":"TemporaryFile(/tmp/multipartBody1486977771096305587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052446495,"filename":"image_20022025_01_30_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e20656af7337120ca5ef94b322f7d2d.jpg","text":"TemporaryFile(/tmp/multipartBody5446590665044236530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052446495,"filename":"image_20022025_01_30_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14c66139c07bc051cf68df205963d8c9.jpg","text":"TemporaryFile(/tmp/multipartBody3920963041934869514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052446495,"filename":"image_20022025_01_30_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7a7fa09b4bcfbcc83336ff1ba70cbe9.jpg","text":"TemporaryFile(/tmp/multipartBody6286127185370340065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052446495,"filename":"image_20022025_01_30_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b9204c3268eceab4cf3df529525ef18.jpg","text":"TemporaryFile(/tmp/multipartBody771610242161034692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052446495,"filename":"image_20022025_01_31_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0047509d8d73252b202275cb00745243.jpg","text":"TemporaryFile(/tmp/multipartBody6987025178526014391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052446495,"filename":"image_20022025_01_29_47_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588855","file1":"1338588853","file0":"1338588850","file4":"1338588860","file5":"1338588865","file3":"1338588858"},"map_files_photo_id_array":[{"photo_id":"1338588865","filename":"file5"},{"photo_id":"1338588855","filename":"file2"},{"photo_id":"1338588860","filename":"file4"},{"photo_id":"1338588853","filename":"file1"},{"photo_id":"1338588850","filename":"file0"},{"photo_id":"1338588858","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588858":["hashtag1","hashtag2"]},{"1338588855":["hashtag1","hashtag2"]},{"1338588860":["hashtag1","hashtag2"]},{"1338588853":["hashtag1","hashtag2"]},{"1338588865":["hashtag1","hashtag2"]},{"1338588850":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588858, 1338588855, 1338588860, 1338588853, 1338588865, 1338588850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35317611694336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:53:42.881894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_26_9337.jpg', '/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_36_10391.jpg', '/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_46_9336.jpg', '/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_56_10337.jpg', '/home/pi/Desktop/images/20022025/01/31/image_20022025_01_32_07_10457.jpg', '/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_16_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_26_9337.jpg
/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_36_10391.jpg
/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_46_9336.jpg
/home/pi/Desktop/images/20022025/01/31/image_20022025_01_31_56_10337.jpg
/home/pi/Desktop/images/20022025/01/31/image_20022025_01_32_07_10457.jpg
/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_16_9330.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":["1338588881","1338588875","1338588884","1338588878","1338588872","1338588889"],"photo_ids_order":["1338588872","1338588875","1338588878","1338588881","1338588884","1338588889"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0d624e50a6d55e95e3d3f03564b871a.jpg","text":"TemporaryFile(/tmp/multipartBody6217322422262439501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052483430,"filename":"image_20022025_01_31_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/961391637e636d9c4371330272dd2513.jpg","text":"TemporaryFile(/tmp/multipartBody7529959772941178325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052483430,"filename":"image_20022025_01_31_36_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/662eed4d1a127dcd25024c59f6d9dd84.jpg","text":"TemporaryFile(/tmp/multipartBody8150292662850934978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052483430,"filename":"image_20022025_01_32_07_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f647e5c41bcbf535ae819bcde176b59d.jpg","text":"TemporaryFile(/tmp/multipartBody5766241390192632457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052483430,"filename":"image_20022025_01_31_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5db49e0bbfde61081a365e6865e4b825.jpg","text":"TemporaryFile(/tmp/multipartBody3676299965065847478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052483430,"filename":"image_20022025_01_31_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e442c45c69b6f06479158b1925859219.jpg","text":"TemporaryFile(/tmp/multipartBody1985842694880392247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052483430,"filename":"image_20022025_01_32_16_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588878","file1":"1338588875","file0":"1338588872","file4":"1338588884","file5":"1338588889","file3":"1338588881"},"map_files_photo_id_array":[{"photo_id":"1338588889","filename":"file5"},{"photo_id":"1338588878","filename":"file2"},{"photo_id":"1338588884","filename":"file4"},{"photo_id":"1338588875","filename":"file1"},{"photo_id":"1338588872","filename":"file0"},{"photo_id":"1338588881","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588881":["hashtag1","hashtag2"]},{"1338588875":["hashtag1","hashtag2"]},{"1338588884":["hashtag1","hashtag2"]},{"1338588878":["hashtag1","hashtag2"]},{"1338588872":["hashtag1","hashtag2"]},{"1338588889":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588881, 1338588875, 1338588884, 1338588878, 1338588872, 1338588889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.037281274795532 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:54:32.971501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_26_10330.jpg', '/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_37_10330.jpg', '/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_46_9345.jpg', '/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_56_10373.jpg', '/home/pi/Desktop/images/20022025/01/32/image_20022025_01_33_07_10340.jpg', '/home/pi/Desktop/images/20022025/01/33/image_20022025_01_33_16_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_26_10330.jpg
/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_37_10330.jpg
/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_46_9345.jpg
/home/pi/Desktop/images/20022025/01/32/image_20022025_01_32_56_10373.jpg
/home/pi/Desktop/images/20022025/01/32/image_20022025_01_33_07_10340.jpg
/home/pi/Desktop/images/20022025/01/33/image_20022025_01_33_16_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588915","1338588918","1338588920","1338588910","1338588913","1338588907"],"photo_ids_order":["1338588907","1338588910","1338588913","1338588915","1338588918","1338588920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b42d1c5f6894add361916c7bbae7d142.jpg","text":"TemporaryFile(/tmp/multipartBody4726681333859546232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052533514,"filename":"image_20022025_01_32_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db5321be845264570ae1e3efea60eb81.jpg","text":"TemporaryFile(/tmp/multipartBody5130677603165794254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052533514,"filename":"image_20022025_01_33_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/03494a26a2881cb27586a8a098bad1a4.jpg","text":"TemporaryFile(/tmp/multipartBody6278805471532673287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052533514,"filename":"image_20022025_01_33_16_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2608669562f4918a7dbc94a2717e7336.jpg","text":"TemporaryFile(/tmp/multipartBody7002596158846365934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052533514,"filename":"image_20022025_01_32_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea825605a68337f4ae66323ebdb0c7a5.jpg","text":"TemporaryFile(/tmp/multipartBody4314385635789116958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052533514,"filename":"image_20022025_01_32_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5efaedfee4539ebd654af7cf77d36218.jpg","text":"TemporaryFile(/tmp/multipartBody4400941707748088853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052533514,"filename":"image_20022025_01_32_26_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588913","file1":"1338588910","file0":"1338588907","file4":"1338588918","file5":"1338588920","file3":"1338588915"},"map_files_photo_id_array":[{"photo_id":"1338588920","filename":"file5"},{"photo_id":"1338588913","filename":"file2"},{"photo_id":"1338588918","filename":"file4"},{"photo_id":"1338588910","filename":"file1"},{"photo_id":"1338588907","filename":"file0"},{"photo_id":"1338588915","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588915":["hashtag1","hashtag2"]},{"1338588918":["hashtag1","hashtag2"]},{"1338588920":["hashtag1","hashtag2"]},{"1338588910":["hashtag1","hashtag2"]},{"1338588913":["hashtag1","hashtag2"]},{"1338588907":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588915, 1338588918, 1338588920, 1338588910, 1338588913, 1338588907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65216779708862 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:55:32.175911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/33/image_20022025_01_33_26_10348.jpg', '/home/pi/Desktop/images/20022025/01/33/image_20022025_01_33_37_10405.jpg', '/home/pi/Desktop/images/20022025/01/33/image_20022025_01_33_46_9336.jpg', '/home/pi/Desktop/images/20022025/01/34/image_20022025_01_34_16_10329.jpg', '/home/pi/Desktop/images/20022025/01/34/image_20022025_01_34_46_10342.jpg', '/home/pi/Desktop/images/20022025/01/34/image_20022025_01_34_57_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/33/image_20022025_01_33_26_10348.jpg
/home/pi/Desktop/images/20022025/01/33/image_20022025_01_33_37_10405.jpg
/home/pi/Desktop/images/20022025/01/33/image_20022025_01_33_46_9336.jpg
/home/pi/Desktop/images/20022025/01/34/image_20022025_01_34_16_10329.jpg
/home/pi/Desktop/images/20022025/01/34/image_20022025_01_34_46_10342.jpg
/home/pi/Desktop/images/20022025/01/34/image_20022025_01_34_57_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338588945","1338588941","1338588950","1338588953","1338588947","1338588943"],"photo_ids_order":["1338588941","1338588943","1338588945","1338588947","1338588950","1338588953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04d92eb7c68772156e74c27f005a1bc8.jpg","text":"TemporaryFile(/tmp/multipartBody6906388878867427060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052592709,"filename":"image_20022025_01_33_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3a4df54aaa4a4dcd9360cdadb354057.jpg","text":"TemporaryFile(/tmp/multipartBody5377356907622104858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052592709,"filename":"image_20022025_01_33_26_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a59c2354c125abc60d0558b2c064c6a8.jpg","text":"TemporaryFile(/tmp/multipartBody1707871340383296136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052592709,"filename":"image_20022025_01_34_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ae857db3c9215f096eef1b0e0bd2d16.jpg","text":"TemporaryFile(/tmp/multipartBody1221336373692737311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052592709,"filename":"image_20022025_01_34_57_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7c9846e5c213ac80eb21cb66c3b41046.jpg","text":"TemporaryFile(/tmp/multipartBody535918408948715816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052592709,"filename":"image_20022025_01_34_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/86b7b8568f8ec9114cfe930addbc9d36.jpg","text":"TemporaryFile(/tmp/multipartBody6438375328470731760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052592709,"filename":"image_20022025_01_33_37_10405.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338588945","file1":"1338588943","file0":"1338588941","file4":"1338588950","file5":"1338588953","file3":"1338588947"},"map_files_photo_id_array":[{"photo_id":"1338588953","filename":"file5"},{"photo_id":"1338588945","filename":"file2"},{"photo_id":"1338588950","filename":"file4"},{"photo_id":"1338588943","filename":"file1"},{"photo_id":"1338588941","filename":"file0"},{"photo_id":"1338588947","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338588945":["hashtag1","hashtag2"]},{"1338588941":["hashtag1","hashtag2"]},{"1338588950":["hashtag1","hashtag2"]},{"1338588953":["hashtag1","hashtag2"]},{"1338588947":["hashtag1","hashtag2"]},{"1338588943":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338588945, 1338588941, 1338588950, 1338588953, 1338588947, 1338588943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7852623462677 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:56:32.374481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/34/image_20022025_01_35_06_9320.jpg', '/home/pi/Desktop/images/20022025/01/35/image_20022025_01_35_26_9411.jpg', '/home/pi/Desktop/images/20022025/01/35/image_20022025_01_35_47_10449.jpg', '/home/pi/Desktop/images/20022025/01/35/image_20022025_01_35_56_9357.jpg', '/home/pi/Desktop/images/20022025/01/35/image_20022025_01_36_06_10339.jpg', '/home/pi/Desktop/images/20022025/01/36/image_20022025_01_36_17_10379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/34/image_20022025_01_35_06_9320.jpg
/home/pi/Desktop/images/20022025/01/35/image_20022025_01_35_26_9411.jpg
/home/pi/Desktop/images/20022025/01/35/image_20022025_01_35_47_10449.jpg
/home/pi/Desktop/images/20022025/01/35/image_20022025_01_35_56_9357.jpg
/home/pi/Desktop/images/20022025/01/35/image_20022025_01_36_06_10339.jpg
/home/pi/Desktop/images/20022025/01/36/image_20022025_01_36_17_10379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338589190","1338589198","1338589036","1338589194","1338589126","1338589185"],"photo_ids_order":["1338589036","1338589126","1338589185","1338589190","1338589194","1338589198"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/79b8712b567306046914d423fdc91879.jpg","text":"TemporaryFile(/tmp/multipartBody4926863379427954827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052652927,"filename":"image_20022025_01_35_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a864e079ebc8635bcbf3181a4c065adf.jpg","text":"TemporaryFile(/tmp/multipartBody5658223374365310519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052652927,"filename":"image_20022025_01_36_17_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc6d2fef553541150947e6341ceda8ff.jpg","text":"TemporaryFile(/tmp/multipartBody5773894914581099048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052652927,"filename":"image_20022025_01_35_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7434542062cb03f809a5288b3f959db4.jpg","text":"TemporaryFile(/tmp/multipartBody4286352573277712025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052652927,"filename":"image_20022025_01_36_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2533d1c064a7a19158f7f989fa8ab5b.jpg","text":"TemporaryFile(/tmp/multipartBody5537668183869876483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052652927,"filename":"image_20022025_01_35_26_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f034186befad6a2b8b5628092872b9e.jpg","text":"TemporaryFile(/tmp/multipartBody2702641845691353455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052652927,"filename":"image_20022025_01_35_47_10449.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338589185","file1":"1338589126","file0":"1338589036","file4":"1338589194","file5":"1338589198","file3":"1338589190"},"map_files_photo_id_array":[{"photo_id":"1338589198","filename":"file5"},{"photo_id":"1338589185","filename":"file2"},{"photo_id":"1338589194","filename":"file4"},{"photo_id":"1338589126","filename":"file1"},{"photo_id":"1338589036","filename":"file0"},{"photo_id":"1338589190","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338589190":["hashtag1","hashtag2"]},{"1338589198":["hashtag1","hashtag2"]},{"1338589036":["hashtag1","hashtag2"]},{"1338589194":["hashtag1","hashtag2"]},{"1338589126":["hashtag1","hashtag2"]},{"1338589185":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338589190, 1338589198, 1338589036, 1338589194, 1338589126, 1338589185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.13206696510315 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 12:57:32.489975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/36/image_20022025_01_36_56_10354.jpg', '/home/pi/Desktop/images/20022025/01/36/image_20022025_01_37_07_10331.jpg', '/home/pi/Desktop/images/20022025/01/37/image_20022025_01_37_26_10424.jpg', '/home/pi/Desktop/images/20022025/01/37/image_20022025_01_38_07_10338.jpg', '/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_16_9329.jpg', '/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_26_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/36/image_20022025_01_36_56_10354.jpg
/home/pi/Desktop/images/20022025/01/36/image_20022025_01_37_07_10331.jpg
/home/pi/Desktop/images/20022025/01/37/image_20022025_01_37_26_10424.jpg
/home/pi/Desktop/images/20022025/01/37/image_20022025_01_38_07_10338.jpg
/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_16_9329.jpg
/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_26_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:59:03.501601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/36/image_20022025_01_36_56_10354.jpg', '/home/pi/Desktop/images/20022025/01/36/image_20022025_01_37_07_10331.jpg', '/home/pi/Desktop/images/20022025/01/37/image_20022025_01_37_26_10424.jpg', '/home/pi/Desktop/images/20022025/01/37/image_20022025_01_38_07_10338.jpg', '/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_16_9329.jpg', '/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_26_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/36/image_20022025_01_36_56_10354.jpg
/home/pi/Desktop/images/20022025/01/36/image_20022025_01_37_07_10331.jpg
/home/pi/Desktop/images/20022025/01/37/image_20022025_01_37_26_10424.jpg
/home/pi/Desktop/images/20022025/01/37/image_20022025_01_38_07_10338.jpg
/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_16_9329.jpg
/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_26_10337.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338589413","1338589424","1338589406","1338589411","1338589420","1338589417"],"photo_ids_order":["1338589406","1338589411","1338589413","1338589417","1338589420","1338589424"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68257f88e3788145cf7be1d613bed856.jpg","text":"TemporaryFile(/tmp/multipartBody5333342139613065774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052804039,"filename":"image_20022025_01_37_26_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b388d455bbe1473297a9799dcdd80db8.jpg","text":"TemporaryFile(/tmp/multipartBody6507705643257587812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052804039,"filename":"image_20022025_01_38_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a2b75c8caccf8a5aec3d1aafe314e2c6.jpg","text":"TemporaryFile(/tmp/multipartBody8865634553735089189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052804039,"filename":"image_20022025_01_36_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6459475d7ff09938d57dee5d1421f53.jpg","text":"TemporaryFile(/tmp/multipartBody1083141433631637394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052804039,"filename":"image_20022025_01_37_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bb92faf632c47728867186fb2c0af762.jpg","text":"TemporaryFile(/tmp/multipartBody3138144160752273860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052804039,"filename":"image_20022025_01_38_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8876a2638a2f8124fc6e764516af30df.jpg","text":"TemporaryFile(/tmp/multipartBody4975419527727793486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052804039,"filename":"image_20022025_01_38_07_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338589413","file1":"1338589411","file0":"1338589406","file4":"1338589420","file5":"1338589424","file3":"1338589417"},"map_files_photo_id_array":[{"photo_id":"1338589424","filename":"file5"},{"photo_id":"1338589413","filename":"file2"},{"photo_id":"1338589420","filename":"file4"},{"photo_id":"1338589411","filename":"file1"},{"photo_id":"1338589406","filename":"file0"},{"photo_id":"1338589417","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338589413":["hashtag1","hashtag2"]},{"1338589424":["hashtag1","hashtag2"]},{"1338589406":["hashtag1","hashtag2"]},{"1338589411":["hashtag1","hashtag2"]},{"1338589420":["hashtag1","hashtag2"]},{"1338589417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338589413, 1338589424, 1338589406, 1338589411, 1338589420, 1338589417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97836661338806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 12:59:42.358973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_37_10339.jpg', '/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_46_9395.jpg', '/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_57_10438.jpg', '/home/pi/Desktop/images/20022025/01/38/image_20022025_01_39_06_9323.jpg', '/home/pi/Desktop/images/20022025/01/39/image_20022025_01_39_27_10345.jpg', '/home/pi/Desktop/images/20022025/01/39/image_20022025_01_39_36_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_37_10339.jpg
/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_46_9395.jpg
/home/pi/Desktop/images/20022025/01/38/image_20022025_01_38_57_10438.jpg
/home/pi/Desktop/images/20022025/01/38/image_20022025_01_39_06_9323.jpg
/home/pi/Desktop/images/20022025/01/39/image_20022025_01_39_27_10345.jpg
/home/pi/Desktop/images/20022025/01/39/image_20022025_01_39_36_9323.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":["1338589443","1338589463","1338589457","1338589454","1338589448","1338589438"],"photo_ids_order":["1338589438","1338589443","1338589448","1338589454","1338589457","1338589463"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fb11e9637d3d2c094fff7e92332ba9ca.jpg","text":"TemporaryFile(/tmp/multipartBody4624487339652688697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052842892,"filename":"image_20022025_01_38_46_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/954668419c4d10d4addb25535d51eb44.jpg","text":"TemporaryFile(/tmp/multipartBody7736940107500316597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052842892,"filename":"image_20022025_01_39_36_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88caaa0888f6dd687f2ea93bca6560a8.jpg","text":"TemporaryFile(/tmp/multipartBody4783365969317817723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052842892,"filename":"image_20022025_01_39_27_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6fe4b7349e2dedcf302efc396e91f5f2.jpg","text":"TemporaryFile(/tmp/multipartBody5381271328394042036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052842892,"filename":"image_20022025_01_39_06_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3942977dd7b127f66dfffb148b17f0f.jpg","text":"TemporaryFile(/tmp/multipartBody701345356753965999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052842892,"filename":"image_20022025_01_38_57_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b850798bed07bebdf5f120783668ead0.jpg","text":"TemporaryFile(/tmp/multipartBody4931129134175403099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052842892,"filename":"image_20022025_01_38_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338589448","file1":"1338589443","file0":"1338589438","file4":"1338589457","file5":"1338589463","file3":"1338589454"},"map_files_photo_id_array":[{"photo_id":"1338589463","filename":"file5"},{"photo_id":"1338589448","filename":"file2"},{"photo_id":"1338589457","filename":"file4"},{"photo_id":"1338589443","filename":"file1"},{"photo_id":"1338589438","filename":"file0"},{"photo_id":"1338589454","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338589443":["hashtag1","hashtag2"]},{"1338589463":["hashtag1","hashtag2"]},{"1338589457":["hashtag1","hashtag2"]},{"1338589454":["hashtag1","hashtag2"]},{"1338589448":["hashtag1","hashtag2"]},{"1338589438":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338589443, 1338589463, 1338589457, 1338589454, 1338589448, 1338589438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7624294757843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:00:32.496092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/39/image_20022025_01_39_57_10386.jpg', '/home/pi/Desktop/images/20022025/01/39/image_20022025_01_40_06_9396.jpg', '/home/pi/Desktop/images/20022025/01/40/image_20022025_01_40_17_10466.jpg', '/home/pi/Desktop/images/20022025/01/40/image_20022025_01_40_56_9321.jpg', '/home/pi/Desktop/images/20022025/01/40/image_20022025_01_41_06_10327.jpg', '/home/pi/Desktop/images/20022025/01/41/image_20022025_01_41_26_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/39/image_20022025_01_39_57_10386.jpg
/home/pi/Desktop/images/20022025/01/39/image_20022025_01_40_06_9396.jpg
/home/pi/Desktop/images/20022025/01/40/image_20022025_01_40_17_10466.jpg
/home/pi/Desktop/images/20022025/01/40/image_20022025_01_40_56_9321.jpg
/home/pi/Desktop/images/20022025/01/40/image_20022025_01_41_06_10327.jpg
/home/pi/Desktop/images/20022025/01/41/image_20022025_01_41_26_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338589492","1338589495","1338589489","1338589477","1338589485","1338589482"],"photo_ids_order":["1338589477","1338589482","1338589485","1338589489","1338589492","1338589495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c767687b7dc5c3cd1f94734f30fc20a2.jpg","text":"TemporaryFile(/tmp/multipartBody5412125620911683735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052893038,"filename":"image_20022025_01_41_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e930b1be6ab69980c3f0efd3c776c79a.jpg","text":"TemporaryFile(/tmp/multipartBody4740173748037015367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052893038,"filename":"image_20022025_01_41_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db42f3fed813d619551de2d46d7906ed.jpg","text":"TemporaryFile(/tmp/multipartBody4187400723538623633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052893038,"filename":"image_20022025_01_40_56_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0a9d7c0556368630fbc5fd196ccb314f.jpg","text":"TemporaryFile(/tmp/multipartBody4365780418018467505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052893038,"filename":"image_20022025_01_39_57_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4666bbae4b8363b105987bc164acafd6.jpg","text":"TemporaryFile(/tmp/multipartBody6308092441526876189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052893038,"filename":"image_20022025_01_40_17_10466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4afb2e237b72dfd1afb289ea71a8c38c.jpg","text":"TemporaryFile(/tmp/multipartBody6821688668726885379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052893038,"filename":"image_20022025_01_40_06_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338589485","file1":"1338589482","file0":"1338589477","file4":"1338589492","file5":"1338589495","file3":"1338589489"},"map_files_photo_id_array":[{"photo_id":"1338589495","filename":"file5"},{"photo_id":"1338589485","filename":"file2"},{"photo_id":"1338589492","filename":"file4"},{"photo_id":"1338589482","filename":"file1"},{"photo_id":"1338589477","filename":"file0"},{"photo_id":"1338589489","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338589492":["hashtag1","hashtag2"]},{"1338589495":["hashtag1","hashtag2"]},{"1338589489":["hashtag1","hashtag2"]},{"1338589477":["hashtag1","hashtag2"]},{"1338589485":["hashtag1","hashtag2"]},{"1338589482":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338589492, 1338589495, 1338589489, 1338589477, 1338589485, 1338589482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94996690750122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:01:32.652924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/41/image_20022025_01_41_36_10327.jpg', '/home/pi/Desktop/images/20022025/01/41/image_20022025_01_41_47_10345.jpg', '/home/pi/Desktop/images/20022025/01/41/image_20022025_01_41_56_9323.jpg', '/home/pi/Desktop/images/20022025/01/41/image_20022025_01_42_06_10335.jpg', '/home/pi/Desktop/images/20022025/01/42/image_20022025_01_42_26_9349.jpg', '/home/pi/Desktop/images/20022025/01/42/image_20022025_01_43_07_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/41/image_20022025_01_41_36_10327.jpg
/home/pi/Desktop/images/20022025/01/41/image_20022025_01_41_47_10345.jpg
/home/pi/Desktop/images/20022025/01/41/image_20022025_01_41_56_9323.jpg
/home/pi/Desktop/images/20022025/01/41/image_20022025_01_42_06_10335.jpg
/home/pi/Desktop/images/20022025/01/42/image_20022025_01_42_26_9349.jpg
/home/pi/Desktop/images/20022025/01/42/image_20022025_01_43_07_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338589521","1338589530","1338589518","1338589538","1338589534","1338589516"],"photo_ids_order":["1338589516","1338589518","1338589521","1338589530","1338589534","1338589538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d9560e5e25eef5fbec306a2d964c5996.jpg","text":"TemporaryFile(/tmp/multipartBody8337490878479040967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052953188,"filename":"image_20022025_01_41_56_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f53f3befaf600ca58347d828e8486cb.jpg","text":"TemporaryFile(/tmp/multipartBody997009433287368534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052953188,"filename":"image_20022025_01_42_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/97b61ff66cb57829eeb78ae3fd043b68.jpg","text":"TemporaryFile(/tmp/multipartBody3369630331549555623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052953188,"filename":"image_20022025_01_41_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/799353f5fd06ec37b786cfe4e0d775fd.jpg","text":"TemporaryFile(/tmp/multipartBody30162896598517437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052953188,"filename":"image_20022025_01_43_07_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/61bccec6b4f87f834c937b513d1b844e.jpg","text":"TemporaryFile(/tmp/multipartBody2179630386881393509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052953188,"filename":"image_20022025_01_42_26_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba8863a47e801c02974145d786db1957.jpg","text":"TemporaryFile(/tmp/multipartBody721321786551250771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740052953188,"filename":"image_20022025_01_41_36_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338589521","file1":"1338589518","file0":"1338589516","file4":"1338589534","file5":"1338589538","file3":"1338589530"},"map_files_photo_id_array":[{"photo_id":"1338589538","filename":"file5"},{"photo_id":"1338589521","filename":"file2"},{"photo_id":"1338589534","filename":"file4"},{"photo_id":"1338589518","filename":"file1"},{"photo_id":"1338589516","filename":"file0"},{"photo_id":"1338589530","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338589521":["hashtag1","hashtag2"]},{"1338589530":["hashtag1","hashtag2"]},{"1338589518":["hashtag1","hashtag2"]},{"1338589538":["hashtag1","hashtag2"]},{"1338589534":["hashtag1","hashtag2"]},{"1338589516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338589521, 1338589530, 1338589518, 1338589538, 1338589534, 1338589516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25436854362488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:02:32.909148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/43/image_20022025_01_43_16_9356.jpg', '/home/pi/Desktop/images/20022025/01/43/image_20022025_01_43_26_10350.jpg', '/home/pi/Desktop/images/20022025/01/43/image_20022025_01_43_37_10336.jpg', '/home/pi/Desktop/images/20022025/01/44/image_20022025_01_44_46_10351.jpg', '/home/pi/Desktop/images/20022025/01/44/image_20022025_01_44_57_10417.jpg', '/home/pi/Desktop/images/20022025/01/45/image_20022025_01_45_16_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/43/image_20022025_01_43_16_9356.jpg
/home/pi/Desktop/images/20022025/01/43/image_20022025_01_43_26_10350.jpg
/home/pi/Desktop/images/20022025/01/43/image_20022025_01_43_37_10336.jpg
/home/pi/Desktop/images/20022025/01/44/image_20022025_01_44_46_10351.jpg
/home/pi/Desktop/images/20022025/01/44/image_20022025_01_44_57_10417.jpg
/home/pi/Desktop/images/20022025/01/45/image_20022025_01_45_16_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338589707","1338589556","1338589568","1338589564","1338589569","1338589560"],"photo_ids_order":["1338589556","1338589560","1338589564","1338589568","1338589569","1338589707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2c090f9a46007a30f9356022e8a1ade.jpg","text":"TemporaryFile(/tmp/multipartBody2714790765275489500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053013452,"filename":"image_20022025_01_45_16_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09afde3cc8fe6b1dbc2b8d0818436dab.jpg","text":"TemporaryFile(/tmp/multipartBody3259639425640951307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053013452,"filename":"image_20022025_01_43_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bae8bd81824a933ec3dd13b5e37359e6.jpg","text":"TemporaryFile(/tmp/multipartBody8585599820688543942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053013452,"filename":"image_20022025_01_44_46_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4dcf9294620de06194e4bc10f3ddb99e.jpg","text":"TemporaryFile(/tmp/multipartBody1662082655921361412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053013452,"filename":"image_20022025_01_43_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa4322a044a45725963159ace3b9ece0.jpg","text":"TemporaryFile(/tmp/multipartBody1369724303467484341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053013452,"filename":"image_20022025_01_44_57_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce112ddeb0890e17e5705e85d0ae9093.jpg","text":"TemporaryFile(/tmp/multipartBody9182624456681430665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053013452,"filename":"image_20022025_01_43_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338589564","file1":"1338589560","file0":"1338589556","file4":"1338589569","file5":"1338589707","file3":"1338589568"},"map_files_photo_id_array":[{"photo_id":"1338589707","filename":"file5"},{"photo_id":"1338589564","filename":"file2"},{"photo_id":"1338589569","filename":"file4"},{"photo_id":"1338589560","filename":"file1"},{"photo_id":"1338589556","filename":"file0"},{"photo_id":"1338589568","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338589707":["hashtag1","hashtag2"]},{"1338589556":["hashtag1","hashtag2"]},{"1338589568":["hashtag1","hashtag2"]},{"1338589564":["hashtag1","hashtag2"]},{"1338589569":["hashtag1","hashtag2"]},{"1338589560":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338589707, 1338589556, 1338589568, 1338589564, 1338589569, 1338589560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.610612630844116 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:03:33.029766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/45/image_20022025_01_45_26_9345.jpg', '/home/pi/Desktop/images/20022025/01/45/image_20022025_01_45_56_9347.jpg', '/home/pi/Desktop/images/20022025/01/46/image_20022025_01_46_17_10340.jpg', '/home/pi/Desktop/images/20022025/01/46/image_20022025_01_46_26_9431.jpg', '/home/pi/Desktop/images/20022025/01/46/image_20022025_01_46_37_10485.jpg', '/home/pi/Desktop/images/20022025/01/46/image_20022025_01_46_46_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/45/image_20022025_01_45_26_9345.jpg
/home/pi/Desktop/images/20022025/01/45/image_20022025_01_45_56_9347.jpg
/home/pi/Desktop/images/20022025/01/46/image_20022025_01_46_17_10340.jpg
/home/pi/Desktop/images/20022025/01/46/image_20022025_01_46_26_9431.jpg
/home/pi/Desktop/images/20022025/01/46/image_20022025_01_46_37_10485.jpg
/home/pi/Desktop/images/20022025/01/46/image_20022025_01_46_46_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590223","1338590276","1338590186","1338590216","1338590212","1338590209"],"photo_ids_order":["1338590186","1338590209","1338590212","1338590216","1338590223","1338590276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75cef1907d681a7fcf6562f2c41b68cc.jpg","text":"TemporaryFile(/tmp/multipartBody6675889471785167895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053073582,"filename":"image_20022025_01_46_37_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2dde00f9e4c854a8b1cab39c104b605c.jpg","text":"TemporaryFile(/tmp/multipartBody8753023652615750373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053073582,"filename":"image_20022025_01_46_46_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a0fda35b7b670dc24248568256c3686.jpg","text":"TemporaryFile(/tmp/multipartBody7231592072349868131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053073582,"filename":"image_20022025_01_45_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70799f74f7652fa679e8f242fdc71ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7011979481081546635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053073582,"filename":"image_20022025_01_46_26_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1c6e89a86f777182972142ce3ea6929e.jpg","text":"TemporaryFile(/tmp/multipartBody8959363437823306788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053073582,"filename":"image_20022025_01_46_17_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/600c10d53ca8fb3ebe925b59b9293202.jpg","text":"TemporaryFile(/tmp/multipartBody4656843395196882241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053073582,"filename":"image_20022025_01_45_56_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590212","file1":"1338590209","file0":"1338590186","file4":"1338590223","file5":"1338590276","file3":"1338590216"},"map_files_photo_id_array":[{"photo_id":"1338590276","filename":"file5"},{"photo_id":"1338590212","filename":"file2"},{"photo_id":"1338590223","filename":"file4"},{"photo_id":"1338590209","filename":"file1"},{"photo_id":"1338590186","filename":"file0"},{"photo_id":"1338590216","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590223":["hashtag1","hashtag2"]},{"1338590276":["hashtag1","hashtag2"]},{"1338590186":["hashtag1","hashtag2"]},{"1338590216":["hashtag1","hashtag2"]},{"1338590212":["hashtag1","hashtag2"]},{"1338590209":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590223, 1338590276, 1338590186, 1338590216, 1338590212, 1338590209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18824005126953 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:04:32.226332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/46/image_20022025_01_47_06_9338.jpg', '/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_16_10338.jpg', '/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_27_10439.jpg', '/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_36_9316.jpg', '/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_46_10350.jpg', '/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_57_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/46/image_20022025_01_47_06_9338.jpg
/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_16_10338.jpg
/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_27_10439.jpg
/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_36_9316.jpg
/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_46_10350.jpg
/home/pi/Desktop/images/20022025/01/47/image_20022025_01_47_57_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590370","1338590364","1338590394","1338590390","1338590383","1338590397"],"photo_ids_order":["1338590364","1338590370","1338590383","1338590390","1338590394","1338590397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dc999920f2dbcc7df4de821b80fe9fdf.jpg","text":"TemporaryFile(/tmp/multipartBody293811906317816521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053132760,"filename":"image_20022025_01_47_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6bca40611bc0e9b2488d7e01d042fdae.jpg","text":"TemporaryFile(/tmp/multipartBody998934908215036167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053132760,"filename":"image_20022025_01_47_06_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f12e1d9cc3880f43b9a3bc04afc9476.jpg","text":"TemporaryFile(/tmp/multipartBody6263284104151527177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053132760,"filename":"image_20022025_01_47_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/27b2b92a7f4793139008042df8056447.jpg","text":"TemporaryFile(/tmp/multipartBody7958452424894332592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053132760,"filename":"image_20022025_01_47_36_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0dbd4559bf68fb3cc1953583f017e8c9.jpg","text":"TemporaryFile(/tmp/multipartBody20182649205618308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053132760,"filename":"image_20022025_01_47_27_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96680f3b3ab03dc4e68f19b5d154bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody9210097731805719972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053132760,"filename":"image_20022025_01_47_57_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590383","file1":"1338590370","file0":"1338590364","file4":"1338590394","file5":"1338590397","file3":"1338590390"},"map_files_photo_id_array":[{"photo_id":"1338590397","filename":"file5"},{"photo_id":"1338590383","filename":"file2"},{"photo_id":"1338590394","filename":"file4"},{"photo_id":"1338590370","filename":"file1"},{"photo_id":"1338590364","filename":"file0"},{"photo_id":"1338590390","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590370":["hashtag1","hashtag2"]},{"1338590364":["hashtag1","hashtag2"]},{"1338590394":["hashtag1","hashtag2"]},{"1338590390":["hashtag1","hashtag2"]},{"1338590383":["hashtag1","hashtag2"]},{"1338590397":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590370, 1338590364, 1338590394, 1338590390, 1338590383, 1338590397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57615089416504 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:05:32.465211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_16_10366.jpg', '/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_27_10457.jpg', '/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_36_9386.jpg', '/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_47_10478.jpg', '/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_56_9441.jpg', '/home/pi/Desktop/images/20022025/01/49/image_20022025_01_49_17_10409.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_16_10366.jpg
/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_27_10457.jpg
/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_36_9386.jpg
/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_47_10478.jpg
/home/pi/Desktop/images/20022025/01/48/image_20022025_01_48_56_9441.jpg
/home/pi/Desktop/images/20022025/01/49/image_20022025_01_49_17_10409.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590423","1338590416","1338590425","1338590419","1338590428","1338590413"],"photo_ids_order":["1338590413","1338590416","1338590419","1338590423","1338590425","1338590428"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7fdd03010c390cde3a83cf353a573d2c.jpg","text":"TemporaryFile(/tmp/multipartBody9067815160303591538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053192999,"filename":"image_20022025_01_48_47_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a00e8968b76a3add4ae30cbc4dcad25.jpg","text":"TemporaryFile(/tmp/multipartBody6308931073060900661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053192999,"filename":"image_20022025_01_48_27_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3153a3083f02029f35d877fcf7798722.jpg","text":"TemporaryFile(/tmp/multipartBody8470160465386214761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053192999,"filename":"image_20022025_01_48_56_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff0787f0b167771821352db95c793a22.jpg","text":"TemporaryFile(/tmp/multipartBody6173020821412442622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053192999,"filename":"image_20022025_01_48_36_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78bc0a8431318d245b0ba302ca1ced76.jpg","text":"TemporaryFile(/tmp/multipartBody401043122893672915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053192999,"filename":"image_20022025_01_49_17_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3cd890ab76c8720af5165909313439a6.jpg","text":"TemporaryFile(/tmp/multipartBody7477326374225870402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053192999,"filename":"image_20022025_01_48_16_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590419","file1":"1338590416","file0":"1338590413","file4":"1338590425","file5":"1338590428","file3":"1338590423"},"map_files_photo_id_array":[{"photo_id":"1338590428","filename":"file5"},{"photo_id":"1338590419","filename":"file2"},{"photo_id":"1338590425","filename":"file4"},{"photo_id":"1338590416","filename":"file1"},{"photo_id":"1338590413","filename":"file0"},{"photo_id":"1338590423","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590423":["hashtag1","hashtag2"]},{"1338590416":["hashtag1","hashtag2"]},{"1338590425":["hashtag1","hashtag2"]},{"1338590419":["hashtag1","hashtag2"]},{"1338590428":["hashtag1","hashtag2"]},{"1338590413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590423, 1338590416, 1338590425, 1338590419, 1338590428, 1338590413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.101377248764038 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:06:32.542034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/49/image_20022025_01_49_26_9419.jpg', '/home/pi/Desktop/images/20022025/01/49/image_20022025_01_49_46_9338.jpg', '/home/pi/Desktop/images/20022025/01/49/image_20022025_01_50_07_10386.jpg', '/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_16_9350.jpg', '/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_26_10345.jpg', '/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_37_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/49/image_20022025_01_49_26_9419.jpg
/home/pi/Desktop/images/20022025/01/49/image_20022025_01_49_46_9338.jpg
/home/pi/Desktop/images/20022025/01/49/image_20022025_01_50_07_10386.jpg
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_16_9350.jpg
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_26_10345.jpg
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_37_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590451","1338590460","1338590454","1338590457","1338590450","1338590447"],"photo_ids_order":["1338590447","1338590450","1338590451","1338590454","1338590457","1338590460"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f20e1c9a11a272c77a6833133a633ef.jpg","text":"TemporaryFile(/tmp/multipartBody1060603336020221470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053253086,"filename":"image_20022025_01_50_07_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/124008439e274a6f19d1c1de738c4e0d.jpg","text":"TemporaryFile(/tmp/multipartBody6644037360072677292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053253086,"filename":"image_20022025_01_50_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/926afff724ccdb2c72b19b79ec78d109.jpg","text":"TemporaryFile(/tmp/multipartBody2031079189092925999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053253086,"filename":"image_20022025_01_50_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31dd61c46777afb2a46f4daff29a7133.jpg","text":"TemporaryFile(/tmp/multipartBody1730514327016819813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053253086,"filename":"image_20022025_01_50_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b97910364be55265d0e313802acbff4f.jpg","text":"TemporaryFile(/tmp/multipartBody8068405185089328473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053253086,"filename":"image_20022025_01_49_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e6aebeed07abe372f9c282fc2c1e315.jpg","text":"TemporaryFile(/tmp/multipartBody2295538444663006926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053253086,"filename":"image_20022025_01_49_26_9419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590451","file1":"1338590450","file0":"1338590447","file4":"1338590457","file5":"1338590460","file3":"1338590454"},"map_files_photo_id_array":[{"photo_id":"1338590460","filename":"file5"},{"photo_id":"1338590451","filename":"file2"},{"photo_id":"1338590457","filename":"file4"},{"photo_id":"1338590450","filename":"file1"},{"photo_id":"1338590447","filename":"file0"},{"photo_id":"1338590454","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590451":["hashtag1","hashtag2"]},{"1338590460":["hashtag1","hashtag2"]},{"1338590454":["hashtag1","hashtag2"]},{"1338590457":["hashtag1","hashtag2"]},{"1338590450":["hashtag1","hashtag2"]},{"1338590447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590451, 1338590460, 1338590454, 1338590457, 1338590450, 1338590447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.486857175827026 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:07:32.692018
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_46_9357.jpg', '/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_56_10343.jpg', '/home/pi/Desktop/images/20022025/01/50/image_20022025_01_51_06_9413.jpg', '/home/pi/Desktop/images/20022025/01/51/image_20022025_01_51_16_10351.jpg', '/home/pi/Desktop/images/20022025/01/51/image_20022025_01_51_36_9324.jpg', '/home/pi/Desktop/images/20022025/01/51/image_20022025_01_52_06_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_46_9357.jpg
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_56_10343.jpg
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_51_06_9413.jpg
/home/pi/Desktop/images/20022025/01/51/image_20022025_01_51_16_10351.jpg
/home/pi/Desktop/images/20022025/01/51/image_20022025_01_51_36_9324.jpg
/home/pi/Desktop/images/20022025/01/51/image_20022025_01_52_06_9333.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.45746707916259766 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 13:07:42.803396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_46_9357.jpg', '/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_56_10343.jpg', '/home/pi/Desktop/images/20022025/01/50/image_20022025_01_51_06_9413.jpg', '/home/pi/Desktop/images/20022025/01/51/image_20022025_01_51_16_10351.jpg', '/home/pi/Desktop/images/20022025/01/51/image_20022025_01_51_36_9324.jpg', '/home/pi/Desktop/images/20022025/01/51/image_20022025_01_52_06_9333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_46_9357.jpg
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_50_56_10343.jpg
/home/pi/Desktop/images/20022025/01/50/image_20022025_01_51_06_9413.jpg
/home/pi/Desktop/images/20022025/01/51/image_20022025_01_51_16_10351.jpg
/home/pi/Desktop/images/20022025/01/51/image_20022025_01_51_36_9324.jpg
/home/pi/Desktop/images/20022025/01/51/image_20022025_01_52_06_9333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590500","1338590493","1338590511","1338590505","1338590489","1338590496"],"photo_ids_order":["1338590489","1338590493","1338590496","1338590500","1338590505","1338590511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d548dbd4c27a69644d80c7d4c842e53e.jpg","text":"TemporaryFile(/tmp/multipartBody731414945151929303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053323260,"filename":"image_20022025_01_51_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee6240138357d13e0893cb3d6caa0ee7.jpg","text":"TemporaryFile(/tmp/multipartBody1255877241927335401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053323260,"filename":"image_20022025_01_50_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00af0864ad9c024b4b40fa3d45506ae5.jpg","text":"TemporaryFile(/tmp/multipartBody6136131879587796042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053323260,"filename":"image_20022025_01_52_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f9761439691a74a937bdb2f3bceac22.jpg","text":"TemporaryFile(/tmp/multipartBody3925114452854181044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053323260,"filename":"image_20022025_01_51_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d71c0510b5a6aa12bc189769cb699e47.jpg","text":"TemporaryFile(/tmp/multipartBody6371596431237186203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053323260,"filename":"image_20022025_01_50_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83c3a188bc08738cfb9e6713ae4b4361.jpg","text":"TemporaryFile(/tmp/multipartBody8424494493176206172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053323260,"filename":"image_20022025_01_51_06_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590496","file1":"1338590493","file0":"1338590489","file4":"1338590505","file5":"1338590511","file3":"1338590500"},"map_files_photo_id_array":[{"photo_id":"1338590511","filename":"file5"},{"photo_id":"1338590496","filename":"file2"},{"photo_id":"1338590505","filename":"file4"},{"photo_id":"1338590493","filename":"file1"},{"photo_id":"1338590489","filename":"file0"},{"photo_id":"1338590500","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590500":["hashtag1","hashtag2"]},{"1338590493":["hashtag1","hashtag2"]},{"1338590511":["hashtag1","hashtag2"]},{"1338590505":["hashtag1","hashtag2"]},{"1338590489":["hashtag1","hashtag2"]},{"1338590496":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590500, 1338590493, 1338590511, 1338590505, 1338590489, 1338590496)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21465301513672 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:08:33.020945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/52/image_20022025_01_52_16_10377.jpg', '/home/pi/Desktop/images/20022025/01/52/image_20022025_01_52_27_10334.jpg', '/home/pi/Desktop/images/20022025/01/52/image_20022025_01_52_36_9339.jpg', '/home/pi/Desktop/images/20022025/01/52/image_20022025_01_52_56_9339.jpg', '/home/pi/Desktop/images/20022025/01/52/image_20022025_01_53_06_10332.jpg', '/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_17_10480.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/52/image_20022025_01_52_16_10377.jpg
/home/pi/Desktop/images/20022025/01/52/image_20022025_01_52_27_10334.jpg
/home/pi/Desktop/images/20022025/01/52/image_20022025_01_52_36_9339.jpg
/home/pi/Desktop/images/20022025/01/52/image_20022025_01_52_56_9339.jpg
/home/pi/Desktop/images/20022025/01/52/image_20022025_01_53_06_10332.jpg
/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_17_10480.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590567","1338590572","1338590575","1338590563","1338590542","1338590545"],"photo_ids_order":["1338590542","1338590545","1338590563","1338590567","1338590572","1338590575"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/39d8d1ad96352b0a9787eac0440ab17d.jpg","text":"TemporaryFile(/tmp/multipartBody8327291090798010921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053373568,"filename":"image_20022025_01_52_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36c01949eeafeabf896257728decd7c2.jpg","text":"TemporaryFile(/tmp/multipartBody4167967373090589988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053373568,"filename":"image_20022025_01_53_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b3bf4681e7a992bd473e3f1aee35a10.jpg","text":"TemporaryFile(/tmp/multipartBody5263454848316016505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053373568,"filename":"image_20022025_01_53_17_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01f6b7dfc22d2526bc185359128f01c0.jpg","text":"TemporaryFile(/tmp/multipartBody7306466228123479944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053373568,"filename":"image_20022025_01_52_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0e18efd68af83192f9fa899773f38e0.jpg","text":"TemporaryFile(/tmp/multipartBody5160236300866542603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053373568,"filename":"image_20022025_01_52_16_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a58e026d3277db4ab989ef92526182f.jpg","text":"TemporaryFile(/tmp/multipartBody6496106684145102130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053373568,"filename":"image_20022025_01_52_27_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590563","file1":"1338590545","file0":"1338590542","file4":"1338590572","file5":"1338590575","file3":"1338590567"},"map_files_photo_id_array":[{"photo_id":"1338590575","filename":"file5"},{"photo_id":"1338590563","filename":"file2"},{"photo_id":"1338590572","filename":"file4"},{"photo_id":"1338590545","filename":"file1"},{"photo_id":"1338590542","filename":"file0"},{"photo_id":"1338590567","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590567":["hashtag1","hashtag2"]},{"1338590572":["hashtag1","hashtag2"]},{"1338590575":["hashtag1","hashtag2"]},{"1338590563":["hashtag1","hashtag2"]},{"1338590542":["hashtag1","hashtag2"]},{"1338590545":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590567, 1338590572, 1338590575, 1338590563, 1338590542, 1338590545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.874700784683228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:09:32.248880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_26_9339.jpg', '/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_36_10323.jpg', '/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_47_10409.jpg', '/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_56_9322.jpg', '/home/pi/Desktop/images/20022025/01/53/image_20022025_01_54_06_10483.jpg', '/home/pi/Desktop/images/20022025/01/54/image_20022025_01_54_16_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_26_9339.jpg
/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_36_10323.jpg
/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_47_10409.jpg
/home/pi/Desktop/images/20022025/01/53/image_20022025_01_53_56_9322.jpg
/home/pi/Desktop/images/20022025/01/53/image_20022025_01_54_06_10483.jpg
/home/pi/Desktop/images/20022025/01/54/image_20022025_01_54_16_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590616","1338590636","1338590624","1338590633","1338590629","1338590620"],"photo_ids_order":["1338590616","1338590620","1338590624","1338590629","1338590633","1338590636"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94484772c2df116a1debb255fc685114.jpg","text":"TemporaryFile(/tmp/multipartBody8528248899299062226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053432811,"filename":"image_20022025_01_53_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8c170dc9a14daa3cf14afa1518d39a33.jpg","text":"TemporaryFile(/tmp/multipartBody6878670830868491226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053432811,"filename":"image_20022025_01_54_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c030df793b27ea3fc1264e814275b46.jpg","text":"TemporaryFile(/tmp/multipartBody5082952392237111125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053432811,"filename":"image_20022025_01_53_47_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f3ba1eecdb01903cc247bcd5e0278fa.jpg","text":"TemporaryFile(/tmp/multipartBody7143176687444937242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053432811,"filename":"image_20022025_01_54_06_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d751699284eae0ea0dd38d6f776627f1.jpg","text":"TemporaryFile(/tmp/multipartBody8687829111201367438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053432811,"filename":"image_20022025_01_53_56_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40d9fa75ea20fce1fd3ac93b8775c6dc.jpg","text":"TemporaryFile(/tmp/multipartBody3979587102279246219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053432811,"filename":"image_20022025_01_53_36_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590624","file1":"1338590620","file0":"1338590616","file4":"1338590633","file5":"1338590636","file3":"1338590629"},"map_files_photo_id_array":[{"photo_id":"1338590636","filename":"file5"},{"photo_id":"1338590624","filename":"file2"},{"photo_id":"1338590633","filename":"file4"},{"photo_id":"1338590620","filename":"file1"},{"photo_id":"1338590616","filename":"file0"},{"photo_id":"1338590629","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590616":["hashtag1","hashtag2"]},{"1338590636":["hashtag1","hashtag2"]},{"1338590624":["hashtag1","hashtag2"]},{"1338590633":["hashtag1","hashtag2"]},{"1338590629":["hashtag1","hashtag2"]},{"1338590620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590616, 1338590636, 1338590624, 1338590633, 1338590629, 1338590620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06855511665344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:10:32.303677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/54/image_20022025_01_54_26_10377.jpg', '/home/pi/Desktop/images/20022025/01/54/image_20022025_01_54_46_9345.jpg', '/home/pi/Desktop/images/20022025/01/54/image_20022025_01_54_56_10328.jpg', '/home/pi/Desktop/images/20022025/01/55/image_20022025_01_55_26_10379.jpg', '/home/pi/Desktop/images/20022025/01/55/image_20022025_01_55_36_9415.jpg', '/home/pi/Desktop/images/20022025/01/55/image_20022025_01_55_46_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/54/image_20022025_01_54_26_10377.jpg
/home/pi/Desktop/images/20022025/01/54/image_20022025_01_54_46_9345.jpg
/home/pi/Desktop/images/20022025/01/54/image_20022025_01_54_56_10328.jpg
/home/pi/Desktop/images/20022025/01/55/image_20022025_01_55_26_10379.jpg
/home/pi/Desktop/images/20022025/01/55/image_20022025_01_55_36_9415.jpg
/home/pi/Desktop/images/20022025/01/55/image_20022025_01_55_46_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590661","1338590667","1338590672","1338590674","1338590662","1338590656"],"photo_ids_order":["1338590656","1338590661","1338590662","1338590667","1338590672","1338590674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e364e99dc776001aad6502638e885300.jpg","text":"TemporaryFile(/tmp/multipartBody8452429922019916523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053492911,"filename":"image_20022025_01_54_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8c45c0800b342f9f0ca4ea335cfffd82.jpg","text":"TemporaryFile(/tmp/multipartBody9011340185607486229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053492911,"filename":"image_20022025_01_55_26_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a33f8a364417d22f648166a307854973.jpg","text":"TemporaryFile(/tmp/multipartBody8802953920523411102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053492911,"filename":"image_20022025_01_55_36_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d83387bbcab79ee80f65be5b293d7d9.jpg","text":"TemporaryFile(/tmp/multipartBody4260743789938236855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053492911,"filename":"image_20022025_01_55_46_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/edfacbd5f245b35de91bda4f9f2925df.jpg","text":"TemporaryFile(/tmp/multipartBody6654381692341144677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053492911,"filename":"image_20022025_01_54_56_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b6c320697c15c661a581681c7d433c3f.jpg","text":"TemporaryFile(/tmp/multipartBody3030791586765004557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053492911,"filename":"image_20022025_01_54_26_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590662","file1":"1338590661","file0":"1338590656","file4":"1338590672","file5":"1338590674","file3":"1338590667"},"map_files_photo_id_array":[{"photo_id":"1338590674","filename":"file5"},{"photo_id":"1338590662","filename":"file2"},{"photo_id":"1338590672","filename":"file4"},{"photo_id":"1338590661","filename":"file1"},{"photo_id":"1338590656","filename":"file0"},{"photo_id":"1338590667","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590661":["hashtag1","hashtag2"]},{"1338590667":["hashtag1","hashtag2"]},{"1338590672":["hashtag1","hashtag2"]},{"1338590674":["hashtag1","hashtag2"]},{"1338590662":["hashtag1","hashtag2"]},{"1338590656":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590661, 1338590667, 1338590672, 1338590674, 1338590662, 1338590656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08196425437927 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:11:32.469801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/56/image_20022025_01_56_17_10401.jpg', '/home/pi/Desktop/images/20022025/01/56/image_20022025_01_56_26_9342.jpg', '/home/pi/Desktop/images/20022025/01/56/image_20022025_01_56_36_10321.jpg', '/home/pi/Desktop/images/20022025/01/56/image_20022025_01_56_47_10395.jpg', '/home/pi/Desktop/images/20022025/01/56/image_20022025_01_57_06_10327.jpg', '/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_16_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/56/image_20022025_01_56_17_10401.jpg
/home/pi/Desktop/images/20022025/01/56/image_20022025_01_56_26_9342.jpg
/home/pi/Desktop/images/20022025/01/56/image_20022025_01_56_36_10321.jpg
/home/pi/Desktop/images/20022025/01/56/image_20022025_01_56_47_10395.jpg
/home/pi/Desktop/images/20022025/01/56/image_20022025_01_57_06_10327.jpg
/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_16_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590687","1338590695","1338590708","1338590698","1338590692","1338590704"],"photo_ids_order":["1338590687","1338590692","1338590695","1338590698","1338590704","1338590708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bad5353a531db319e91d8fee511b5d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6881756566029107085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053553010,"filename":"image_20022025_01_56_17_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/838a4e649426503403f83a3d0cabc577.jpg","text":"TemporaryFile(/tmp/multipartBody201060827184165733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053553010,"filename":"image_20022025_01_56_36_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9b5117aefc5c27a2867a967d343e7f8.jpg","text":"TemporaryFile(/tmp/multipartBody2842791933869633769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053553010,"filename":"image_20022025_01_57_16_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c49192b7a177d36600e9ebddea38c3d2.jpg","text":"TemporaryFile(/tmp/multipartBody7265488914405429612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053553010,"filename":"image_20022025_01_56_47_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1b51f0dac369ea65b5240bc77df729a9.jpg","text":"TemporaryFile(/tmp/multipartBody5500502787195854131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053553010,"filename":"image_20022025_01_56_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04e343e0d85d0cf257fd4118d6c06fae.jpg","text":"TemporaryFile(/tmp/multipartBody1979224672805585598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053553010,"filename":"image_20022025_01_57_06_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590695","file1":"1338590692","file0":"1338590687","file4":"1338590704","file5":"1338590708","file3":"1338590698"},"map_files_photo_id_array":[{"photo_id":"1338590708","filename":"file5"},{"photo_id":"1338590695","filename":"file2"},{"photo_id":"1338590704","filename":"file4"},{"photo_id":"1338590692","filename":"file1"},{"photo_id":"1338590687","filename":"file0"},{"photo_id":"1338590698","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590687":["hashtag1","hashtag2"]},{"1338590695":["hashtag1","hashtag2"]},{"1338590708":["hashtag1","hashtag2"]},{"1338590698":["hashtag1","hashtag2"]},{"1338590692":["hashtag1","hashtag2"]},{"1338590704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590687, 1338590695, 1338590708, 1338590698, 1338590692, 1338590704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.098681688308716 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:12:32.797766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_26_10465.jpg', '/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_37_10328.jpg', '/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_46_9336.jpg', '/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_56_10339.jpg', '/home/pi/Desktop/images/20022025/01/57/image_20022025_01_58_07_10393.jpg', '/home/pi/Desktop/images/20022025/01/58/image_20022025_01_58_16_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_26_10465.jpg
/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_37_10328.jpg
/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_46_9336.jpg
/home/pi/Desktop/images/20022025/01/57/image_20022025_01_57_56_10339.jpg
/home/pi/Desktop/images/20022025/01/57/image_20022025_01_58_07_10393.jpg
/home/pi/Desktop/images/20022025/01/58/image_20022025_01_58_16_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590730","1338590735","1338590738","1338590717","1338590726","1338590722"],"photo_ids_order":["1338590717","1338590722","1338590726","1338590730","1338590735","1338590738"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42db02c01aeda5f58ecbe15c34204f3e.jpg","text":"TemporaryFile(/tmp/multipartBody7922516004757626618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053613347,"filename":"image_20022025_01_57_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9e72287c39a5e05a380f82f99b099dc.jpg","text":"TemporaryFile(/tmp/multipartBody7517419064185985652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053613347,"filename":"image_20022025_01_58_07_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f64326e28c9a89a748b4c60b0b98cd2d.jpg","text":"TemporaryFile(/tmp/multipartBody5916835686761961523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053613347,"filename":"image_20022025_01_58_16_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/15aa6194c96f0dac8a5ec03d146fd1a3.jpg","text":"TemporaryFile(/tmp/multipartBody3569932144740454647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053613347,"filename":"image_20022025_01_57_26_10465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f11555b5090e5b633263773b60a030fb.jpg","text":"TemporaryFile(/tmp/multipartBody2339455452509714010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053613347,"filename":"image_20022025_01_57_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1259431e04828e72eeee8bd4193b82b.jpg","text":"TemporaryFile(/tmp/multipartBody8342992614743971304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053613347,"filename":"image_20022025_01_57_37_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590726","file1":"1338590722","file0":"1338590717","file4":"1338590735","file5":"1338590738","file3":"1338590730"},"map_files_photo_id_array":[{"photo_id":"1338590738","filename":"file5"},{"photo_id":"1338590726","filename":"file2"},{"photo_id":"1338590735","filename":"file4"},{"photo_id":"1338590722","filename":"file1"},{"photo_id":"1338590717","filename":"file0"},{"photo_id":"1338590730","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590730":["hashtag1","hashtag2"]},{"1338590735":["hashtag1","hashtag2"]},{"1338590738":["hashtag1","hashtag2"]},{"1338590717":["hashtag1","hashtag2"]},{"1338590726":["hashtag1","hashtag2"]},{"1338590722":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590730, 1338590735, 1338590738, 1338590717, 1338590726, 1338590722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.976674795150757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:13:32.925513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/58/image_20022025_01_58_26_10337.jpg', '/home/pi/Desktop/images/20022025/01/58/image_20022025_01_58_37_10373.jpg', '/home/pi/Desktop/images/20022025/01/58/image_20022025_01_59_06_9402.jpg', '/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_16_10336.jpg', '/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_27_10451.jpg', '/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_36_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/58/image_20022025_01_58_26_10337.jpg
/home/pi/Desktop/images/20022025/01/58/image_20022025_01_58_37_10373.jpg
/home/pi/Desktop/images/20022025/01/58/image_20022025_01_59_06_9402.jpg
/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_16_10336.jpg
/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_27_10451.jpg
/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_36_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590769","1338590763","1338590766","1338590758","1338590761","1338590772"],"photo_ids_order":["1338590758","1338590761","1338590763","1338590766","1338590769","1338590772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/722f5a4a12a84f904b5c0c9eb0b56627.jpg","text":"TemporaryFile(/tmp/multipartBody3686202848433218998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053673461,"filename":"image_20022025_01_59_27_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bbfa23a933d294f1d555b719939a93c.jpg","text":"TemporaryFile(/tmp/multipartBody4182293900381351821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053673461,"filename":"image_20022025_01_59_06_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94bd2fe10391b77ad515ff9913a6a5c7.jpg","text":"TemporaryFile(/tmp/multipartBody958292942197201502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053673461,"filename":"image_20022025_01_59_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c5497bb98cbc07d84a2ee36f8a422b41.jpg","text":"TemporaryFile(/tmp/multipartBody8029352831092899646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053673461,"filename":"image_20022025_01_58_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9245e6a33d3d29e30851a83dad19e4f2.jpg","text":"TemporaryFile(/tmp/multipartBody8973486464368399307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053673461,"filename":"image_20022025_01_58_37_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96ffd2002e95fd2a7df4f1c2ee21251d.jpg","text":"TemporaryFile(/tmp/multipartBody5064384338392637408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053673461,"filename":"image_20022025_01_59_36_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590763","file1":"1338590761","file0":"1338590758","file4":"1338590769","file5":"1338590772","file3":"1338590766"},"map_files_photo_id_array":[{"photo_id":"1338590772","filename":"file5"},{"photo_id":"1338590763","filename":"file2"},{"photo_id":"1338590769","filename":"file4"},{"photo_id":"1338590761","filename":"file1"},{"photo_id":"1338590758","filename":"file0"},{"photo_id":"1338590766","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590769":["hashtag1","hashtag2"]},{"1338590763":["hashtag1","hashtag2"]},{"1338590766":["hashtag1","hashtag2"]},{"1338590758":["hashtag1","hashtag2"]},{"1338590761":["hashtag1","hashtag2"]},{"1338590772":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590769, 1338590763, 1338590766, 1338590758, 1338590761, 1338590772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.740453720092773 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:14:32.184668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_46_10448.jpg', '/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_56_9342.jpg', '/home/pi/Desktop/images/20022025/02/01/image_20022025_02_01_35_10336.jpg', '/home/pi/Desktop/images/20022025/02/01/image_20022025_02_01_44_9327.jpg', '/home/pi/Desktop/images/20022025/02/01/image_20022025_02_01_55_10348.jpg', '/home/pi/Desktop/images/20022025/02/02/image_20022025_02_02_35_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_46_10448.jpg
/home/pi/Desktop/images/20022025/01/59/image_20022025_01_59_56_9342.jpg
/home/pi/Desktop/images/20022025/02/01/image_20022025_02_01_35_10336.jpg
/home/pi/Desktop/images/20022025/02/01/image_20022025_02_01_44_9327.jpg
/home/pi/Desktop/images/20022025/02/01/image_20022025_02_01_55_10348.jpg
/home/pi/Desktop/images/20022025/02/02/image_20022025_02_02_35_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590817","1338590808","1338590798","1338590795","1338590813","1338590803"],"photo_ids_order":["1338590795","1338590798","1338590803","1338590808","1338590813","1338590817"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4312b82c69d4489daf9ae3eb38e91183.jpg","text":"TemporaryFile(/tmp/multipartBody7099694307452965025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053732728,"filename":"image_20022025_02_02_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/02c0bac9f46123f71c730be5522f0df4.jpg","text":"TemporaryFile(/tmp/multipartBody7731512070703401877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053732728,"filename":"image_20022025_02_01_44_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/05a0213f309d37c32a240bef34f35a3a.jpg","text":"TemporaryFile(/tmp/multipartBody2527469937653124621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053732728,"filename":"image_20022025_01_59_56_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14d437e54f66c81d03d5c4d3014e1e26.jpg","text":"TemporaryFile(/tmp/multipartBody1413918252021549937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053732728,"filename":"image_20022025_01_59_46_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/89d01bec8ad882d163d2628acdb2d5d4.jpg","text":"TemporaryFile(/tmp/multipartBody8055510790330445550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053732728,"filename":"image_20022025_02_01_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2ffb88d01e81a122cccc42d3ee33641e.jpg","text":"TemporaryFile(/tmp/multipartBody6089730005869138671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053732728,"filename":"image_20022025_02_01_35_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590803","file1":"1338590798","file0":"1338590795","file4":"1338590813","file5":"1338590817","file3":"1338590808"},"map_files_photo_id_array":[{"photo_id":"1338590817","filename":"file5"},{"photo_id":"1338590803","filename":"file2"},{"photo_id":"1338590813","filename":"file4"},{"photo_id":"1338590798","filename":"file1"},{"photo_id":"1338590795","filename":"file0"},{"photo_id":"1338590808","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590817":["hashtag1","hashtag2"]},{"1338590808":["hashtag1","hashtag2"]},{"1338590798":["hashtag1","hashtag2"]},{"1338590795":["hashtag1","hashtag2"]},{"1338590813":["hashtag1","hashtag2"]},{"1338590803":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590817, 1338590808, 1338590798, 1338590795, 1338590813, 1338590803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.79949140548706 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:15:32.474688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/02/image_20022025_02_02_44_9331.jpg', '/home/pi/Desktop/images/20022025/02/02/image_20022025_02_03_05_10333.jpg', '/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_14_9442.jpg', '/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_25_10345.jpg', '/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_34_9340.jpg', '/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_45_10392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/02/image_20022025_02_02_44_9331.jpg
/home/pi/Desktop/images/20022025/02/02/image_20022025_02_03_05_10333.jpg
/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_14_9442.jpg
/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_25_10345.jpg
/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_34_9340.jpg
/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_45_10392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338590850","1338590846","1338590840","1338590858","1338590833","1338590836"],"photo_ids_order":["1338590833","1338590836","1338590840","1338590846","1338590850","1338590858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1d04c25dc520d22703f0c340cfbf2018.jpg","text":"TemporaryFile(/tmp/multipartBody3855979330259824928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053793008,"filename":"image_20022025_02_03_34_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dca13b67d1a9bd72d561674c93c232ad.jpg","text":"TemporaryFile(/tmp/multipartBody6196185494514233661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053793008,"filename":"image_20022025_02_03_25_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10a0973730e247f288632534e860b67d.jpg","text":"TemporaryFile(/tmp/multipartBody7798386289880656040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053793008,"filename":"image_20022025_02_03_14_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd3f497aca46ad83b4b68f70a43759c3.jpg","text":"TemporaryFile(/tmp/multipartBody391005503722575122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053793008,"filename":"image_20022025_02_03_45_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71e6993ebad2236c9c61b678b2c64aae.jpg","text":"TemporaryFile(/tmp/multipartBody253674695261918684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053793008,"filename":"image_20022025_02_02_44_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e02a065c78eba9bf62d3b7c0a77da32.jpg","text":"TemporaryFile(/tmp/multipartBody2684580213694510809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053793008,"filename":"image_20022025_02_03_05_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338590840","file1":"1338590836","file0":"1338590833","file4":"1338590850","file5":"1338590858","file3":"1338590846"},"map_files_photo_id_array":[{"photo_id":"1338590858","filename":"file5"},{"photo_id":"1338590840","filename":"file2"},{"photo_id":"1338590850","filename":"file4"},{"photo_id":"1338590836","filename":"file1"},{"photo_id":"1338590833","filename":"file0"},{"photo_id":"1338590846","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338590850":["hashtag1","hashtag2"]},{"1338590846":["hashtag1","hashtag2"]},{"1338590840":["hashtag1","hashtag2"]},{"1338590858":["hashtag1","hashtag2"]},{"1338590833":["hashtag1","hashtag2"]},{"1338590836":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338590850, 1338590846, 1338590840, 1338590858, 1338590833, 1338590836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65282225608826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:16:32.733735
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_55_10343.jpg', '/home/pi/Desktop/images/20022025/02/03/image_20022025_02_04_04_9345.jpg', '/home/pi/Desktop/images/20022025/02/04/image_20022025_02_04_25_10356.jpg', '/home/pi/Desktop/images/20022025/02/04/image_20022025_02_04_34_9321.jpg', '/home/pi/Desktop/images/20022025/02/04/image_20022025_02_05_04_9485.jpg', '/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_15_10369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/03/image_20022025_02_03_55_10343.jpg
/home/pi/Desktop/images/20022025/02/03/image_20022025_02_04_04_9345.jpg
/home/pi/Desktop/images/20022025/02/04/image_20022025_02_04_25_10356.jpg
/home/pi/Desktop/images/20022025/02/04/image_20022025_02_04_34_9321.jpg
/home/pi/Desktop/images/20022025/02/04/image_20022025_02_05_04_9485.jpg
/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_15_10369.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338591197","1338591200","1338591183","1338591192","1338591186","1338591180"],"photo_ids_order":["1338591180","1338591183","1338591186","1338591192","1338591197","1338591200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/02a5c368a8f9105e1463e9f51a60d57a.jpg","text":"TemporaryFile(/tmp/multipartBody4759090416357998143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053853288,"filename":"image_20022025_02_05_04_9485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90fe775d4e3c57662f58ab84b39f2d41.jpg","text":"TemporaryFile(/tmp/multipartBody2708021221384125008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053853288,"filename":"image_20022025_02_05_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f941d6fe8ef172d250b2b0574938362a.jpg","text":"TemporaryFile(/tmp/multipartBody1162133262546548346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053853288,"filename":"image_20022025_02_04_04_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eff860ab492d6e540a35401f2822aefb.jpg","text":"TemporaryFile(/tmp/multipartBody3365920609656619923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053853288,"filename":"image_20022025_02_04_34_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81d58ed05889c33ea06155014647be58.jpg","text":"TemporaryFile(/tmp/multipartBody4618882794955631277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053853288,"filename":"image_20022025_02_04_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/573d9e995e37ac8d2f0b81c0267c5cca.jpg","text":"TemporaryFile(/tmp/multipartBody6961012778190852280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053853288,"filename":"image_20022025_02_03_55_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338591186","file1":"1338591183","file0":"1338591180","file4":"1338591197","file5":"1338591200","file3":"1338591192"},"map_files_photo_id_array":[{"photo_id":"1338591200","filename":"file5"},{"photo_id":"1338591186","filename":"file2"},{"photo_id":"1338591197","filename":"file4"},{"photo_id":"1338591183","filename":"file1"},{"photo_id":"1338591180","filename":"file0"},{"photo_id":"1338591192","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338591197":["hashtag1","hashtag2"]},{"1338591200":["hashtag1","hashtag2"]},{"1338591183":["hashtag1","hashtag2"]},{"1338591192":["hashtag1","hashtag2"]},{"1338591186":["hashtag1","hashtag2"]},{"1338591180":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338591197, 1338591200, 1338591183, 1338591192, 1338591186, 1338591180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37939476966858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:17:33.000087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_24_9435.jpg', '/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_35_10386.jpg', '/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_45_10340.jpg', '/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_54_9438.jpg', '/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_15_10342.jpg', '/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_24_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_24_9435.jpg
/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_35_10386.jpg
/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_45_10340.jpg
/home/pi/Desktop/images/20022025/02/05/image_20022025_02_05_54_9438.jpg
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_15_10342.jpg
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_24_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338591794","1338591790","1338591545","1338591766","1338591660","1338591471"],"photo_ids_order":["1338591471","1338591545","1338591660","1338591766","1338591790","1338591794"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5711581bc8821dab2b4f0b039565f330.jpg","text":"TemporaryFile(/tmp/multipartBody8956204868353489740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053913548,"filename":"image_20022025_02_06_24_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e9e6562ff281a8779468b937dbc07699.jpg","text":"TemporaryFile(/tmp/multipartBody7412970114686780478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053913548,"filename":"image_20022025_02_06_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce937367d9b07a8623b7604e8863ef7b.jpg","text":"TemporaryFile(/tmp/multipartBody7212567907462391277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053913548,"filename":"image_20022025_02_05_35_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0863e47eda8391e032aee2373a55634f.jpg","text":"TemporaryFile(/tmp/multipartBody150314284819276388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053913548,"filename":"image_20022025_02_05_54_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25966b2c76fe7ca2a3913781b2c2c1f8.jpg","text":"TemporaryFile(/tmp/multipartBody8523825293976053033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053913548,"filename":"image_20022025_02_05_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/51bd989b6c06a45f52b6404d71a4e0e9.jpg","text":"TemporaryFile(/tmp/multipartBody284550391755621126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053913548,"filename":"image_20022025_02_05_24_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338591660","file1":"1338591545","file0":"1338591471","file4":"1338591790","file5":"1338591794","file3":"1338591766"},"map_files_photo_id_array":[{"photo_id":"1338591794","filename":"file5"},{"photo_id":"1338591660","filename":"file2"},{"photo_id":"1338591790","filename":"file4"},{"photo_id":"1338591545","filename":"file1"},{"photo_id":"1338591471","filename":"file0"},{"photo_id":"1338591766","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338591794":["hashtag1","hashtag2"]},{"1338591790":["hashtag1","hashtag2"]},{"1338591545":["hashtag1","hashtag2"]},{"1338591766":["hashtag1","hashtag2"]},{"1338591660":["hashtag1","hashtag2"]},{"1338591471":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338591794, 1338591790, 1338591545, 1338591766, 1338591660, 1338591471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25070118904114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:18:32.215600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_35_10333.jpg', '/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_44_9337.jpg', '/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_55_10459.jpg', '/home/pi/Desktop/images/20022025/02/06/image_20022025_02_07_05_10349.jpg', '/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_14_9317.jpg', '/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_45_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_35_10333.jpg
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_44_9337.jpg
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_55_10459.jpg
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_07_05_10349.jpg
/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_14_9317.jpg
/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_45_9428.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4576711654663086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 13:18:42.194787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_35_10333.jpg', '/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_44_9337.jpg', '/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_55_10459.jpg', '/home/pi/Desktop/images/20022025/02/06/image_20022025_02_07_05_10349.jpg', '/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_14_9317.jpg', '/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_45_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_35_10333.jpg
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_44_9337.jpg
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_06_55_10459.jpg
/home/pi/Desktop/images/20022025/02/06/image_20022025_02_07_05_10349.jpg
/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_14_9317.jpg
/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_45_9428.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":["1338591837","1338591824","1338591832","1338591840","1338591834","1338591828"],"photo_ids_order":["1338591824","1338591828","1338591832","1338591834","1338591837","1338591840"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/207f14ed0fff7e087a93a794a2e0ff66.jpg","text":"TemporaryFile(/tmp/multipartBody759353914032035547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053982654,"filename":"image_20022025_02_07_14_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b9aab783a5b8aee7f82afc761c59fa0.jpg","text":"TemporaryFile(/tmp/multipartBody4518321061594255622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053982654,"filename":"image_20022025_02_06_35_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bb09aba2242d15115c824d431b22bfc.jpg","text":"TemporaryFile(/tmp/multipartBody1747846199473749780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053982654,"filename":"image_20022025_02_06_55_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d638e891734d9a029c8fc1a9ff486841.jpg","text":"TemporaryFile(/tmp/multipartBody5209972643821102401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053982654,"filename":"image_20022025_02_07_45_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef469f66bbc7ee0e07875bc306dc4cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7023915146996687312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053982654,"filename":"image_20022025_02_07_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0776a0c3f8d1323d881857b6c5591b7.jpg","text":"TemporaryFile(/tmp/multipartBody133929701106838952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740053982654,"filename":"image_20022025_02_06_44_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338591832","file1":"1338591828","file0":"1338591824","file4":"1338591837","file5":"1338591840","file3":"1338591834"},"map_files_photo_id_array":[{"photo_id":"1338591840","filename":"file5"},{"photo_id":"1338591832","filename":"file2"},{"photo_id":"1338591837","filename":"file4"},{"photo_id":"1338591828","filename":"file1"},{"photo_id":"1338591824","filename":"file0"},{"photo_id":"1338591834","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338591837":["hashtag1","hashtag2"]},{"1338591824":["hashtag1","hashtag2"]},{"1338591832":["hashtag1","hashtag2"]},{"1338591840":["hashtag1","hashtag2"]},{"1338591834":["hashtag1","hashtag2"]},{"1338591828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338591837, 1338591824, 1338591832, 1338591840, 1338591834, 1338591828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08117341995239 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:19:32.442400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_55_10347.jpg', '/home/pi/Desktop/images/20022025/02/07/image_20022025_02_08_04_9355.jpg', '/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_15_10398.jpg', '/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_25_10416.jpg', '/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_34_9464.jpg', '/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_45_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/07/image_20022025_02_07_55_10347.jpg
/home/pi/Desktop/images/20022025/02/07/image_20022025_02_08_04_9355.jpg
/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_15_10398.jpg
/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_25_10416.jpg
/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_34_9464.jpg
/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_45_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338591863","1338591866","1338592084","1338591952","1338592080","1338592050"],"photo_ids_order":["1338591863","1338591866","1338591952","1338592050","1338592080","1338592084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e21b050b5e6f1b37010d1fafe266dabe.jpg","text":"TemporaryFile(/tmp/multipartBody5120617359296093467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054033057,"filename":"image_20022025_02_07_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dfbd9f95fe0abf3446194bd176827e8c.jpg","text":"TemporaryFile(/tmp/multipartBody2821856963777471090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054033057,"filename":"image_20022025_02_08_04_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4266f93b52885f6d65a135be2336ddfd.jpg","text":"TemporaryFile(/tmp/multipartBody430017234042654349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054033057,"filename":"image_20022025_02_08_45_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92a1d71499fc169c7663f94b19eb5854.jpg","text":"TemporaryFile(/tmp/multipartBody8969774937743143338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054033057,"filename":"image_20022025_02_08_15_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d86e36639d53f25ae006d9a62cd731d3.jpg","text":"TemporaryFile(/tmp/multipartBody8373124331329737823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054033057,"filename":"image_20022025_02_08_34_9464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a4a01bcc0bcf1a62e8a8204d4986ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4233316631636761602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054033057,"filename":"image_20022025_02_08_25_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338591952","file1":"1338591866","file0":"1338591863","file4":"1338592080","file5":"1338592084","file3":"1338592050"},"map_files_photo_id_array":[{"photo_id":"1338592084","filename":"file5"},{"photo_id":"1338591952","filename":"file2"},{"photo_id":"1338592080","filename":"file4"},{"photo_id":"1338591866","filename":"file1"},{"photo_id":"1338591863","filename":"file0"},{"photo_id":"1338592050","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338591863":["hashtag1","hashtag2"]},{"1338591866":["hashtag1","hashtag2"]},{"1338592084":["hashtag1","hashtag2"]},{"1338591952":["hashtag1","hashtag2"]},{"1338592080":["hashtag1","hashtag2"]},{"1338592050":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338591863, 1338591866, 1338592084, 1338591952, 1338592080, 1338592050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.769026279449463 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:20:32.549503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_54_9335.jpg', '/home/pi/Desktop/images/20022025/02/08/image_20022025_02_09_05_10371.jpg', '/home/pi/Desktop/images/20022025/02/09/image_20022025_02_09_15_10371.jpg', '/home/pi/Desktop/images/20022025/02/09/image_20022025_02_09_35_10454.jpg', '/home/pi/Desktop/images/20022025/02/09/image_20022025_02_09_45_10333.jpg', '/home/pi/Desktop/images/20022025/02/09/image_20022025_02_09_54_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/08/image_20022025_02_08_54_9335.jpg
/home/pi/Desktop/images/20022025/02/08/image_20022025_02_09_05_10371.jpg
/home/pi/Desktop/images/20022025/02/09/image_20022025_02_09_15_10371.jpg
/home/pi/Desktop/images/20022025/02/09/image_20022025_02_09_35_10454.jpg
/home/pi/Desktop/images/20022025/02/09/image_20022025_02_09_45_10333.jpg
/home/pi/Desktop/images/20022025/02/09/image_20022025_02_09_54_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592118","1338592112","1338592115","1338592108","1338592125","1338592122"],"photo_ids_order":["1338592108","1338592112","1338592115","1338592118","1338592122","1338592125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4ee19b66377244b16e3314c9ea8b0ec.jpg","text":"TemporaryFile(/tmp/multipartBody5025019138551119401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054093093,"filename":"image_20022025_02_09_35_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a2f428a11a37c117298c5b53f8c30233.jpg","text":"TemporaryFile(/tmp/multipartBody7422326968639703624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054093093,"filename":"image_20022025_02_09_05_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4a9765a8f6be666af239fbf6c236b47.jpg","text":"TemporaryFile(/tmp/multipartBody6736892660862307454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054093093,"filename":"image_20022025_02_09_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a420259a00c566f96f6a95528e0cd627.jpg","text":"TemporaryFile(/tmp/multipartBody4627766881162007519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054093093,"filename":"image_20022025_02_08_54_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ee600c0a79e4bd4aa41b13266156e6e.jpg","text":"TemporaryFile(/tmp/multipartBody5103154854780136620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054093093,"filename":"image_20022025_02_09_54_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b53f8929388839d54e75e42e78b5fcfc.jpg","text":"TemporaryFile(/tmp/multipartBody5633546104199514419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054093093,"filename":"image_20022025_02_09_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592115","file1":"1338592112","file0":"1338592108","file4":"1338592122","file5":"1338592125","file3":"1338592118"},"map_files_photo_id_array":[{"photo_id":"1338592125","filename":"file5"},{"photo_id":"1338592115","filename":"file2"},{"photo_id":"1338592122","filename":"file4"},{"photo_id":"1338592112","filename":"file1"},{"photo_id":"1338592108","filename":"file0"},{"photo_id":"1338592118","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592118":["hashtag1","hashtag2"]},{"1338592112":["hashtag1","hashtag2"]},{"1338592115":["hashtag1","hashtag2"]},{"1338592108":["hashtag1","hashtag2"]},{"1338592125":["hashtag1","hashtag2"]},{"1338592122":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592118, 1338592112, 1338592115, 1338592108, 1338592125, 1338592122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.76920461654663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:21:32.615062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/09/image_20022025_02_10_05_10331.jpg', '/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_14_9344.jpg', '/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_25_10429.jpg', '/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_35_10369.jpg', '/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_44_9342.jpg', '/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_55_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/09/image_20022025_02_10_05_10331.jpg
/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_14_9344.jpg
/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_25_10429.jpg
/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_35_10369.jpg
/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_44_9342.jpg
/home/pi/Desktop/images/20022025/02/10/image_20022025_02_10_55_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592427","1338592430","1338592441","1338592438","1338592434","1338592397"],"photo_ids_order":["1338592397","1338592427","1338592430","1338592434","1338592438","1338592441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa9893bff9259a971d8448ba989c9210.jpg","text":"TemporaryFile(/tmp/multipartBody138181293279868712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054153153,"filename":"image_20022025_02_10_14_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9733065ca5bce8c860b4d1480f9d5b40.jpg","text":"TemporaryFile(/tmp/multipartBody1494697448825338061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054153153,"filename":"image_20022025_02_10_25_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4278acb63ab9cc695e0c107b7108f016.jpg","text":"TemporaryFile(/tmp/multipartBody8714240186661016980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054153153,"filename":"image_20022025_02_10_55_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90633467069de1eaf875c73442b60ebc.jpg","text":"TemporaryFile(/tmp/multipartBody9105508192816074674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054153153,"filename":"image_20022025_02_10_44_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4724c63142dbb67dd1deed994edfd520.jpg","text":"TemporaryFile(/tmp/multipartBody584671977106069480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054153153,"filename":"image_20022025_02_10_35_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b41c531c3ef7880eac0654f9499109c.jpg","text":"TemporaryFile(/tmp/multipartBody8421057824630593725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054153153,"filename":"image_20022025_02_10_05_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592430","file1":"1338592427","file0":"1338592397","file4":"1338592438","file5":"1338592441","file3":"1338592434"},"map_files_photo_id_array":[{"photo_id":"1338592441","filename":"file5"},{"photo_id":"1338592430","filename":"file2"},{"photo_id":"1338592438","filename":"file4"},{"photo_id":"1338592427","filename":"file1"},{"photo_id":"1338592397","filename":"file0"},{"photo_id":"1338592434","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592427":["hashtag1","hashtag2"]},{"1338592430":["hashtag1","hashtag2"]},{"1338592441":["hashtag1","hashtag2"]},{"1338592438":["hashtag1","hashtag2"]},{"1338592434":["hashtag1","hashtag2"]},{"1338592397":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592427, 1338592430, 1338592441, 1338592438, 1338592434, 1338592397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.86483645439148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:22:32.870291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/11/image_20022025_02_11_14_9331.jpg', '/home/pi/Desktop/images/20022025/02/11/image_20022025_02_11_25_10449.jpg', '/home/pi/Desktop/images/20022025/02/11/image_20022025_02_11_34_9326.jpg', '/home/pi/Desktop/images/20022025/02/12/image_20022025_02_12_25_10348.jpg', '/home/pi/Desktop/images/20022025/02/12/image_20022025_02_12_34_9357.jpg', '/home/pi/Desktop/images/20022025/02/12/image_20022025_02_12_45_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/11/image_20022025_02_11_14_9331.jpg
/home/pi/Desktop/images/20022025/02/11/image_20022025_02_11_25_10449.jpg
/home/pi/Desktop/images/20022025/02/11/image_20022025_02_11_34_9326.jpg
/home/pi/Desktop/images/20022025/02/12/image_20022025_02_12_25_10348.jpg
/home/pi/Desktop/images/20022025/02/12/image_20022025_02_12_34_9357.jpg
/home/pi/Desktop/images/20022025/02/12/image_20022025_02_12_45_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592637","1338592619","1338592639","1338592624","1338592632","1338592629"],"photo_ids_order":["1338592619","1338592624","1338592629","1338592632","1338592637","1338592639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb6cda8ffe33cdff8bdbb0be12e29668.jpg","text":"TemporaryFile(/tmp/multipartBody7179379539777061852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054213519,"filename":"image_20022025_02_12_34_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a3cc3992cb73dcc6c3f77188851c060.jpg","text":"TemporaryFile(/tmp/multipartBody8467366049433749076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054213519,"filename":"image_20022025_02_11_14_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7343b9ec80f56d489856b662d0b56612.jpg","text":"TemporaryFile(/tmp/multipartBody4440224539152697676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054213519,"filename":"image_20022025_02_12_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d68511e9656b44968287b1bec833409.jpg","text":"TemporaryFile(/tmp/multipartBody7957323357823166094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054213519,"filename":"image_20022025_02_11_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ecb0b9a6c773077e6763ee6882db0cfd.jpg","text":"TemporaryFile(/tmp/multipartBody3366137405578307597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054213519,"filename":"image_20022025_02_12_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a957ac30971f9ec50d102eccf0041825.jpg","text":"TemporaryFile(/tmp/multipartBody1366402736641331197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054213519,"filename":"image_20022025_02_11_34_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592629","file1":"1338592624","file0":"1338592619","file4":"1338592637","file5":"1338592639","file3":"1338592632"},"map_files_photo_id_array":[{"photo_id":"1338592639","filename":"file5"},{"photo_id":"1338592629","filename":"file2"},{"photo_id":"1338592637","filename":"file4"},{"photo_id":"1338592624","filename":"file1"},{"photo_id":"1338592619","filename":"file0"},{"photo_id":"1338592632","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592637":["hashtag1","hashtag2"]},{"1338592619":["hashtag1","hashtag2"]},{"1338592639":["hashtag1","hashtag2"]},{"1338592624":["hashtag1","hashtag2"]},{"1338592632":["hashtag1","hashtag2"]},{"1338592629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592637, 1338592619, 1338592639, 1338592624, 1338592632, 1338592629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.065879106521606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:23:33.201920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/12/image_20022025_02_12_55_10340.jpg', '/home/pi/Desktop/images/20022025/02/12/image_20022025_02_13_04_9445.jpg', '/home/pi/Desktop/images/20022025/02/13/image_20022025_02_13_24_9342.jpg', '/home/pi/Desktop/images/20022025/02/13/image_20022025_02_13_45_10340.jpg', '/home/pi/Desktop/images/20022025/02/13/image_20022025_02_13_54_9349.jpg', '/home/pi/Desktop/images/20022025/02/13/image_20022025_02_14_05_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/12/image_20022025_02_12_55_10340.jpg
/home/pi/Desktop/images/20022025/02/12/image_20022025_02_13_04_9445.jpg
/home/pi/Desktop/images/20022025/02/13/image_20022025_02_13_24_9342.jpg
/home/pi/Desktop/images/20022025/02/13/image_20022025_02_13_45_10340.jpg
/home/pi/Desktop/images/20022025/02/13/image_20022025_02_13_54_9349.jpg
/home/pi/Desktop/images/20022025/02/13/image_20022025_02_14_05_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592661","1338592655","1338592658","1338592669","1338592671","1338592665"],"photo_ids_order":["1338592655","1338592658","1338592661","1338592665","1338592669","1338592671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9ae0cde38a0185977ec0b797c6ba9b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1850977529850143843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054273764,"filename":"image_20022025_02_13_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bfaa0b08352f6bc3f0d5f73173b2897a.jpg","text":"TemporaryFile(/tmp/multipartBody1583540584135164423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054273764,"filename":"image_20022025_02_12_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b0434640bfeb4d198d449ef10dc07f4f.jpg","text":"TemporaryFile(/tmp/multipartBody6642122329477530252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054273764,"filename":"image_20022025_02_13_04_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b878c789b96b63862f37801a44918a2.jpg","text":"TemporaryFile(/tmp/multipartBody107002256125773440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054273764,"filename":"image_20022025_02_13_54_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9872eb9158fd0e1e14b9ca60b8657855.jpg","text":"TemporaryFile(/tmp/multipartBody483713703272747113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054273764,"filename":"image_20022025_02_14_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88724742851d715d6bab26c4f35e6428.jpg","text":"TemporaryFile(/tmp/multipartBody5468208200566880595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054273764,"filename":"image_20022025_02_13_45_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592661","file1":"1338592658","file0":"1338592655","file4":"1338592669","file5":"1338592671","file3":"1338592665"},"map_files_photo_id_array":[{"photo_id":"1338592671","filename":"file5"},{"photo_id":"1338592661","filename":"file2"},{"photo_id":"1338592669","filename":"file4"},{"photo_id":"1338592658","filename":"file1"},{"photo_id":"1338592655","filename":"file0"},{"photo_id":"1338592665","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592661":["hashtag1","hashtag2"]},{"1338592655":["hashtag1","hashtag2"]},{"1338592658":["hashtag1","hashtag2"]},{"1338592669":["hashtag1","hashtag2"]},{"1338592671":["hashtag1","hashtag2"]},{"1338592665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592661, 1338592655, 1338592658, 1338592669, 1338592671, 1338592665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.510833978652954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:24:32.268228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/14/image_20022025_02_14_45_10440.jpg', '/home/pi/Desktop/images/20022025/02/14/image_20022025_02_14_54_9472.jpg', '/home/pi/Desktop/images/20022025/02/14/image_20022025_02_15_05_10418.jpg', '/home/pi/Desktop/images/20022025/02/15/image_20022025_02_15_14_9350.jpg', '/home/pi/Desktop/images/20022025/02/15/image_20022025_02_15_25_10407.jpg', '/home/pi/Desktop/images/20022025/02/15/image_20022025_02_15_55_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/14/image_20022025_02_14_45_10440.jpg
/home/pi/Desktop/images/20022025/02/14/image_20022025_02_14_54_9472.jpg
/home/pi/Desktop/images/20022025/02/14/image_20022025_02_15_05_10418.jpg
/home/pi/Desktop/images/20022025/02/15/image_20022025_02_15_14_9350.jpg
/home/pi/Desktop/images/20022025/02/15/image_20022025_02_15_25_10407.jpg
/home/pi/Desktop/images/20022025/02/15/image_20022025_02_15_55_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592706","1338592702","1338592695","1338592708","1338592698","1338592692"],"photo_ids_order":["1338592692","1338592695","1338592698","1338592702","1338592706","1338592708"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8aa3abab35fc9bddd39f666ccc0e75d1.jpg","text":"TemporaryFile(/tmp/multipartBody7079668193865562512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054333068,"filename":"image_20022025_02_15_25_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d41c3dda4fd2fc68d129b380b7a0240.jpg","text":"TemporaryFile(/tmp/multipartBody5748115085280991241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054333068,"filename":"image_20022025_02_15_14_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a67e507dc52a8d136fb8106e8b2abfb.jpg","text":"TemporaryFile(/tmp/multipartBody3794897644972433311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054333068,"filename":"image_20022025_02_14_54_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dffa2d731140ca3f90c24e376194554f.jpg","text":"TemporaryFile(/tmp/multipartBody1224817721192198122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054333068,"filename":"image_20022025_02_15_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7043059e3c189e02c4c5cf5ff6a943e1.jpg","text":"TemporaryFile(/tmp/multipartBody2216136541301818468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054333068,"filename":"image_20022025_02_15_05_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2fa57b788b486e7e7ea55f1352bd991f.jpg","text":"TemporaryFile(/tmp/multipartBody8071706521732135548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054333068,"filename":"image_20022025_02_14_45_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592698","file1":"1338592695","file0":"1338592692","file4":"1338592706","file5":"1338592708","file3":"1338592702"},"map_files_photo_id_array":[{"photo_id":"1338592708","filename":"file5"},{"photo_id":"1338592698","filename":"file2"},{"photo_id":"1338592706","filename":"file4"},{"photo_id":"1338592695","filename":"file1"},{"photo_id":"1338592692","filename":"file0"},{"photo_id":"1338592702","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592706":["hashtag1","hashtag2"]},{"1338592702":["hashtag1","hashtag2"]},{"1338592695":["hashtag1","hashtag2"]},{"1338592708":["hashtag1","hashtag2"]},{"1338592698":["hashtag1","hashtag2"]},{"1338592692":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592706, 1338592702, 1338592695, 1338592708, 1338592698, 1338592692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84245181083679 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:25:33.850317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/15/image_20022025_02_16_04_9339.jpg', '/home/pi/Desktop/images/20022025/02/16/image_20022025_02_16_15_10400.jpg', '/home/pi/Desktop/images/20022025/02/16/image_20022025_02_16_25_10357.jpg', '/home/pi/Desktop/images/20022025/02/16/image_20022025_02_16_45_10437.jpg', '/home/pi/Desktop/images/20022025/02/16/image_20022025_02_17_05_10435.jpg', '/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_15_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/15/image_20022025_02_16_04_9339.jpg
/home/pi/Desktop/images/20022025/02/16/image_20022025_02_16_15_10400.jpg
/home/pi/Desktop/images/20022025/02/16/image_20022025_02_16_25_10357.jpg
/home/pi/Desktop/images/20022025/02/16/image_20022025_02_16_45_10437.jpg
/home/pi/Desktop/images/20022025/02/16/image_20022025_02_17_05_10435.jpg
/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_15_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592747","1338592741","1338592735","1338592744","1338592732","1338592737"],"photo_ids_order":["1338592732","1338592735","1338592737","1338592741","1338592744","1338592747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/400ecd165018ce2ee05ea3ef29b70b29.jpg","text":"TemporaryFile(/tmp/multipartBody8319341394685993284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054394390,"filename":"image_20022025_02_17_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2936baf97439b69f00ef9e404a846574.jpg","text":"TemporaryFile(/tmp/multipartBody7565059010756085969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054394390,"filename":"image_20022025_02_16_45_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3889dff84642594926ca5492a9b405c6.jpg","text":"TemporaryFile(/tmp/multipartBody5237241347313924693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054394390,"filename":"image_20022025_02_16_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/138deacdc64f7bb07e1b71261916797c.jpg","text":"TemporaryFile(/tmp/multipartBody7662228170532438502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054394390,"filename":"image_20022025_02_17_05_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd503122a058f5f887abc5fc5ac4173d.jpg","text":"TemporaryFile(/tmp/multipartBody7587157816032212268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054394390,"filename":"image_20022025_02_16_04_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/47e7f439001ffc238b7f5c00f61eb381.jpg","text":"TemporaryFile(/tmp/multipartBody7736210026303896451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054394390,"filename":"image_20022025_02_16_25_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592737","file1":"1338592735","file0":"1338592732","file4":"1338592744","file5":"1338592747","file3":"1338592741"},"map_files_photo_id_array":[{"photo_id":"1338592747","filename":"file5"},{"photo_id":"1338592737","filename":"file2"},{"photo_id":"1338592744","filename":"file4"},{"photo_id":"1338592735","filename":"file1"},{"photo_id":"1338592732","filename":"file0"},{"photo_id":"1338592741","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592747":["hashtag1","hashtag2"]},{"1338592741":["hashtag1","hashtag2"]},{"1338592735":["hashtag1","hashtag2"]},{"1338592744":["hashtag1","hashtag2"]},{"1338592732":["hashtag1","hashtag2"]},{"1338592737":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592747, 1338592741, 1338592735, 1338592744, 1338592732, 1338592737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.585521936416626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:26:32.997125
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_24_9331.jpg', '/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_35_10367.jpg', '/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_45_10345.jpg', '/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_54_9399.jpg', '/home/pi/Desktop/images/20022025/02/17/image_20022025_02_18_05_10327.jpg', '/home/pi/Desktop/images/20022025/02/18/image_20022025_02_18_14_9373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_24_9331.jpg
/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_35_10367.jpg
/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_45_10345.jpg
/home/pi/Desktop/images/20022025/02/17/image_20022025_02_17_54_9399.jpg
/home/pi/Desktop/images/20022025/02/17/image_20022025_02_18_05_10327.jpg
/home/pi/Desktop/images/20022025/02/18/image_20022025_02_18_14_9373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592769","1338592783","1338592780","1338592776","1338592773","1338592787"],"photo_ids_order":["1338592769","1338592773","1338592776","1338592780","1338592783","1338592787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4fa92de6e19fe8c0b4d2d337699e4a2a.jpg","text":"TemporaryFile(/tmp/multipartBody9096486678769219708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054453539,"filename":"image_20022025_02_17_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0c40f1f637467a4a7b419747d463c65.jpg","text":"TemporaryFile(/tmp/multipartBody6910378165692614953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054453539,"filename":"image_20022025_02_18_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/06ddfbe9534f28208b629d541ca33985.jpg","text":"TemporaryFile(/tmp/multipartBody7558609548221125811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054453539,"filename":"image_20022025_02_17_54_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fb9890879603f31c15320ae6227f7ba0.jpg","text":"TemporaryFile(/tmp/multipartBody2719560505314055111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054453539,"filename":"image_20022025_02_17_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4da3d3d48e3dcc50dd7302117b18a11e.jpg","text":"TemporaryFile(/tmp/multipartBody29694786994617110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054453539,"filename":"image_20022025_02_17_35_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e08b7f10a496f4b3b11c82a7b9dbde92.jpg","text":"TemporaryFile(/tmp/multipartBody4351381113970748395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054453539,"filename":"image_20022025_02_18_14_9373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592776","file1":"1338592773","file0":"1338592769","file4":"1338592783","file5":"1338592787","file3":"1338592780"},"map_files_photo_id_array":[{"photo_id":"1338592787","filename":"file5"},{"photo_id":"1338592776","filename":"file2"},{"photo_id":"1338592783","filename":"file4"},{"photo_id":"1338592773","filename":"file1"},{"photo_id":"1338592769","filename":"file0"},{"photo_id":"1338592780","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592769":["hashtag1","hashtag2"]},{"1338592783":["hashtag1","hashtag2"]},{"1338592780":["hashtag1","hashtag2"]},{"1338592776":["hashtag1","hashtag2"]},{"1338592773":["hashtag1","hashtag2"]},{"1338592787":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592769, 1338592783, 1338592780, 1338592776, 1338592773, 1338592787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14439415931702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:27:32.256946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/18/image_20022025_02_18_34_9341.jpg', '/home/pi/Desktop/images/20022025/02/18/image_20022025_02_18_45_10336.jpg', '/home/pi/Desktop/images/20022025/02/18/image_20022025_02_18_55_10348.jpg', '/home/pi/Desktop/images/20022025/02/19/image_20022025_02_19_15_10347.jpg', '/home/pi/Desktop/images/20022025/02/19/image_20022025_02_19_34_9441.jpg', '/home/pi/Desktop/images/20022025/02/19/image_20022025_02_19_45_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/18/image_20022025_02_18_34_9341.jpg
/home/pi/Desktop/images/20022025/02/18/image_20022025_02_18_45_10336.jpg
/home/pi/Desktop/images/20022025/02/18/image_20022025_02_18_55_10348.jpg
/home/pi/Desktop/images/20022025/02/19/image_20022025_02_19_15_10347.jpg
/home/pi/Desktop/images/20022025/02/19/image_20022025_02_19_34_9441.jpg
/home/pi/Desktop/images/20022025/02/19/image_20022025_02_19_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592835","1338592817","1338592802","1338592825","1338592807","1338592830"],"photo_ids_order":["1338592802","1338592807","1338592817","1338592825","1338592830","1338592835"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83ceec37f824d5deb485f93960e331d8.jpg","text":"TemporaryFile(/tmp/multipartBody7764534141590792715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054512810,"filename":"image_20022025_02_19_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8c3fde1724d8235ce5b2820535b87dff.jpg","text":"TemporaryFile(/tmp/multipartBody4008329460209662911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054512810,"filename":"image_20022025_02_18_55_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/69733c0c2259b23bcb3c8aa5dfdb470b.jpg","text":"TemporaryFile(/tmp/multipartBody5570194137658379344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054512810,"filename":"image_20022025_02_18_34_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d84efb4cc4e6eb6db53dfd12d0d62d0.jpg","text":"TemporaryFile(/tmp/multipartBody5121851431859135396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054512810,"filename":"image_20022025_02_19_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/949ef8b4f55000b60390716f1746e591.jpg","text":"TemporaryFile(/tmp/multipartBody7732784887899711007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054512810,"filename":"image_20022025_02_18_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5b1ae9bc8060b3fd863c7dbbb21ece8a.jpg","text":"TemporaryFile(/tmp/multipartBody3305027949236627374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054512810,"filename":"image_20022025_02_19_34_9441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592817","file1":"1338592807","file0":"1338592802","file4":"1338592830","file5":"1338592835","file3":"1338592825"},"map_files_photo_id_array":[{"photo_id":"1338592835","filename":"file5"},{"photo_id":"1338592817","filename":"file2"},{"photo_id":"1338592830","filename":"file4"},{"photo_id":"1338592807","filename":"file1"},{"photo_id":"1338592802","filename":"file0"},{"photo_id":"1338592825","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592835":["hashtag1","hashtag2"]},{"1338592817":["hashtag1","hashtag2"]},{"1338592802":["hashtag1","hashtag2"]},{"1338592825":["hashtag1","hashtag2"]},{"1338592807":["hashtag1","hashtag2"]},{"1338592830":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592835, 1338592817, 1338592802, 1338592825, 1338592807, 1338592830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36205077171326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:28:32.287508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/20/image_20022025_02_20_24_9391.jpg', '/home/pi/Desktop/images/20022025/02/20/image_20022025_02_20_35_10388.jpg', '/home/pi/Desktop/images/20022025/02/20/image_20022025_02_20_45_10382.jpg', '/home/pi/Desktop/images/20022025/02/20/image_20022025_02_20_55_9424.jpg', '/home/pi/Desktop/images/20022025/02/21/image_20022025_02_21_25_10350.jpg', '/home/pi/Desktop/images/20022025/02/21/image_20022025_02_21_35_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/20/image_20022025_02_20_24_9391.jpg
/home/pi/Desktop/images/20022025/02/20/image_20022025_02_20_35_10388.jpg
/home/pi/Desktop/images/20022025/02/20/image_20022025_02_20_45_10382.jpg
/home/pi/Desktop/images/20022025/02/20/image_20022025_02_20_55_9424.jpg
/home/pi/Desktop/images/20022025/02/21/image_20022025_02_21_25_10350.jpg
/home/pi/Desktop/images/20022025/02/21/image_20022025_02_21_35_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592895","1338592889","1338592891","1338592888","1338592893","1338592871"],"photo_ids_order":["1338592871","1338592888","1338592889","1338592891","1338592893","1338592895"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/06bda717f7fa22592dd9beced18e5842.jpg","text":"TemporaryFile(/tmp/multipartBody646065827175181929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054572827,"filename":"image_20022025_02_21_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a335312daf5a58ede4f540a345e8206c.jpg","text":"TemporaryFile(/tmp/multipartBody4568209703558058393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054572827,"filename":"image_20022025_02_20_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5176533513e31e27a1fd112f92bcfbdf.jpg","text":"TemporaryFile(/tmp/multipartBody6598031985612331192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054572827,"filename":"image_20022025_02_20_55_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4b5be10351b05c27abc3ca51dea9df7.jpg","text":"TemporaryFile(/tmp/multipartBody6467593589508048882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054572827,"filename":"image_20022025_02_20_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce80ab73983ac44935ca68d9a1665f5d.jpg","text":"TemporaryFile(/tmp/multipartBody398531385493216589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054572827,"filename":"image_20022025_02_21_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/63a27b5f8597ef275076680bdefb10b9.jpg","text":"TemporaryFile(/tmp/multipartBody6071413797527503049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054572827,"filename":"image_20022025_02_20_24_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592889","file1":"1338592888","file0":"1338592871","file4":"1338592893","file5":"1338592895","file3":"1338592891"},"map_files_photo_id_array":[{"photo_id":"1338592895","filename":"file5"},{"photo_id":"1338592889","filename":"file2"},{"photo_id":"1338592893","filename":"file4"},{"photo_id":"1338592888","filename":"file1"},{"photo_id":"1338592871","filename":"file0"},{"photo_id":"1338592891","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592895":["hashtag1","hashtag2"]},{"1338592889":["hashtag1","hashtag2"]},{"1338592891":["hashtag1","hashtag2"]},{"1338592888":["hashtag1","hashtag2"]},{"1338592893":["hashtag1","hashtag2"]},{"1338592871":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592895, 1338592889, 1338592891, 1338592888, 1338592893, 1338592871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.90098333358765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:29:32.689803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/21/image_20022025_02_21_44_9419.jpg', '/home/pi/Desktop/images/20022025/02/21/image_20022025_02_22_04_9376.jpg', '/home/pi/Desktop/images/20022025/02/22/image_20022025_02_22_15_10418.jpg', '/home/pi/Desktop/images/20022025/02/22/image_20022025_02_22_25_10341.jpg', '/home/pi/Desktop/images/20022025/02/22/image_20022025_02_22_55_10344.jpg', '/home/pi/Desktop/images/20022025/02/22/image_20022025_02_23_04_9463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/21/image_20022025_02_21_44_9419.jpg
/home/pi/Desktop/images/20022025/02/21/image_20022025_02_22_04_9376.jpg
/home/pi/Desktop/images/20022025/02/22/image_20022025_02_22_15_10418.jpg
/home/pi/Desktop/images/20022025/02/22/image_20022025_02_22_25_10341.jpg
/home/pi/Desktop/images/20022025/02/22/image_20022025_02_22_55_10344.jpg
/home/pi/Desktop/images/20022025/02/22/image_20022025_02_23_04_9463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592940","1338592925","1338592936","1338592930","1338592944","1338592932"],"photo_ids_order":["1338592925","1338592930","1338592932","1338592936","1338592940","1338592944"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec6056b814e718f454fd418b6b620544.jpg","text":"TemporaryFile(/tmp/multipartBody1035493286105540488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054633228,"filename":"image_20022025_02_22_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96dc13658577f673ed63f8df9365b053.jpg","text":"TemporaryFile(/tmp/multipartBody3986983905509458333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054633228,"filename":"image_20022025_02_21_44_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e071818dc72d0368ce7f76f86a88cf00.jpg","text":"TemporaryFile(/tmp/multipartBody618094950955378716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054633228,"filename":"image_20022025_02_22_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1230943a81d304d3d7e8dadb9821fc70.jpg","text":"TemporaryFile(/tmp/multipartBody5440934888255301482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054633228,"filename":"image_20022025_02_22_04_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56f7a8916c9fdd87b1d8597678939e01.jpg","text":"TemporaryFile(/tmp/multipartBody6058217313421184590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054633228,"filename":"image_20022025_02_23_04_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/72217a14f9f3379b3022a913fab8ab66.jpg","text":"TemporaryFile(/tmp/multipartBody1092477684797189013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054633228,"filename":"image_20022025_02_22_15_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592932","file1":"1338592930","file0":"1338592925","file4":"1338592940","file5":"1338592944","file3":"1338592936"},"map_files_photo_id_array":[{"photo_id":"1338592944","filename":"file5"},{"photo_id":"1338592932","filename":"file2"},{"photo_id":"1338592940","filename":"file4"},{"photo_id":"1338592930","filename":"file1"},{"photo_id":"1338592925","filename":"file0"},{"photo_id":"1338592936","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592940":["hashtag1","hashtag2"]},{"1338592925":["hashtag1","hashtag2"]},{"1338592936":["hashtag1","hashtag2"]},{"1338592930":["hashtag1","hashtag2"]},{"1338592944":["hashtag1","hashtag2"]},{"1338592932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592940, 1338592925, 1338592936, 1338592930, 1338592944, 1338592932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13579225540161 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:30:32.820446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_15_10349.jpg', '/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_24_9360.jpg', '/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_35_10349.jpg', '/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_45_10345.jpg', '/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_54_9333.jpg', '/home/pi/Desktop/images/20022025/02/23/image_20022025_02_24_05_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_15_10349.jpg
/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_24_9360.jpg
/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_35_10349.jpg
/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_45_10345.jpg
/home/pi/Desktop/images/20022025/02/23/image_20022025_02_23_54_9333.jpg
/home/pi/Desktop/images/20022025/02/23/image_20022025_02_24_05_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338592967","1338592982","1338592984","1338592978","1338592974","1338592970"],"photo_ids_order":["1338592967","1338592970","1338592974","1338592978","1338592982","1338592984"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd34d6b08591bbbe270b42dd3993e1ef.jpg","text":"TemporaryFile(/tmp/multipartBody6709412007062151005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054693356,"filename":"image_20022025_02_23_15_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9f16bb04cb6a8ee5acff112f1c95f22c.jpg","text":"TemporaryFile(/tmp/multipartBody668411548627308062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054693356,"filename":"image_20022025_02_23_54_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/332e507bd239a8fc382c8c26f5f4c2a1.jpg","text":"TemporaryFile(/tmp/multipartBody7595503206488098610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054693356,"filename":"image_20022025_02_24_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a4ef0df1ecc244b20e9f98289a43347c.jpg","text":"TemporaryFile(/tmp/multipartBody4280540211729539922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054693356,"filename":"image_20022025_02_23_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/485c5bd44cf545491ee505e248e9c265.jpg","text":"TemporaryFile(/tmp/multipartBody7905019133789769329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054693356,"filename":"image_20022025_02_23_35_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f791622d972cf4eabeb045386da9f9f.jpg","text":"TemporaryFile(/tmp/multipartBody8173505213861023839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054693356,"filename":"image_20022025_02_23_24_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338592974","file1":"1338592970","file0":"1338592967","file4":"1338592982","file5":"1338592984","file3":"1338592978"},"map_files_photo_id_array":[{"photo_id":"1338592984","filename":"file5"},{"photo_id":"1338592974","filename":"file2"},{"photo_id":"1338592982","filename":"file4"},{"photo_id":"1338592970","filename":"file1"},{"photo_id":"1338592967","filename":"file0"},{"photo_id":"1338592978","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338592967":["hashtag1","hashtag2"]},{"1338592982":["hashtag1","hashtag2"]},{"1338592984":["hashtag1","hashtag2"]},{"1338592978":["hashtag1","hashtag2"]},{"1338592974":["hashtag1","hashtag2"]},{"1338592970":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338592967, 1338592982, 1338592984, 1338592978, 1338592974, 1338592970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25908088684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:31:32.988809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/24/image_20022025_02_24_15_10350.jpg', '/home/pi/Desktop/images/20022025/02/24/image_20022025_02_24_24_9391.jpg', '/home/pi/Desktop/images/20022025/02/24/image_20022025_02_24_35_10403.jpg', '/home/pi/Desktop/images/20022025/02/24/image_20022025_02_24_45_10364.jpg', '/home/pi/Desktop/images/20022025/02/24/image_20022025_02_25_05_10335.jpg', '/home/pi/Desktop/images/20022025/02/25/image_20022025_02_25_14_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/24/image_20022025_02_24_15_10350.jpg
/home/pi/Desktop/images/20022025/02/24/image_20022025_02_24_24_9391.jpg
/home/pi/Desktop/images/20022025/02/24/image_20022025_02_24_35_10403.jpg
/home/pi/Desktop/images/20022025/02/24/image_20022025_02_24_45_10364.jpg
/home/pi/Desktop/images/20022025/02/24/image_20022025_02_25_05_10335.jpg
/home/pi/Desktop/images/20022025/02/25/image_20022025_02_25_14_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593513","1338593309","1338593481","1338593308","1338593442","1338593486"],"photo_ids_order":["1338593308","1338593309","1338593442","1338593481","1338593486","1338593513"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/460389ef2c838ab6b192a9d7c9d06a51.jpg","text":"TemporaryFile(/tmp/multipartBody8263384985027708217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054753544,"filename":"image_20022025_02_25_14_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd3c999b77844b3f96ba04abcaa5ca17.jpg","text":"TemporaryFile(/tmp/multipartBody4853085361523400347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054753544,"filename":"image_20022025_02_24_24_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c2f455383e8108945feb7a277d9bb37.jpg","text":"TemporaryFile(/tmp/multipartBody4632202684243853151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054753544,"filename":"image_20022025_02_24_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ba3269badcbae7cc6bd6e8b5b5d9c8d.jpg","text":"TemporaryFile(/tmp/multipartBody3010602479847451613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054753544,"filename":"image_20022025_02_24_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2430370c3f409e16bfe240d267aa54b3.jpg","text":"TemporaryFile(/tmp/multipartBody6161005731206537887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054753544,"filename":"image_20022025_02_24_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76331f6b3126dc1014d2f2e94d15dd16.jpg","text":"TemporaryFile(/tmp/multipartBody730915172873303745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054753544,"filename":"image_20022025_02_25_05_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593442","file1":"1338593309","file0":"1338593308","file4":"1338593486","file5":"1338593513","file3":"1338593481"},"map_files_photo_id_array":[{"photo_id":"1338593513","filename":"file5"},{"photo_id":"1338593442","filename":"file2"},{"photo_id":"1338593486","filename":"file4"},{"photo_id":"1338593309","filename":"file1"},{"photo_id":"1338593308","filename":"file0"},{"photo_id":"1338593481","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593513":["hashtag1","hashtag2"]},{"1338593309":["hashtag1","hashtag2"]},{"1338593481":["hashtag1","hashtag2"]},{"1338593308":["hashtag1","hashtag2"]},{"1338593442":["hashtag1","hashtag2"]},{"1338593486":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593513, 1338593309, 1338593481, 1338593308, 1338593442, 1338593486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.580156326293945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:32:32.115334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/25/image_20022025_02_25_25_10368.jpg', '/home/pi/Desktop/images/20022025/02/25/image_20022025_02_25_44_9340.jpg', '/home/pi/Desktop/images/20022025/02/25/image_20022025_02_25_55_10425.jpg', '/home/pi/Desktop/images/20022025/02/25/image_20022025_02_26_04_9362.jpg', '/home/pi/Desktop/images/20022025/02/26/image_20022025_02_26_25_10348.jpg', '/home/pi/Desktop/images/20022025/02/26/image_20022025_02_26_34_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/25/image_20022025_02_25_25_10368.jpg
/home/pi/Desktop/images/20022025/02/25/image_20022025_02_25_44_9340.jpg
/home/pi/Desktop/images/20022025/02/25/image_20022025_02_25_55_10425.jpg
/home/pi/Desktop/images/20022025/02/25/image_20022025_02_26_04_9362.jpg
/home/pi/Desktop/images/20022025/02/26/image_20022025_02_26_25_10348.jpg
/home/pi/Desktop/images/20022025/02/26/image_20022025_02_26_34_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593566","1338593548","1338593594","1338593561","1338593570","1338593558"],"photo_ids_order":["1338593548","1338593558","1338593561","1338593566","1338593570","1338593594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/697ebbcd3eb0c87808a11c272e8021f5.jpg","text":"TemporaryFile(/tmp/multipartBody1491329437339647125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054812652,"filename":"image_20022025_02_26_04_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8d2f435e4b1a58955c5f5e51e027c70.jpg","text":"TemporaryFile(/tmp/multipartBody4086565579217285179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054812652,"filename":"image_20022025_02_25_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa57f3889ad58b6738ef6ac52c07ce10.jpg","text":"TemporaryFile(/tmp/multipartBody4083261018110150511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054812652,"filename":"image_20022025_02_26_34_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bc30439be8f63531815deb6830e3b86.jpg","text":"TemporaryFile(/tmp/multipartBody2210533564564690030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054812652,"filename":"image_20022025_02_25_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd01ccdb5f70949eb9f13f7c878a885d.jpg","text":"TemporaryFile(/tmp/multipartBody3564788990659313302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054812652,"filename":"image_20022025_02_26_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56cd27983f48149e7071f7f38a136bdb.jpg","text":"TemporaryFile(/tmp/multipartBody3113290813573448355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054812652,"filename":"image_20022025_02_25_44_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593561","file1":"1338593558","file0":"1338593548","file4":"1338593570","file5":"1338593594","file3":"1338593566"},"map_files_photo_id_array":[{"photo_id":"1338593594","filename":"file5"},{"photo_id":"1338593561","filename":"file2"},{"photo_id":"1338593570","filename":"file4"},{"photo_id":"1338593558","filename":"file1"},{"photo_id":"1338593548","filename":"file0"},{"photo_id":"1338593566","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593566":["hashtag1","hashtag2"]},{"1338593548":["hashtag1","hashtag2"]},{"1338593594":["hashtag1","hashtag2"]},{"1338593561":["hashtag1","hashtag2"]},{"1338593570":["hashtag1","hashtag2"]},{"1338593558":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593566, 1338593548, 1338593594, 1338593561, 1338593570, 1338593558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.431442499160767 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:33:32.384146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/26/image_20022025_02_27_05_9489.jpg', '/home/pi/Desktop/images/20022025/02/27/image_20022025_02_27_24_9348.jpg', '/home/pi/Desktop/images/20022025/02/27/image_20022025_02_27_35_10406.jpg', '/home/pi/Desktop/images/20022025/02/27/image_20022025_02_27_45_10369.jpg', '/home/pi/Desktop/images/20022025/02/27/image_20022025_02_27_54_9406.jpg', '/home/pi/Desktop/images/20022025/02/27/image_20022025_02_28_05_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/26/image_20022025_02_27_05_9489.jpg
/home/pi/Desktop/images/20022025/02/27/image_20022025_02_27_24_9348.jpg
/home/pi/Desktop/images/20022025/02/27/image_20022025_02_27_35_10406.jpg
/home/pi/Desktop/images/20022025/02/27/image_20022025_02_27_45_10369.jpg
/home/pi/Desktop/images/20022025/02/27/image_20022025_02_27_54_9406.jpg
/home/pi/Desktop/images/20022025/02/27/image_20022025_02_28_05_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593662","1338593650","1338593658","1338593646","1338593654","1338593648"],"photo_ids_order":["1338593646","1338593648","1338593650","1338593654","1338593658","1338593662"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cf6928cf71cb50c25903cda6c1703f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8977070197823264570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054872937,"filename":"image_20022025_02_28_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/84c8dcc1e80545890c7752839e347030.jpg","text":"TemporaryFile(/tmp/multipartBody5735793565550107220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054872937,"filename":"image_20022025_02_27_35_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/099b8043263edab0558ba9b4c3d5f58c.jpg","text":"TemporaryFile(/tmp/multipartBody3328708903369623853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054872937,"filename":"image_20022025_02_27_54_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c35032460c313ac7f846c271d8456e97.jpg","text":"TemporaryFile(/tmp/multipartBody2680940771658794752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054872937,"filename":"image_20022025_02_27_05_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a182b1d92a28143c4a1da83abebecc4.jpg","text":"TemporaryFile(/tmp/multipartBody2534572939087218126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054872937,"filename":"image_20022025_02_27_45_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d848e1c4dce65338929982bf424bb527.jpg","text":"TemporaryFile(/tmp/multipartBody3003459828114745923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054872937,"filename":"image_20022025_02_27_24_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593650","file1":"1338593648","file0":"1338593646","file4":"1338593658","file5":"1338593662","file3":"1338593654"},"map_files_photo_id_array":[{"photo_id":"1338593662","filename":"file5"},{"photo_id":"1338593650","filename":"file2"},{"photo_id":"1338593658","filename":"file4"},{"photo_id":"1338593648","filename":"file1"},{"photo_id":"1338593646","filename":"file0"},{"photo_id":"1338593654","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593662":["hashtag1","hashtag2"]},{"1338593650":["hashtag1","hashtag2"]},{"1338593658":["hashtag1","hashtag2"]},{"1338593646":["hashtag1","hashtag2"]},{"1338593654":["hashtag1","hashtag2"]},{"1338593648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593662, 1338593650, 1338593658, 1338593646, 1338593654, 1338593648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.293177127838135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:34:32.622422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/28/image_20022025_02_28_14_9321.jpg', '/home/pi/Desktop/images/20022025/02/28/image_20022025_02_28_35_10324.jpg', '/home/pi/Desktop/images/20022025/02/28/image_20022025_02_28_44_9346.jpg', '/home/pi/Desktop/images/20022025/02/28/image_20022025_02_29_05_10336.jpg', '/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_14_9351.jpg', '/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_25_10534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/28/image_20022025_02_28_14_9321.jpg
/home/pi/Desktop/images/20022025/02/28/image_20022025_02_28_35_10324.jpg
/home/pi/Desktop/images/20022025/02/28/image_20022025_02_28_44_9346.jpg
/home/pi/Desktop/images/20022025/02/28/image_20022025_02_29_05_10336.jpg
/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_14_9351.jpg
/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_25_10534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593695","1338593698","1338593692","1338593707","1338593701","1338593704"],"photo_ids_order":["1338593692","1338593695","1338593698","1338593701","1338593704","1338593707"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac40452e679c5912e6d9db9569e5b476.jpg","text":"TemporaryFile(/tmp/multipartBody5243999389499053742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054933164,"filename":"image_20022025_02_28_35_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/17acfa59d889367d8c334b45445c8cc5.jpg","text":"TemporaryFile(/tmp/multipartBody5696714712307922955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054933164,"filename":"image_20022025_02_28_44_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60f62ad28aeff75b96c87b0d833a816a.jpg","text":"TemporaryFile(/tmp/multipartBody3889942744051112892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054933164,"filename":"image_20022025_02_28_14_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c60ef9740cd6b5233dbacc571e35146.jpg","text":"TemporaryFile(/tmp/multipartBody1399224844132920321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054933164,"filename":"image_20022025_02_29_25_10534.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e0dbee47245fe3b21580d773d521888.jpg","text":"TemporaryFile(/tmp/multipartBody2218979235172077397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054933164,"filename":"image_20022025_02_29_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a3a309f8b55ca09f3287c67c9ad5d57.jpg","text":"TemporaryFile(/tmp/multipartBody7286791849432816328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054933164,"filename":"image_20022025_02_29_14_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593698","file1":"1338593695","file0":"1338593692","file4":"1338593704","file5":"1338593707","file3":"1338593701"},"map_files_photo_id_array":[{"photo_id":"1338593707","filename":"file5"},{"photo_id":"1338593698","filename":"file2"},{"photo_id":"1338593704","filename":"file4"},{"photo_id":"1338593695","filename":"file1"},{"photo_id":"1338593692","filename":"file0"},{"photo_id":"1338593701","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593695":["hashtag1","hashtag2"]},{"1338593698":["hashtag1","hashtag2"]},{"1338593692":["hashtag1","hashtag2"]},{"1338593707":["hashtag1","hashtag2"]},{"1338593701":["hashtag1","hashtag2"]},{"1338593704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593695, 1338593698, 1338593692, 1338593707, 1338593701, 1338593704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55145287513733 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:35:32.859053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_34_9334.jpg', '/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_44_10355.jpg', '/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_55_10323.jpg', '/home/pi/Desktop/images/20022025/02/29/image_20022025_02_30_04_9321.jpg', '/home/pi/Desktop/images/20022025/02/30/image_20022025_02_30_14_10369.jpg', '/home/pi/Desktop/images/20022025/02/30/image_20022025_02_30_34_9482.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_34_9334.jpg
/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_44_10355.jpg
/home/pi/Desktop/images/20022025/02/29/image_20022025_02_29_55_10323.jpg
/home/pi/Desktop/images/20022025/02/29/image_20022025_02_30_04_9321.jpg
/home/pi/Desktop/images/20022025/02/30/image_20022025_02_30_14_10369.jpg
/home/pi/Desktop/images/20022025/02/30/image_20022025_02_30_34_9482.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593734","1338593737","1338593751","1338593745","1338593748","1338593741"],"photo_ids_order":["1338593734","1338593737","1338593741","1338593745","1338593748","1338593751"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/67032dd7c3c2ac8444d44fc132912d25.jpg","text":"TemporaryFile(/tmp/multipartBody1000030707836490766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054993394,"filename":"image_20022025_02_29_34_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d70b4930d5281c79b7c6cf4a09b3012.jpg","text":"TemporaryFile(/tmp/multipartBody8004372267352450570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054993394,"filename":"image_20022025_02_29_44_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c9e949f85ef904f057c55807dd95e48.jpg","text":"TemporaryFile(/tmp/multipartBody231824457196459903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054993394,"filename":"image_20022025_02_30_34_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/240806639428ce76f48436c45a6ddbe1.jpg","text":"TemporaryFile(/tmp/multipartBody3532803899690901647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054993394,"filename":"image_20022025_02_30_04_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09b1a3908b100c847e96ea0fc267c47c.jpg","text":"TemporaryFile(/tmp/multipartBody5865845995028494586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054993394,"filename":"image_20022025_02_30_14_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/84148aba4641e137adf3cc3f8267df4f.jpg","text":"TemporaryFile(/tmp/multipartBody4874800572514978056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740054993394,"filename":"image_20022025_02_29_55_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593741","file1":"1338593737","file0":"1338593734","file4":"1338593748","file5":"1338593751","file3":"1338593745"},"map_files_photo_id_array":[{"photo_id":"1338593751","filename":"file5"},{"photo_id":"1338593741","filename":"file2"},{"photo_id":"1338593748","filename":"file4"},{"photo_id":"1338593737","filename":"file1"},{"photo_id":"1338593734","filename":"file0"},{"photo_id":"1338593745","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593734":["hashtag1","hashtag2"]},{"1338593737":["hashtag1","hashtag2"]},{"1338593751":["hashtag1","hashtag2"]},{"1338593745":["hashtag1","hashtag2"]},{"1338593748":["hashtag1","hashtag2"]},{"1338593741":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593734, 1338593737, 1338593751, 1338593745, 1338593748, 1338593741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12903022766113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:36:33.048506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/30/image_20022025_02_30_45_10428.jpg', '/home/pi/Desktop/images/20022025/02/30/image_20022025_02_31_05_10401.jpg', '/home/pi/Desktop/images/20022025/02/31/image_20022025_02_31_15_10340.jpg', '/home/pi/Desktop/images/20022025/02/31/image_20022025_02_31_24_9417.jpg', '/home/pi/Desktop/images/20022025/02/31/image_20022025_02_31_35_10390.jpg', '/home/pi/Desktop/images/20022025/02/31/image_20022025_02_31_45_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/30/image_20022025_02_30_45_10428.jpg
/home/pi/Desktop/images/20022025/02/30/image_20022025_02_31_05_10401.jpg
/home/pi/Desktop/images/20022025/02/31/image_20022025_02_31_15_10340.jpg
/home/pi/Desktop/images/20022025/02/31/image_20022025_02_31_24_9417.jpg
/home/pi/Desktop/images/20022025/02/31/image_20022025_02_31_35_10390.jpg
/home/pi/Desktop/images/20022025/02/31/image_20022025_02_31_45_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593788","1338593776","1338593791","1338593785","1338593781","1338593778"],"photo_ids_order":["1338593776","1338593778","1338593781","1338593785","1338593788","1338593791"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bf74a80c6c0afdc2f3231e338879a0e8.jpg","text":"TemporaryFile(/tmp/multipartBody9087434640581936237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055053584,"filename":"image_20022025_02_31_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f70897f3a8c5173f8ac1fe0a5fa2fa5e.jpg","text":"TemporaryFile(/tmp/multipartBody1445981885394705472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055053584,"filename":"image_20022025_02_30_45_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b37dd6197c97d8a34cf56d10c1c7c2fc.jpg","text":"TemporaryFile(/tmp/multipartBody4590716171365389129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055053584,"filename":"image_20022025_02_31_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ebda69110d32876bf3c99aafa40c483d.jpg","text":"TemporaryFile(/tmp/multipartBody8296645144188082593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055053584,"filename":"image_20022025_02_31_24_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d79057ba3e689a54026b6c24e01b11b5.jpg","text":"TemporaryFile(/tmp/multipartBody8414382345118784694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055053584,"filename":"image_20022025_02_31_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a2a661f94ee8469c9e9deb418f8e09c.jpg","text":"TemporaryFile(/tmp/multipartBody6348975401914677787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055053584,"filename":"image_20022025_02_31_05_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593781","file1":"1338593778","file0":"1338593776","file4":"1338593788","file5":"1338593791","file3":"1338593785"},"map_files_photo_id_array":[{"photo_id":"1338593791","filename":"file5"},{"photo_id":"1338593781","filename":"file2"},{"photo_id":"1338593788","filename":"file4"},{"photo_id":"1338593778","filename":"file1"},{"photo_id":"1338593776","filename":"file0"},{"photo_id":"1338593785","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593788":["hashtag1","hashtag2"]},{"1338593776":["hashtag1","hashtag2"]},{"1338593791":["hashtag1","hashtag2"]},{"1338593785":["hashtag1","hashtag2"]},{"1338593781":["hashtag1","hashtag2"]},{"1338593778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593788, 1338593776, 1338593791, 1338593785, 1338593781, 1338593778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.139554500579834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:37:32.381683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/31/image_20022025_02_32_05_10326.jpg', '/home/pi/Desktop/images/20022025/02/32/image_20022025_02_32_25_10355.jpg', '/home/pi/Desktop/images/20022025/02/32/image_20022025_02_32_35_10344.jpg', '/home/pi/Desktop/images/20022025/02/32/image_20022025_02_32_44_9329.jpg', '/home/pi/Desktop/images/20022025/02/32/image_20022025_02_32_55_10354.jpg', '/home/pi/Desktop/images/20022025/02/33/image_20022025_02_33_14_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/31/image_20022025_02_32_05_10326.jpg
/home/pi/Desktop/images/20022025/02/32/image_20022025_02_32_25_10355.jpg
/home/pi/Desktop/images/20022025/02/32/image_20022025_02_32_35_10344.jpg
/home/pi/Desktop/images/20022025/02/32/image_20022025_02_32_44_9329.jpg
/home/pi/Desktop/images/20022025/02/32/image_20022025_02_32_55_10354.jpg
/home/pi/Desktop/images/20022025/02/33/image_20022025_02_33_14_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593822","1338593810","1338593817","1338593826","1338593828","1338593813"],"photo_ids_order":["1338593810","1338593813","1338593817","1338593822","1338593826","1338593828"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0651edb22e0be02a3fb1eacd21bf86e8.jpg","text":"TemporaryFile(/tmp/multipartBody4823876656164400461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055112926,"filename":"image_20022025_02_32_44_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bbaed7ae100ceb4f036af1742fc5ef6b.jpg","text":"TemporaryFile(/tmp/multipartBody2751452042209096015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055112926,"filename":"image_20022025_02_32_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f7ae7e4cf3dcc255931bfb0c51dc672a.jpg","text":"TemporaryFile(/tmp/multipartBody2154043671686980339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055112926,"filename":"image_20022025_02_32_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8192cd48173ecc4bed42beb659547310.jpg","text":"TemporaryFile(/tmp/multipartBody4548523545708906766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055112926,"filename":"image_20022025_02_32_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31024ead349e0d37bba335ede6573f13.jpg","text":"TemporaryFile(/tmp/multipartBody619092735064713465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055112926,"filename":"image_20022025_02_33_14_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91f133a9d484b04b730680b888e09169.jpg","text":"TemporaryFile(/tmp/multipartBody7801831009359480800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055112926,"filename":"image_20022025_02_32_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593817","file1":"1338593813","file0":"1338593810","file4":"1338593826","file5":"1338593828","file3":"1338593822"},"map_files_photo_id_array":[{"photo_id":"1338593828","filename":"file5"},{"photo_id":"1338593817","filename":"file2"},{"photo_id":"1338593826","filename":"file4"},{"photo_id":"1338593813","filename":"file1"},{"photo_id":"1338593810","filename":"file0"},{"photo_id":"1338593822","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593822":["hashtag1","hashtag2"]},{"1338593810":["hashtag1","hashtag2"]},{"1338593817":["hashtag1","hashtag2"]},{"1338593826":["hashtag1","hashtag2"]},{"1338593828":["hashtag1","hashtag2"]},{"1338593813":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593822, 1338593810, 1338593817, 1338593826, 1338593828, 1338593813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.32970356941223 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:38:32.537172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/33/image_20022025_02_33_25_10404.jpg', '/home/pi/Desktop/images/20022025/02/33/image_20022025_02_33_45_9469.jpg', '/home/pi/Desktop/images/20022025/02/33/image_20022025_02_34_04_9330.jpg', '/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_15_10340.jpg', '/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_25_10415.jpg', '/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_34_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/33/image_20022025_02_33_25_10404.jpg
/home/pi/Desktop/images/20022025/02/33/image_20022025_02_33_45_9469.jpg
/home/pi/Desktop/images/20022025/02/33/image_20022025_02_34_04_9330.jpg
/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_15_10340.jpg
/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_25_10415.jpg
/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_34_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593860","1338593866","1338593851","1338593868","1338593864","1338593855"],"photo_ids_order":["1338593851","1338593855","1338593860","1338593864","1338593866","1338593868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/69979747688147f55628886e43deb0fe.jpg","text":"TemporaryFile(/tmp/multipartBody3446678977400408410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055173169,"filename":"image_20022025_02_34_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7bdd84124fa74b89ed632e86bf085244.jpg","text":"TemporaryFile(/tmp/multipartBody8214943209142273645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055173169,"filename":"image_20022025_02_34_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1fd8b61dc1b8702460597ce7eebbcbb5.jpg","text":"TemporaryFile(/tmp/multipartBody3984229433027501041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055173169,"filename":"image_20022025_02_33_25_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/383188fd010da2de6c90a6cf222169b5.jpg","text":"TemporaryFile(/tmp/multipartBody1118741602415740458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055173169,"filename":"image_20022025_02_34_34_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04ae1b8e0aa126c14a69889b578e9e65.jpg","text":"TemporaryFile(/tmp/multipartBody7615427927584132395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055173169,"filename":"image_20022025_02_34_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eddca785d6cbdb1191b27f6e2a59ce5e.jpg","text":"TemporaryFile(/tmp/multipartBody1265776491048077493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055173169,"filename":"image_20022025_02_33_45_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593860","file1":"1338593855","file0":"1338593851","file4":"1338593866","file5":"1338593868","file3":"1338593864"},"map_files_photo_id_array":[{"photo_id":"1338593868","filename":"file5"},{"photo_id":"1338593860","filename":"file2"},{"photo_id":"1338593866","filename":"file4"},{"photo_id":"1338593855","filename":"file1"},{"photo_id":"1338593851","filename":"file0"},{"photo_id":"1338593864","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593860":["hashtag1","hashtag2"]},{"1338593866":["hashtag1","hashtag2"]},{"1338593851":["hashtag1","hashtag2"]},{"1338593868":["hashtag1","hashtag2"]},{"1338593864":["hashtag1","hashtag2"]},{"1338593855":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593860, 1338593866, 1338593851, 1338593868, 1338593864, 1338593855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.493316173553467 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:39:32.767585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_45_10333.jpg', '/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_55_10331.jpg', '/home/pi/Desktop/images/20022025/02/34/image_20022025_02_35_04_9318.jpg', '/home/pi/Desktop/images/20022025/02/35/image_20022025_02_35_25_10364.jpg', '/home/pi/Desktop/images/20022025/02/35/image_20022025_02_35_34_9407.jpg', '/home/pi/Desktop/images/20022025/02/36/image_20022025_02_36_15_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_45_10333.jpg
/home/pi/Desktop/images/20022025/02/34/image_20022025_02_34_55_10331.jpg
/home/pi/Desktop/images/20022025/02/34/image_20022025_02_35_04_9318.jpg
/home/pi/Desktop/images/20022025/02/35/image_20022025_02_35_25_10364.jpg
/home/pi/Desktop/images/20022025/02/35/image_20022025_02_35_34_9407.jpg
/home/pi/Desktop/images/20022025/02/36/image_20022025_02_36_15_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593942","1338593950","1338593953","1338593961","1338593958","1338593945"],"photo_ids_order":["1338593942","1338593945","1338593950","1338593953","1338593958","1338593961"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa6b78c43ab43094c40bbc29c9416d91.jpg","text":"TemporaryFile(/tmp/multipartBody6766673465451212076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055233309,"filename":"image_20022025_02_34_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c8f00e4fe633c45cd5ed218ab631abf6.jpg","text":"TemporaryFile(/tmp/multipartBody7973312795951010965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055233309,"filename":"image_20022025_02_35_04_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/251322870e86d1fd7c07b7e5516ac1fe.jpg","text":"TemporaryFile(/tmp/multipartBody929039875822828289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055233309,"filename":"image_20022025_02_35_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0aac412c73f9bf5062467ee8a943016.jpg","text":"TemporaryFile(/tmp/multipartBody4868635431863667824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055233309,"filename":"image_20022025_02_36_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/532e172d8372bcfd7772b1383ff22202.jpg","text":"TemporaryFile(/tmp/multipartBody3423988599047971883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055233309,"filename":"image_20022025_02_35_34_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b7504abd7fad591a75b17fb66dac367.jpg","text":"TemporaryFile(/tmp/multipartBody2610753567222093850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055233309,"filename":"image_20022025_02_34_55_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593950","file1":"1338593945","file0":"1338593942","file4":"1338593958","file5":"1338593961","file3":"1338593953"},"map_files_photo_id_array":[{"photo_id":"1338593961","filename":"file5"},{"photo_id":"1338593950","filename":"file2"},{"photo_id":"1338593958","filename":"file4"},{"photo_id":"1338593945","filename":"file1"},{"photo_id":"1338593942","filename":"file0"},{"photo_id":"1338593953","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593942":["hashtag1","hashtag2"]},{"1338593950":["hashtag1","hashtag2"]},{"1338593953":["hashtag1","hashtag2"]},{"1338593961":["hashtag1","hashtag2"]},{"1338593958":["hashtag1","hashtag2"]},{"1338593945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593942, 1338593950, 1338593953, 1338593961, 1338593958, 1338593945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.88131308555603 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:40:32.833486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/36/image_20022025_02_36_24_9332.jpg', '/home/pi/Desktop/images/20022025/02/36/image_20022025_02_36_45_10339.jpg', '/home/pi/Desktop/images/20022025/02/37/image_20022025_02_37_14_9360.jpg', '/home/pi/Desktop/images/20022025/02/37/image_20022025_02_37_25_10425.jpg', '/home/pi/Desktop/images/20022025/02/37/image_20022025_02_38_05_10340.jpg', '/home/pi/Desktop/images/20022025/02/38/image_20022025_02_38_15_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/36/image_20022025_02_36_24_9332.jpg
/home/pi/Desktop/images/20022025/02/36/image_20022025_02_36_45_10339.jpg
/home/pi/Desktop/images/20022025/02/37/image_20022025_02_37_14_9360.jpg
/home/pi/Desktop/images/20022025/02/37/image_20022025_02_37_25_10425.jpg
/home/pi/Desktop/images/20022025/02/37/image_20022025_02_38_05_10340.jpg
/home/pi/Desktop/images/20022025/02/38/image_20022025_02_38_15_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338593995","1338593983","1338594001","1338593991","1338593999","1338593987"],"photo_ids_order":["1338593983","1338593987","1338593991","1338593995","1338593999","1338594001"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd3cc05433a3963cdccf35d5766c6ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4052072823979659017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055293376,"filename":"image_20022025_02_37_25_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/358bd198bb8ba24fb26ed44f64afd2e4.jpg","text":"TemporaryFile(/tmp/multipartBody655006220484526006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055293376,"filename":"image_20022025_02_36_24_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9f9804f77edad5abd1536258b9e9872f.jpg","text":"TemporaryFile(/tmp/multipartBody9206709798303232731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055293376,"filename":"image_20022025_02_38_15_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eefcaa88c8c3937c0bf7dc997c08a2ab.jpg","text":"TemporaryFile(/tmp/multipartBody831817775692776230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055293376,"filename":"image_20022025_02_37_14_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9161b0d1d020b794bd249b6d0448b741.jpg","text":"TemporaryFile(/tmp/multipartBody9179139002117968260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055293376,"filename":"image_20022025_02_38_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c1d7584b37cf40c246d69c7ff6954c5.jpg","text":"TemporaryFile(/tmp/multipartBody5171318131559771914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055293376,"filename":"image_20022025_02_36_45_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338593991","file1":"1338593987","file0":"1338593983","file4":"1338593999","file5":"1338594001","file3":"1338593995"},"map_files_photo_id_array":[{"photo_id":"1338594001","filename":"file5"},{"photo_id":"1338593991","filename":"file2"},{"photo_id":"1338593999","filename":"file4"},{"photo_id":"1338593987","filename":"file1"},{"photo_id":"1338593983","filename":"file0"},{"photo_id":"1338593995","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338593995":["hashtag1","hashtag2"]},{"1338593983":["hashtag1","hashtag2"]},{"1338594001":["hashtag1","hashtag2"]},{"1338593991":["hashtag1","hashtag2"]},{"1338593999":["hashtag1","hashtag2"]},{"1338593987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338593995, 1338593983, 1338594001, 1338593991, 1338593999, 1338593987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.315200328826904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:41:33.078334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/38/image_20022025_02_38_34_9380.jpg', '/home/pi/Desktop/images/20022025/02/38/image_20022025_02_38_45_10332.jpg', '/home/pi/Desktop/images/20022025/02/38/image_20022025_02_39_04_9318.jpg', '/home/pi/Desktop/images/20022025/02/39/image_20022025_02_39_15_10350.jpg', '/home/pi/Desktop/images/20022025/02/39/image_20022025_02_39_25_10357.jpg', '/home/pi/Desktop/images/20022025/02/39/image_20022025_02_39_34_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/38/image_20022025_02_38_34_9380.jpg
/home/pi/Desktop/images/20022025/02/38/image_20022025_02_38_45_10332.jpg
/home/pi/Desktop/images/20022025/02/38/image_20022025_02_39_04_9318.jpg
/home/pi/Desktop/images/20022025/02/39/image_20022025_02_39_15_10350.jpg
/home/pi/Desktop/images/20022025/02/39/image_20022025_02_39_25_10357.jpg
/home/pi/Desktop/images/20022025/02/39/image_20022025_02_39_34_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594220","1338594223","1338594195","1338594192","1338594216","1338594188"],"photo_ids_order":["1338594188","1338594192","1338594195","1338594216","1338594220","1338594223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec0a5465ffa9484246e02f8b2d80b2ac.jpg","text":"TemporaryFile(/tmp/multipartBody8212108969880551089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055353642,"filename":"image_20022025_02_39_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d28307c319147d2015c952beae9e625a.jpg","text":"TemporaryFile(/tmp/multipartBody3740308149585454806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055353642,"filename":"image_20022025_02_39_34_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/653c4b7f398c7151dae09a169f2810c7.jpg","text":"TemporaryFile(/tmp/multipartBody2335006753066989825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055353642,"filename":"image_20022025_02_39_04_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d01b4c2fb121645ea8f8fd032e7ab03.jpg","text":"TemporaryFile(/tmp/multipartBody6792997084322202664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055353642,"filename":"image_20022025_02_38_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8bfca47b15ff9d65cf0a07f35b993d01.jpg","text":"TemporaryFile(/tmp/multipartBody109276134905622544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055353642,"filename":"image_20022025_02_39_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a302a40c5eb845078897867bcd6a738.jpg","text":"TemporaryFile(/tmp/multipartBody7366455510101496797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055353642,"filename":"image_20022025_02_38_34_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594195","file1":"1338594192","file0":"1338594188","file4":"1338594220","file5":"1338594223","file3":"1338594216"},"map_files_photo_id_array":[{"photo_id":"1338594223","filename":"file5"},{"photo_id":"1338594195","filename":"file2"},{"photo_id":"1338594220","filename":"file4"},{"photo_id":"1338594192","filename":"file1"},{"photo_id":"1338594188","filename":"file0"},{"photo_id":"1338594216","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594220":["hashtag1","hashtag2"]},{"1338594223":["hashtag1","hashtag2"]},{"1338594195":["hashtag1","hashtag2"]},{"1338594192":["hashtag1","hashtag2"]},{"1338594216":["hashtag1","hashtag2"]},{"1338594188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594220, 1338594223, 1338594195, 1338594192, 1338594216, 1338594188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.070926904678345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:42:32.270927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/39/image_20022025_02_40_04_9320.jpg', '/home/pi/Desktop/images/20022025/02/40/image_20022025_02_40_15_10417.jpg', '/home/pi/Desktop/images/20022025/02/40/image_20022025_02_40_24_9354.jpg', '/home/pi/Desktop/images/20022025/02/40/image_20022025_02_40_34_10395.jpg', '/home/pi/Desktop/images/20022025/02/40/image_20022025_02_40_54_9351.jpg', '/home/pi/Desktop/images/20022025/02/40/image_20022025_02_41_05_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/39/image_20022025_02_40_04_9320.jpg
/home/pi/Desktop/images/20022025/02/40/image_20022025_02_40_15_10417.jpg
/home/pi/Desktop/images/20022025/02/40/image_20022025_02_40_24_9354.jpg
/home/pi/Desktop/images/20022025/02/40/image_20022025_02_40_34_10395.jpg
/home/pi/Desktop/images/20022025/02/40/image_20022025_02_40_54_9351.jpg
/home/pi/Desktop/images/20022025/02/40/image_20022025_02_41_05_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594439","1338594396","1338594450","1338594447","1338594443","1338594437"],"photo_ids_order":["1338594396","1338594437","1338594439","1338594443","1338594447","1338594450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c918ee417b843a679b92107c7015ce53.jpg","text":"TemporaryFile(/tmp/multipartBody6808612540993591404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055412832,"filename":"image_20022025_02_40_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ed5397c384a1482baa6c9ab40839daf.jpg","text":"TemporaryFile(/tmp/multipartBody5071268729697480638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055412832,"filename":"image_20022025_02_40_04_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d442d386dfddd22e067bbb0aef5de6ac.jpg","text":"TemporaryFile(/tmp/multipartBody292899891208379695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055412832,"filename":"image_20022025_02_41_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f6686cb08e48b4da7f0e23c5e3e75059.jpg","text":"TemporaryFile(/tmp/multipartBody325278742604039369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055412832,"filename":"image_20022025_02_40_54_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f54738c731583c3393a44f13e0009f6.jpg","text":"TemporaryFile(/tmp/multipartBody2294204944802522141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055412832,"filename":"image_20022025_02_40_34_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ed30f4a60b243a710a1d81bde958c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1044558568511611203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055412832,"filename":"image_20022025_02_40_15_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594439","file1":"1338594437","file0":"1338594396","file4":"1338594447","file5":"1338594450","file3":"1338594443"},"map_files_photo_id_array":[{"photo_id":"1338594450","filename":"file5"},{"photo_id":"1338594439","filename":"file2"},{"photo_id":"1338594447","filename":"file4"},{"photo_id":"1338594437","filename":"file1"},{"photo_id":"1338594396","filename":"file0"},{"photo_id":"1338594443","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594439":["hashtag1","hashtag2"]},{"1338594396":["hashtag1","hashtag2"]},{"1338594450":["hashtag1","hashtag2"]},{"1338594447":["hashtag1","hashtag2"]},{"1338594443":["hashtag1","hashtag2"]},{"1338594437":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594439, 1338594396, 1338594450, 1338594447, 1338594443, 1338594437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.98086953163147 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:43:32.383501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/41/image_20022025_02_41_15_10480.jpg', '/home/pi/Desktop/images/20022025/02/41/image_20022025_02_41_24_9456.jpg', '/home/pi/Desktop/images/20022025/02/41/image_20022025_02_41_35_10341.jpg', '/home/pi/Desktop/images/20022025/02/41/image_20022025_02_41_44_9349.jpg', '/home/pi/Desktop/images/20022025/02/41/image_20022025_02_42_05_10332.jpg', '/home/pi/Desktop/images/20022025/02/42/image_20022025_02_42_25_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/41/image_20022025_02_41_15_10480.jpg
/home/pi/Desktop/images/20022025/02/41/image_20022025_02_41_24_9456.jpg
/home/pi/Desktop/images/20022025/02/41/image_20022025_02_41_35_10341.jpg
/home/pi/Desktop/images/20022025/02/41/image_20022025_02_41_44_9349.jpg
/home/pi/Desktop/images/20022025/02/41/image_20022025_02_42_05_10332.jpg
/home/pi/Desktop/images/20022025/02/42/image_20022025_02_42_25_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594480","1338594477","1338594470","1338594473","1338594467","1338594475"],"photo_ids_order":["1338594467","1338594470","1338594473","1338594475","1338594477","1338594480"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3c82576565e8320a7c471bb85662b57.jpg","text":"TemporaryFile(/tmp/multipartBody6246513219362578533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055472945,"filename":"image_20022025_02_42_25_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/561201b2b5bfd47c8b052e1994c73f53.jpg","text":"TemporaryFile(/tmp/multipartBody1244878120005486334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055472945,"filename":"image_20022025_02_42_05_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa748d233d7ed54666d731cf08962d56.jpg","text":"TemporaryFile(/tmp/multipartBody8084282457377754518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055472945,"filename":"image_20022025_02_41_24_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/509e6142d507f35952827ef261c31272.jpg","text":"TemporaryFile(/tmp/multipartBody2985556226257670767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055472945,"filename":"image_20022025_02_41_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76b5e614e14a41f105c19a35874f9626.jpg","text":"TemporaryFile(/tmp/multipartBody9209683847013061486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055472945,"filename":"image_20022025_02_41_15_10480.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/03e806ba4106c9c06142b8721f332643.jpg","text":"TemporaryFile(/tmp/multipartBody4141522490189500495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055472945,"filename":"image_20022025_02_41_44_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594473","file1":"1338594470","file0":"1338594467","file4":"1338594477","file5":"1338594480","file3":"1338594475"},"map_files_photo_id_array":[{"photo_id":"1338594480","filename":"file5"},{"photo_id":"1338594473","filename":"file2"},{"photo_id":"1338594477","filename":"file4"},{"photo_id":"1338594470","filename":"file1"},{"photo_id":"1338594467","filename":"file0"},{"photo_id":"1338594475","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594480":["hashtag1","hashtag2"]},{"1338594477":["hashtag1","hashtag2"]},{"1338594470":["hashtag1","hashtag2"]},{"1338594473":["hashtag1","hashtag2"]},{"1338594467":["hashtag1","hashtag2"]},{"1338594475":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594480, 1338594477, 1338594470, 1338594473, 1338594467, 1338594475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.80096197128296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:44:32.815280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/42/image_20022025_02_42_35_10332.jpg', '/home/pi/Desktop/images/20022025/02/43/image_20022025_02_43_25_10335.jpg', '/home/pi/Desktop/images/20022025/02/43/image_20022025_02_43_34_9332.jpg', '/home/pi/Desktop/images/20022025/02/43/image_20022025_02_43_45_10434.jpg', '/home/pi/Desktop/images/20022025/02/43/image_20022025_02_44_04_9337.jpg', '/home/pi/Desktop/images/20022025/02/44/image_20022025_02_44_25_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/42/image_20022025_02_42_35_10332.jpg
/home/pi/Desktop/images/20022025/02/43/image_20022025_02_43_25_10335.jpg
/home/pi/Desktop/images/20022025/02/43/image_20022025_02_43_34_9332.jpg
/home/pi/Desktop/images/20022025/02/43/image_20022025_02_43_45_10434.jpg
/home/pi/Desktop/images/20022025/02/43/image_20022025_02_44_04_9337.jpg
/home/pi/Desktop/images/20022025/02/44/image_20022025_02_44_25_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594511","1338594508","1338594582","1338594513","1338594584","1338594516"],"photo_ids_order":["1338594508","1338594511","1338594513","1338594516","1338594582","1338594584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/207dd91e1b1ce5c66f4915cbbd9ffcf0.jpg","text":"TemporaryFile(/tmp/multipartBody1490332600001114082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055533358,"filename":"image_20022025_02_43_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9bed098d7ee99dce8a62676327e35ae8.jpg","text":"TemporaryFile(/tmp/multipartBody7426680328145335976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055533358,"filename":"image_20022025_02_42_35_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31daf1ec577ce31c830500adc8b7add2.jpg","text":"TemporaryFile(/tmp/multipartBody8547330642604114697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055533358,"filename":"image_20022025_02_44_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d237e5f255d8133b4e16a3ff24d2fa75.jpg","text":"TemporaryFile(/tmp/multipartBody1546171518259088109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055533358,"filename":"image_20022025_02_43_34_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/682d3c2d39b452e9010b12ac4f2535b4.jpg","text":"TemporaryFile(/tmp/multipartBody210019075937143554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055533358,"filename":"image_20022025_02_44_25_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a37181f1683bed3a3f2e32da200d9a3.jpg","text":"TemporaryFile(/tmp/multipartBody6504250824260044598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055533358,"filename":"image_20022025_02_43_45_10434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594513","file1":"1338594511","file0":"1338594508","file4":"1338594582","file5":"1338594584","file3":"1338594516"},"map_files_photo_id_array":[{"photo_id":"1338594584","filename":"file5"},{"photo_id":"1338594513","filename":"file2"},{"photo_id":"1338594582","filename":"file4"},{"photo_id":"1338594511","filename":"file1"},{"photo_id":"1338594508","filename":"file0"},{"photo_id":"1338594516","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594511":["hashtag1","hashtag2"]},{"1338594508":["hashtag1","hashtag2"]},{"1338594582":["hashtag1","hashtag2"]},{"1338594513":["hashtag1","hashtag2"]},{"1338594584":["hashtag1","hashtag2"]},{"1338594516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594511, 1338594508, 1338594582, 1338594513, 1338594584, 1338594516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34463596343994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:45:32.892334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/44/image_20022025_02_44_34_9317.jpg', '/home/pi/Desktop/images/20022025/02/44/image_20022025_02_44_45_10444.jpg', '/home/pi/Desktop/images/20022025/02/44/image_20022025_02_45_04_10387.jpg', '/home/pi/Desktop/images/20022025/02/45/image_20022025_02_45_15_10341.jpg', '/home/pi/Desktop/images/20022025/02/45/image_20022025_02_45_24_9353.jpg', '/home/pi/Desktop/images/20022025/02/45/image_20022025_02_45_35_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/44/image_20022025_02_44_34_9317.jpg
/home/pi/Desktop/images/20022025/02/44/image_20022025_02_44_45_10444.jpg
/home/pi/Desktop/images/20022025/02/44/image_20022025_02_45_04_10387.jpg
/home/pi/Desktop/images/20022025/02/45/image_20022025_02_45_15_10341.jpg
/home/pi/Desktop/images/20022025/02/45/image_20022025_02_45_24_9353.jpg
/home/pi/Desktop/images/20022025/02/45/image_20022025_02_45_35_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594666","1338594660","1338594663","1338594671","1338594668","1338594673"],"photo_ids_order":["1338594660","1338594663","1338594666","1338594668","1338594671","1338594673"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30e5558841b197f716b4ca7f1a1a3d48.jpg","text":"TemporaryFile(/tmp/multipartBody4054890596450973242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055593443,"filename":"image_20022025_02_45_04_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2b79cd0720ce020a621c4dbea54adc9.jpg","text":"TemporaryFile(/tmp/multipartBody4215407268830380338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055593443,"filename":"image_20022025_02_44_34_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48d64fc459f66ebf13465b84c1c3db2a.jpg","text":"TemporaryFile(/tmp/multipartBody6342722919589657629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055593443,"filename":"image_20022025_02_44_45_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d64695c55699f0ff7e312e42ad19c9c.jpg","text":"TemporaryFile(/tmp/multipartBody91937678177961151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055593443,"filename":"image_20022025_02_45_24_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ad729687144bca745fd3966083ccae6.jpg","text":"TemporaryFile(/tmp/multipartBody219196640894022500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055593443,"filename":"image_20022025_02_45_15_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec6b58bb7bcd663a12f33bbf4445a6d6.jpg","text":"TemporaryFile(/tmp/multipartBody8385809970348974416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055593443,"filename":"image_20022025_02_45_35_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594666","file1":"1338594663","file0":"1338594660","file4":"1338594671","file5":"1338594673","file3":"1338594668"},"map_files_photo_id_array":[{"photo_id":"1338594673","filename":"file5"},{"photo_id":"1338594666","filename":"file2"},{"photo_id":"1338594671","filename":"file4"},{"photo_id":"1338594663","filename":"file1"},{"photo_id":"1338594660","filename":"file0"},{"photo_id":"1338594668","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594666":["hashtag1","hashtag2"]},{"1338594660":["hashtag1","hashtag2"]},{"1338594663":["hashtag1","hashtag2"]},{"1338594671":["hashtag1","hashtag2"]},{"1338594668":["hashtag1","hashtag2"]},{"1338594673":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594666, 1338594660, 1338594663, 1338594671, 1338594668, 1338594673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48068332672119 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:46:33.165386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/45/image_20022025_02_45_45_10359.jpg', '/home/pi/Desktop/images/20022025/02/45/image_20022025_02_46_05_10435.jpg', '/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_15_10335.jpg', '/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_24_9341.jpg', '/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_35_10338.jpg', '/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_45_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/45/image_20022025_02_45_45_10359.jpg
/home/pi/Desktop/images/20022025/02/45/image_20022025_02_46_05_10435.jpg
/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_15_10335.jpg
/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_24_9341.jpg
/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_35_10338.jpg
/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_45_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594697","1338594699","1338594690","1338594703","1338594701","1338594694"],"photo_ids_order":["1338594690","1338594694","1338594697","1338594699","1338594701","1338594703"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/21db1617035f8c34ebc7618fdaef614f.jpg","text":"TemporaryFile(/tmp/multipartBody3846082690780210147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055653724,"filename":"image_20022025_02_46_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ebce57978897acd48fe65cc0d6bd8be.jpg","text":"TemporaryFile(/tmp/multipartBody6750493594878667861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055653724,"filename":"image_20022025_02_46_24_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bdc167862fd7205f81cdf0019b87833.jpg","text":"TemporaryFile(/tmp/multipartBody6462960882170138720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055653724,"filename":"image_20022025_02_45_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5a2b9774d5ffe5915bb334b4132fac28.jpg","text":"TemporaryFile(/tmp/multipartBody4883613903733790863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055653724,"filename":"image_20022025_02_46_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01c641ec2d15b8c34262506ec2932e3c.jpg","text":"TemporaryFile(/tmp/multipartBody1048893317486438464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055653724,"filename":"image_20022025_02_46_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c76842f8b85a54771d125e071584fb99.jpg","text":"TemporaryFile(/tmp/multipartBody75495549915667654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055653724,"filename":"image_20022025_02_46_05_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594697","file1":"1338594694","file0":"1338594690","file4":"1338594701","file5":"1338594703","file3":"1338594699"},"map_files_photo_id_array":[{"photo_id":"1338594703","filename":"file5"},{"photo_id":"1338594697","filename":"file2"},{"photo_id":"1338594701","filename":"file4"},{"photo_id":"1338594694","filename":"file1"},{"photo_id":"1338594690","filename":"file0"},{"photo_id":"1338594699","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594697":["hashtag1","hashtag2"]},{"1338594699":["hashtag1","hashtag2"]},{"1338594690":["hashtag1","hashtag2"]},{"1338594703":["hashtag1","hashtag2"]},{"1338594701":["hashtag1","hashtag2"]},{"1338594694":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594697, 1338594699, 1338594690, 1338594703, 1338594701, 1338594694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91840839385986 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:47:32.417114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_54_9396.jpg', '/home/pi/Desktop/images/20022025/02/46/image_20022025_02_47_05_10419.jpg', '/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_14_9351.jpg', '/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_25_10357.jpg', '/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_35_10348.jpg', '/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_44_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_54_9396.jpg
/home/pi/Desktop/images/20022025/02/46/image_20022025_02_47_05_10419.jpg
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_14_9351.jpg
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_25_10357.jpg
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_35_10348.jpg
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_44_9347.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.45847368240356445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 13:47:42.513683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_54_9396.jpg', '/home/pi/Desktop/images/20022025/02/46/image_20022025_02_47_05_10419.jpg', '/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_14_9351.jpg', '/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_25_10357.jpg', '/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_35_10348.jpg', '/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_44_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/46/image_20022025_02_46_54_9396.jpg
/home/pi/Desktop/images/20022025/02/46/image_20022025_02_47_05_10419.jpg
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_14_9351.jpg
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_25_10357.jpg
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_35_10348.jpg
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_47_44_9347.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":["1338594733","1338594732","1338594735","1338594731","1338594725","1338594728"],"photo_ids_order":["1338594725","1338594728","1338594731","1338594732","1338594733","1338594735"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/44bb364a5df184699ec5d0270254d5da.jpg","text":"TemporaryFile(/tmp/multipartBody8156519235764949886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055722974,"filename":"image_20022025_02_47_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2ae72792308865e3c194017b1787d334.jpg","text":"TemporaryFile(/tmp/multipartBody8458029518160241558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055722974,"filename":"image_20022025_02_47_25_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca882734371ca99e14f3c228707bf175.jpg","text":"TemporaryFile(/tmp/multipartBody1508593724863471685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055722974,"filename":"image_20022025_02_47_44_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0296ef2139eeb507aab43f71d101d44c.jpg","text":"TemporaryFile(/tmp/multipartBody5195517405970379572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055722974,"filename":"image_20022025_02_47_14_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a4a74fa981a49d32125b7b088106ea6e.jpg","text":"TemporaryFile(/tmp/multipartBody8229799225478220021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055722974,"filename":"image_20022025_02_46_54_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/155c5200fe603bcbd71cd7cd016a0190.jpg","text":"TemporaryFile(/tmp/multipartBody4674762323454823532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055722974,"filename":"image_20022025_02_47_05_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594731","file1":"1338594728","file0":"1338594725","file4":"1338594733","file5":"1338594735","file3":"1338594732"},"map_files_photo_id_array":[{"photo_id":"1338594735","filename":"file5"},{"photo_id":"1338594731","filename":"file2"},{"photo_id":"1338594733","filename":"file4"},{"photo_id":"1338594728","filename":"file1"},{"photo_id":"1338594725","filename":"file0"},{"photo_id":"1338594732","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594733":["hashtag1","hashtag2"]},{"1338594732":["hashtag1","hashtag2"]},{"1338594735":["hashtag1","hashtag2"]},{"1338594731":["hashtag1","hashtag2"]},{"1338594725":["hashtag1","hashtag2"]},{"1338594728":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594733, 1338594732, 1338594735, 1338594731, 1338594725, 1338594728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02205443382263 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:48:32.616557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/47/image_20022025_02_48_05_10330.jpg', '/home/pi/Desktop/images/20022025/02/48/image_20022025_02_48_15_9988.jpg', '/home/pi/Desktop/images/20022025/02/48/image_20022025_02_48_24_9335.jpg', '/home/pi/Desktop/images/20022025/02/48/image_20022025_02_48_35_10343.jpg', '/home/pi/Desktop/images/20022025/02/48/image_20022025_02_48_45_10332.jpg', '/home/pi/Desktop/images/20022025/02/48/image_20022025_02_49_05_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/47/image_20022025_02_48_05_10330.jpg
/home/pi/Desktop/images/20022025/02/48/image_20022025_02_48_15_9988.jpg
/home/pi/Desktop/images/20022025/02/48/image_20022025_02_48_24_9335.jpg
/home/pi/Desktop/images/20022025/02/48/image_20022025_02_48_35_10343.jpg
/home/pi/Desktop/images/20022025/02/48/image_20022025_02_48_45_10332.jpg
/home/pi/Desktop/images/20022025/02/48/image_20022025_02_49_05_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594757","1338594751","1338594753","1338594758","1338594755","1338594749"],"photo_ids_order":["1338594749","1338594751","1338594753","1338594755","1338594757","1338594758"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7d5a5baf2371229605b41243d14aa61.jpg","text":"TemporaryFile(/tmp/multipartBody7213629632823813708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055773225,"filename":"image_20022025_02_48_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34cdf537672a030d5a77850afcd8ac5a.jpg","text":"TemporaryFile(/tmp/multipartBody432027259724402634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055773225,"filename":"image_20022025_02_48_15_9988.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ac4618c256e9d3342f1877b73125627.jpg","text":"TemporaryFile(/tmp/multipartBody5741361104328866958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055773225,"filename":"image_20022025_02_48_24_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c51b92fdac2a52806d5ea566c8bcce17.jpg","text":"TemporaryFile(/tmp/multipartBody8993666912998264394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055773225,"filename":"image_20022025_02_49_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e23120eaf3434762aed9852349ec5a92.jpg","text":"TemporaryFile(/tmp/multipartBody3819374746007613603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055773225,"filename":"image_20022025_02_48_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a9c75873529a0511d7910ff268c4209.jpg","text":"TemporaryFile(/tmp/multipartBody9218831745102457469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055773225,"filename":"image_20022025_02_48_05_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594753","file1":"1338594751","file0":"1338594749","file4":"1338594757","file5":"1338594758","file3":"1338594755"},"map_files_photo_id_array":[{"photo_id":"1338594758","filename":"file5"},{"photo_id":"1338594753","filename":"file2"},{"photo_id":"1338594757","filename":"file4"},{"photo_id":"1338594751","filename":"file1"},{"photo_id":"1338594749","filename":"file0"},{"photo_id":"1338594755","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594757":["hashtag1","hashtag2"]},{"1338594751":["hashtag1","hashtag2"]},{"1338594753":["hashtag1","hashtag2"]},{"1338594758":["hashtag1","hashtag2"]},{"1338594755":["hashtag1","hashtag2"]},{"1338594749":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594757, 1338594751, 1338594753, 1338594758, 1338594755, 1338594749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.66643404960632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:49:35.365285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/49/image_20022025_02_49_24_9340.jpg', '/home/pi/Desktop/images/20022025/02/49/image_20022025_02_49_45_10372.jpg', '/home/pi/Desktop/images/20022025/02/49/image_20022025_02_49_54_9381.jpg', '/home/pi/Desktop/images/20022025/02/49/image_20022025_02_50_05_10333.jpg', '/home/pi/Desktop/images/20022025/02/50/image_20022025_02_50_14_9322.jpg', '/home/pi/Desktop/images/20022025/02/50/image_20022025_02_50_44_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/49/image_20022025_02_49_24_9340.jpg
/home/pi/Desktop/images/20022025/02/49/image_20022025_02_49_45_10372.jpg
/home/pi/Desktop/images/20022025/02/49/image_20022025_02_49_54_9381.jpg
/home/pi/Desktop/images/20022025/02/49/image_20022025_02_50_05_10333.jpg
/home/pi/Desktop/images/20022025/02/50/image_20022025_02_50_14_9322.jpg
/home/pi/Desktop/images/20022025/02/50/image_20022025_02_50_44_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594783","1338594792","1338594786","1338594788","1338594779","1338594790"],"photo_ids_order":["1338594779","1338594783","1338594786","1338594788","1338594790","1338594792"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1fea35e0e14e9afb52d08eddd023bc7a.jpg","text":"TemporaryFile(/tmp/multipartBody3741074191991364480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055839187,"filename":"image_20022025_02_49_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e0c3c4a880c3ececfda7742b1190f2b.jpg","text":"TemporaryFile(/tmp/multipartBody1918412325329248249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055839187,"filename":"image_20022025_02_50_44_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e379645d88b6c5d588a1d23d6fa39b9f.jpg","text":"TemporaryFile(/tmp/multipartBody1638795130205380191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055839187,"filename":"image_20022025_02_49_54_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8d4deba205dfeb59ed6c5181ef60ea8.jpg","text":"TemporaryFile(/tmp/multipartBody7451387120351285938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055839187,"filename":"image_20022025_02_50_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4eb33dd076b0f2db8719d54a03ab95b.jpg","text":"TemporaryFile(/tmp/multipartBody2563351655284892109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055839187,"filename":"image_20022025_02_49_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f98617e02cc0a10812f91ea9f2dd1910.jpg","text":"TemporaryFile(/tmp/multipartBody9025412519692780092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055839187,"filename":"image_20022025_02_50_14_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594786","file1":"1338594783","file0":"1338594779","file4":"1338594790","file5":"1338594792","file3":"1338594788"},"map_files_photo_id_array":[{"photo_id":"1338594792","filename":"file5"},{"photo_id":"1338594786","filename":"file2"},{"photo_id":"1338594790","filename":"file4"},{"photo_id":"1338594783","filename":"file1"},{"photo_id":"1338594779","filename":"file0"},{"photo_id":"1338594788","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594783":["hashtag1","hashtag2"]},{"1338594792":["hashtag1","hashtag2"]},{"1338594786":["hashtag1","hashtag2"]},{"1338594788":["hashtag1","hashtag2"]},{"1338594779":["hashtag1","hashtag2"]},{"1338594790":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594783, 1338594792, 1338594786, 1338594788, 1338594779, 1338594790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.35442042350769 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:50:33.223234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/50/image_20022025_02_50_55_10350.jpg', '/home/pi/Desktop/images/20022025/02/51/image_20022025_02_51_25_10340.jpg', '/home/pi/Desktop/images/20022025/02/51/image_20022025_02_51_34_9339.jpg', '/home/pi/Desktop/images/20022025/02/52/image_20022025_02_52_15_10436.jpg', '/home/pi/Desktop/images/20022025/02/52/image_20022025_02_52_45_10329.jpg', '/home/pi/Desktop/images/20022025/02/52/image_20022025_02_52_54_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/50/image_20022025_02_50_55_10350.jpg
/home/pi/Desktop/images/20022025/02/51/image_20022025_02_51_25_10340.jpg
/home/pi/Desktop/images/20022025/02/51/image_20022025_02_51_34_9339.jpg
/home/pi/Desktop/images/20022025/02/52/image_20022025_02_52_15_10436.jpg
/home/pi/Desktop/images/20022025/02/52/image_20022025_02_52_45_10329.jpg
/home/pi/Desktop/images/20022025/02/52/image_20022025_02_52_54_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594811","1338594808","1338594813","1338594806","1338594815","1338594809"],"photo_ids_order":["1338594806","1338594808","1338594809","1338594811","1338594813","1338594815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ad76a5260b265b9535ee0392fff9bef.jpg","text":"TemporaryFile(/tmp/multipartBody9048811178560875425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055893782,"filename":"image_20022025_02_52_15_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1b778dc4ae8b9ac10744d0529e7c58c2.jpg","text":"TemporaryFile(/tmp/multipartBody8574506528775325447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055893782,"filename":"image_20022025_02_51_25_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b316639afc7a9cc46df810da01d8686e.jpg","text":"TemporaryFile(/tmp/multipartBody9044136727368414240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055893782,"filename":"image_20022025_02_52_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/93278e43db3ebf8e71df9fb3f95eec4e.jpg","text":"TemporaryFile(/tmp/multipartBody3385355588563313595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055893782,"filename":"image_20022025_02_50_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/23a80820ec5bc330a35ef20745c7ae31.jpg","text":"TemporaryFile(/tmp/multipartBody6586723668763447930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055893782,"filename":"image_20022025_02_52_54_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e99353fd14e44452e7a46675fd6428e9.jpg","text":"TemporaryFile(/tmp/multipartBody4111610494593858887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055893782,"filename":"image_20022025_02_51_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594809","file1":"1338594808","file0":"1338594806","file4":"1338594813","file5":"1338594815","file3":"1338594811"},"map_files_photo_id_array":[{"photo_id":"1338594815","filename":"file5"},{"photo_id":"1338594809","filename":"file2"},{"photo_id":"1338594813","filename":"file4"},{"photo_id":"1338594808","filename":"file1"},{"photo_id":"1338594806","filename":"file0"},{"photo_id":"1338594811","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594811":["hashtag1","hashtag2"]},{"1338594808":["hashtag1","hashtag2"]},{"1338594813":["hashtag1","hashtag2"]},{"1338594806":["hashtag1","hashtag2"]},{"1338594815":["hashtag1","hashtag2"]},{"1338594809":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594811, 1338594808, 1338594813, 1338594806, 1338594815, 1338594809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.635419607162476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:51:32.445299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/52/image_20022025_02_53_04_10397.jpg', '/home/pi/Desktop/images/20022025/02/53/image_20022025_02_53_35_10437.jpg', '/home/pi/Desktop/images/20022025/02/53/image_20022025_02_53_45_10453.jpg', '/home/pi/Desktop/images/20022025/02/54/image_20022025_02_54_25_10339.jpg', '/home/pi/Desktop/images/20022025/02/54/image_20022025_02_54_45_9497.jpg', '/home/pi/Desktop/images/20022025/02/54/image_20022025_02_54_55_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/52/image_20022025_02_53_04_10397.jpg
/home/pi/Desktop/images/20022025/02/53/image_20022025_02_53_35_10437.jpg
/home/pi/Desktop/images/20022025/02/53/image_20022025_02_53_45_10453.jpg
/home/pi/Desktop/images/20022025/02/54/image_20022025_02_54_25_10339.jpg
/home/pi/Desktop/images/20022025/02/54/image_20022025_02_54_45_9497.jpg
/home/pi/Desktop/images/20022025/02/54/image_20022025_02_54_55_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594853","1338594856","1338594844","1338594855","1338594851","1338594848"],"photo_ids_order":["1338594844","1338594848","1338594851","1338594853","1338594855","1338594856"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ad949c4585b8d792fc77d522ff57b242.jpg","text":"TemporaryFile(/tmp/multipartBody5556423114498434046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055953006,"filename":"image_20022025_02_54_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e77cca5967f743ad61a6d1f6da2590f4.jpg","text":"TemporaryFile(/tmp/multipartBody330940803500082336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055953006,"filename":"image_20022025_02_54_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/11f889d5dab4ba5565a40d9b22fbea24.jpg","text":"TemporaryFile(/tmp/multipartBody7279244066030326626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055953006,"filename":"image_20022025_02_53_04_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f073747db1d34a2ab9e940f0f84a1cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5069234592480329829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055953006,"filename":"image_20022025_02_54_45_9497.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/27bd7eb4bc3b15492bfbe324614436be.jpg","text":"TemporaryFile(/tmp/multipartBody2610091268846863732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055953006,"filename":"image_20022025_02_53_45_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/496135590a27d1801644f78c8a57b05f.jpg","text":"TemporaryFile(/tmp/multipartBody3105996709077536574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740055953006,"filename":"image_20022025_02_53_35_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594851","file1":"1338594848","file0":"1338594844","file4":"1338594855","file5":"1338594856","file3":"1338594853"},"map_files_photo_id_array":[{"photo_id":"1338594856","filename":"file5"},{"photo_id":"1338594851","filename":"file2"},{"photo_id":"1338594855","filename":"file4"},{"photo_id":"1338594848","filename":"file1"},{"photo_id":"1338594844","filename":"file0"},{"photo_id":"1338594853","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594853":["hashtag1","hashtag2"]},{"1338594856":["hashtag1","hashtag2"]},{"1338594844":["hashtag1","hashtag2"]},{"1338594855":["hashtag1","hashtag2"]},{"1338594851":["hashtag1","hashtag2"]},{"1338594848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594853, 1338594856, 1338594844, 1338594855, 1338594851, 1338594848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72148036956787 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:52:32.471925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/54/image_20022025_02_55_04_9317.jpg', '/home/pi/Desktop/images/20022025/02/55/image_20022025_02_55_25_10338.jpg', '/home/pi/Desktop/images/20022025/02/55/image_20022025_02_55_45_10334.jpg', '/home/pi/Desktop/images/20022025/02/55/image_20022025_02_56_04_9325.jpg', '/home/pi/Desktop/images/20022025/02/56/image_20022025_02_56_34_9469.jpg', '/home/pi/Desktop/images/20022025/02/56/image_20022025_02_56_54_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/54/image_20022025_02_55_04_9317.jpg
/home/pi/Desktop/images/20022025/02/55/image_20022025_02_55_25_10338.jpg
/home/pi/Desktop/images/20022025/02/55/image_20022025_02_55_45_10334.jpg
/home/pi/Desktop/images/20022025/02/55/image_20022025_02_56_04_9325.jpg
/home/pi/Desktop/images/20022025/02/56/image_20022025_02_56_34_9469.jpg
/home/pi/Desktop/images/20022025/02/56/image_20022025_02_56_54_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594882","1338594876","1338594879","1338594870","1338594873","1338594881"],"photo_ids_order":["1338594870","1338594873","1338594876","1338594879","1338594881","1338594882"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d47ebb486265843b1927c578bed6198.jpg","text":"TemporaryFile(/tmp/multipartBody2910165598913014359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056013016,"filename":"image_20022025_02_56_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b13b9f5fd6e3056f1a9420283a878abf.jpg","text":"TemporaryFile(/tmp/multipartBody3165394649774699412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056013016,"filename":"image_20022025_02_55_45_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/62ec077a4560f529b315c8d31381fc33.jpg","text":"TemporaryFile(/tmp/multipartBody1501453947635817146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056013016,"filename":"image_20022025_02_56_04_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34a8446a2179fe41d18fa144a49ba78e.jpg","text":"TemporaryFile(/tmp/multipartBody1754799834046332212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056013016,"filename":"image_20022025_02_55_04_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40460525650275c69ee960716c6e98a3.jpg","text":"TemporaryFile(/tmp/multipartBody7643415498848213693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056013016,"filename":"image_20022025_02_55_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/027e954558ffa6047ebef58530f590e2.jpg","text":"TemporaryFile(/tmp/multipartBody4712269432651923409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056013016,"filename":"image_20022025_02_56_34_9469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594876","file1":"1338594873","file0":"1338594870","file4":"1338594881","file5":"1338594882","file3":"1338594879"},"map_files_photo_id_array":[{"photo_id":"1338594882","filename":"file5"},{"photo_id":"1338594876","filename":"file2"},{"photo_id":"1338594881","filename":"file4"},{"photo_id":"1338594873","filename":"file1"},{"photo_id":"1338594870","filename":"file0"},{"photo_id":"1338594879","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594882":["hashtag1","hashtag2"]},{"1338594876":["hashtag1","hashtag2"]},{"1338594879":["hashtag1","hashtag2"]},{"1338594870":["hashtag1","hashtag2"]},{"1338594873":["hashtag1","hashtag2"]},{"1338594881":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594882, 1338594876, 1338594879, 1338594870, 1338594873, 1338594881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65031623840332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:53:32.562117
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/56/image_20022025_02_57_05_10331.jpg', '/home/pi/Desktop/images/20022025/02/57/image_20022025_02_57_15_10344.jpg', '/home/pi/Desktop/images/20022025/02/57/image_20022025_02_57_24_9401.jpg', '/home/pi/Desktop/images/20022025/02/57/image_20022025_02_57_44_9435.jpg', '/home/pi/Desktop/images/20022025/02/58/image_20022025_02_58_45_10455.jpg', '/home/pi/Desktop/images/20022025/02/58/image_20022025_02_59_04_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/56/image_20022025_02_57_05_10331.jpg
/home/pi/Desktop/images/20022025/02/57/image_20022025_02_57_15_10344.jpg
/home/pi/Desktop/images/20022025/02/57/image_20022025_02_57_24_9401.jpg
/home/pi/Desktop/images/20022025/02/57/image_20022025_02_57_44_9435.jpg
/home/pi/Desktop/images/20022025/02/58/image_20022025_02_58_45_10455.jpg
/home/pi/Desktop/images/20022025/02/58/image_20022025_02_59_04_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594901","1338594904","1338594913","1338594909","1338594906","1338594902"],"photo_ids_order":["1338594901","1338594902","1338594904","1338594906","1338594909","1338594913"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bf176d55b5b230047797ec41763df481.jpg","text":"TemporaryFile(/tmp/multipartBody3275940498225317543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056073110,"filename":"image_20022025_02_57_05_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b95c2f13e72901a5e4b8bcaf09f04056.jpg","text":"TemporaryFile(/tmp/multipartBody44672101881173213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056073110,"filename":"image_20022025_02_57_24_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8263fe56bf3ba41b29be3a1678c1bd6b.jpg","text":"TemporaryFile(/tmp/multipartBody5428389284256964488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056073110,"filename":"image_20022025_02_59_04_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e5cee6423002b411cc580c7fd20a9535.jpg","text":"TemporaryFile(/tmp/multipartBody6059548337040128849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056073110,"filename":"image_20022025_02_58_45_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/97670c73ed5834d8693e043f40724fa4.jpg","text":"TemporaryFile(/tmp/multipartBody4723489007657171355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056073110,"filename":"image_20022025_02_57_44_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bef7d2a784beae5c7c949d7588d67d9f.jpg","text":"TemporaryFile(/tmp/multipartBody4803541053419202560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056073110,"filename":"image_20022025_02_57_15_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594904","file1":"1338594902","file0":"1338594901","file4":"1338594909","file5":"1338594913","file3":"1338594906"},"map_files_photo_id_array":[{"photo_id":"1338594913","filename":"file5"},{"photo_id":"1338594904","filename":"file2"},{"photo_id":"1338594909","filename":"file4"},{"photo_id":"1338594902","filename":"file1"},{"photo_id":"1338594901","filename":"file0"},{"photo_id":"1338594906","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594901":["hashtag1","hashtag2"]},{"1338594904":["hashtag1","hashtag2"]},{"1338594913":["hashtag1","hashtag2"]},{"1338594909":["hashtag1","hashtag2"]},{"1338594906":["hashtag1","hashtag2"]},{"1338594902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594901, 1338594904, 1338594913, 1338594909, 1338594906, 1338594902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83375406265259 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:54:32.724608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/02/59/image_20022025_02_59_15_10428.jpg', '/home/pi/Desktop/images/20022025/02/59/image_20022025_02_59_34_9383.jpg', '/home/pi/Desktop/images/20022025/02/59/image_20022025_02_59_54_9338.jpg', '/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_15_10082.jpg', '/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_26_10364.jpg', '/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_36_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/02/59/image_20022025_02_59_15_10428.jpg
/home/pi/Desktop/images/20022025/02/59/image_20022025_02_59_34_9383.jpg
/home/pi/Desktop/images/20022025/02/59/image_20022025_02_59_54_9338.jpg
/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_15_10082.jpg
/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_26_10364.jpg
/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_36_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594945","1338594939","1338594948","1338594942","1338594947","1338594932"],"photo_ids_order":["1338594932","1338594939","1338594942","1338594945","1338594947","1338594948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57379fb7b6131783dd30c15aa075229f.jpg","text":"TemporaryFile(/tmp/multipartBody7512329424964744111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056133292,"filename":"image_20022025_03_00_15_10082.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/38e1feb5b84dc9b99a406800528eee34.jpg","text":"TemporaryFile(/tmp/multipartBody8884798915135212630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056133292,"filename":"image_20022025_02_59_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7390ec06e8be4306c777046a82ac24fd.jpg","text":"TemporaryFile(/tmp/multipartBody6002509516219731851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056133292,"filename":"image_20022025_03_00_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/306cb2b3ec56da22b5d00bb3222e32e9.jpg","text":"TemporaryFile(/tmp/multipartBody2468370497820129850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056133292,"filename":"image_20022025_02_59_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/170f09859cf59702b7c72cf4b82e3ed7.jpg","text":"TemporaryFile(/tmp/multipartBody5701706467858705464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056133292,"filename":"image_20022025_03_00_26_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3e505c13a6e8b64ca2d928d196771222.jpg","text":"TemporaryFile(/tmp/multipartBody135557680509569701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056133292,"filename":"image_20022025_02_59_15_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594942","file1":"1338594939","file0":"1338594932","file4":"1338594947","file5":"1338594948","file3":"1338594945"},"map_files_photo_id_array":[{"photo_id":"1338594948","filename":"file5"},{"photo_id":"1338594942","filename":"file2"},{"photo_id":"1338594947","filename":"file4"},{"photo_id":"1338594939","filename":"file1"},{"photo_id":"1338594932","filename":"file0"},{"photo_id":"1338594945","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594945":["hashtag1","hashtag2"]},{"1338594939":["hashtag1","hashtag2"]},{"1338594948":["hashtag1","hashtag2"]},{"1338594942":["hashtag1","hashtag2"]},{"1338594947":["hashtag1","hashtag2"]},{"1338594932":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594945, 1338594939, 1338594948, 1338594942, 1338594947, 1338594932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.35158109664917 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:55:32.896956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_45_9362.jpg', '/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_56_10428.jpg', '/home/pi/Desktop/images/20022025/03/00/image_20022025_03_01_06_10328.jpg', '/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_15_9392.jpg', '/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_26_10355.jpg', '/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_36_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_45_9362.jpg
/home/pi/Desktop/images/20022025/03/00/image_20022025_03_00_56_10428.jpg
/home/pi/Desktop/images/20022025/03/00/image_20022025_03_01_06_10328.jpg
/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_15_9392.jpg
/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_26_10355.jpg
/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_36_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338594973","1338594966","1338594969","1338594980","1338594962","1338594964"],"photo_ids_order":["1338594962","1338594964","1338594966","1338594969","1338594973","1338594980"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e775c8a55fb359436b08d5a4a7196f3.jpg","text":"TemporaryFile(/tmp/multipartBody1980191605759211950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056193441,"filename":"image_20022025_03_01_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/07c766ecd4f7dbcc1c3dbecc5292e2f5.jpg","text":"TemporaryFile(/tmp/multipartBody3497487661129475144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056193441,"filename":"image_20022025_03_01_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0cc535b1aa04d94b0d4124576af8118b.jpg","text":"TemporaryFile(/tmp/multipartBody3135034857723238222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056193441,"filename":"image_20022025_03_01_15_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8fe720516f1b6540a744df5f68b832f9.jpg","text":"TemporaryFile(/tmp/multipartBody2604211467629017840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056193441,"filename":"image_20022025_03_01_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/620951a1bdb17a2e5acc3c2c51846d0e.jpg","text":"TemporaryFile(/tmp/multipartBody5455987126774045001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056193441,"filename":"image_20022025_03_00_45_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f2f5a74d77709695e8b872053ecb84bd.jpg","text":"TemporaryFile(/tmp/multipartBody4517963884281500131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056193441,"filename":"image_20022025_03_00_56_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338594966","file1":"1338594964","file0":"1338594962","file4":"1338594973","file5":"1338594980","file3":"1338594969"},"map_files_photo_id_array":[{"photo_id":"1338594980","filename":"file5"},{"photo_id":"1338594966","filename":"file2"},{"photo_id":"1338594973","filename":"file4"},{"photo_id":"1338594964","filename":"file1"},{"photo_id":"1338594962","filename":"file0"},{"photo_id":"1338594969","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338594973":["hashtag1","hashtag2"]},{"1338594966":["hashtag1","hashtag2"]},{"1338594969":["hashtag1","hashtag2"]},{"1338594980":["hashtag1","hashtag2"]},{"1338594962":["hashtag1","hashtag2"]},{"1338594964":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338594973, 1338594966, 1338594969, 1338594980, 1338594962, 1338594964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3725745677948 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:56:33.063161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_46_9343.jpg', '/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_56_10346.jpg', '/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_26_10352.jpg', '/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_35_9341.jpg', '/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_46_10425.jpg', '/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_25_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_46_9343.jpg
/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_56_10346.jpg
/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_26_10352.jpg
/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_35_9341.jpg
/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_46_10425.jpg
/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_25_9461.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4631006717681885 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 13:56:43.126077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_46_9343.jpg', '/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_56_10346.jpg', '/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_26_10352.jpg', '/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_35_9341.jpg', '/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_46_10425.jpg', '/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_25_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_46_9343.jpg
/home/pi/Desktop/images/20022025/03/01/image_20022025_03_01_56_10346.jpg
/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_26_10352.jpg
/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_35_9341.jpg
/home/pi/Desktop/images/20022025/03/02/image_20022025_03_02_46_10425.jpg
/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_25_9461.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":["1338595003","1338595011","1338594999","1338595014","1338595007","1338595016"],"photo_ids_order":["1338594999","1338595003","1338595007","1338595011","1338595014","1338595016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8fb76a9657d3d44e0b343c46bd526509.jpg","text":"TemporaryFile(/tmp/multipartBody8117063324821160735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056263585,"filename":"image_20022025_03_01_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2782846c72ba6c58b52300f0921717b.jpg","text":"TemporaryFile(/tmp/multipartBody3280280252855049714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056263585,"filename":"image_20022025_03_02_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04f7d1125280ea87305c7e868b35c05a.jpg","text":"TemporaryFile(/tmp/multipartBody5748182685983003678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056263585,"filename":"image_20022025_03_01_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/47b6b314cb91acc27614659e7395e935.jpg","text":"TemporaryFile(/tmp/multipartBody8793616315937985118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056263585,"filename":"image_20022025_03_02_46_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f1e470d0c11eed3a0842bcc5ae2fb2e.jpg","text":"TemporaryFile(/tmp/multipartBody7418358608608862409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056263585,"filename":"image_20022025_03_02_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29cae98220afe18d5493560dae69c070.jpg","text":"TemporaryFile(/tmp/multipartBody1172531751674969159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056263585,"filename":"image_20022025_03_03_25_9461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338595007","file1":"1338595003","file0":"1338594999","file4":"1338595014","file5":"1338595016","file3":"1338595011"},"map_files_photo_id_array":[{"photo_id":"1338595016","filename":"file5"},{"photo_id":"1338595007","filename":"file2"},{"photo_id":"1338595014","filename":"file4"},{"photo_id":"1338595003","filename":"file1"},{"photo_id":"1338594999","filename":"file0"},{"photo_id":"1338595011","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338595003":["hashtag1","hashtag2"]},{"1338595011":["hashtag1","hashtag2"]},{"1338594999":["hashtag1","hashtag2"]},{"1338595014":["hashtag1","hashtag2"]},{"1338595007":["hashtag1","hashtag2"]},{"1338595016":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338595003, 1338595011, 1338594999, 1338595014, 1338595007, 1338595016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93339991569519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 13:57:32.337037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_36_10373.jpg', '/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_46_10340.jpg', '/home/pi/Desktop/images/20022025/03/03/image_20022025_03_04_06_10328.jpg', '/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_16_10346.jpg', '/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_36_10403.jpg', '/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_46_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_36_10373.jpg
/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_46_10340.jpg
/home/pi/Desktop/images/20022025/03/03/image_20022025_03_04_06_10328.jpg
/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_16_10346.jpg
/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_36_10403.jpg
/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_46_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 13:59:04.240714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_36_10373.jpg', '/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_46_10340.jpg', '/home/pi/Desktop/images/20022025/03/03/image_20022025_03_04_06_10328.jpg', '/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_16_10346.jpg', '/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_36_10403.jpg', '/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_46_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_36_10373.jpg
/home/pi/Desktop/images/20022025/03/03/image_20022025_03_03_46_10340.jpg
/home/pi/Desktop/images/20022025/03/03/image_20022025_03_04_06_10328.jpg
/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_16_10346.jpg
/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_36_10403.jpg
/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_46_10336.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338595548","1338595539","1338595544","1338595514","1338595576","1338595534"],"photo_ids_order":["1338595514","1338595534","1338595539","1338595544","1338595548","1338595576"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5db5233348c1291258fc8c3aab443169.jpg","text":"TemporaryFile(/tmp/multipartBody1973901293915435714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056404910,"filename":"image_20022025_03_04_36_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08635f7b930392e1ed3aa9f3ae123f79.jpg","text":"TemporaryFile(/tmp/multipartBody3752831735056019196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056404910,"filename":"image_20022025_03_04_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca825c55c2ad01a0577b1dd900d661eb.jpg","text":"TemporaryFile(/tmp/multipartBody6141412846515243791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056404910,"filename":"image_20022025_03_04_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6336ff3c5b160f4e906019ed3564452.jpg","text":"TemporaryFile(/tmp/multipartBody6216880413662304653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056404910,"filename":"image_20022025_03_03_36_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f4aac4e145776366f786f089fb25db3.jpg","text":"TemporaryFile(/tmp/multipartBody9101968770603559433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056404910,"filename":"image_20022025_03_04_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66469f677c1fb7c07c8c0ecc734d306c.jpg","text":"TemporaryFile(/tmp/multipartBody3196304157975860208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056404910,"filename":"image_20022025_03_03_46_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338595539","file1":"1338595534","file0":"1338595514","file4":"1338595548","file5":"1338595576","file3":"1338595544"},"map_files_photo_id_array":[{"photo_id":"1338595576","filename":"file5"},{"photo_id":"1338595539","filename":"file2"},{"photo_id":"1338595548","filename":"file4"},{"photo_id":"1338595534","filename":"file1"},{"photo_id":"1338595514","filename":"file0"},{"photo_id":"1338595544","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338595548":["hashtag1","hashtag2"]},{"1338595539":["hashtag1","hashtag2"]},{"1338595544":["hashtag1","hashtag2"]},{"1338595514":["hashtag1","hashtag2"]},{"1338595576":["hashtag1","hashtag2"]},{"1338595534":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338595548, 1338595539, 1338595544, 1338595514, 1338595576, 1338595534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.094521045684814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 13:59:42.808003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_55_9365.jpg', '/home/pi/Desktop/images/20022025/03/05/image_20022025_03_05_16_10381.jpg', '/home/pi/Desktop/images/20022025/03/05/image_20022025_03_05_36_10354.jpg', '/home/pi/Desktop/images/20022025/03/05/image_20022025_03_05_45_9335.jpg', '/home/pi/Desktop/images/20022025/03/05/image_20022025_03_06_06_10319.jpg', '/home/pi/Desktop/images/20022025/03/06/image_20022025_03_06_15_9424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/04/image_20022025_03_04_55_9365.jpg
/home/pi/Desktop/images/20022025/03/05/image_20022025_03_05_16_10381.jpg
/home/pi/Desktop/images/20022025/03/05/image_20022025_03_05_36_10354.jpg
/home/pi/Desktop/images/20022025/03/05/image_20022025_03_05_45_9335.jpg
/home/pi/Desktop/images/20022025/03/05/image_20022025_03_06_06_10319.jpg
/home/pi/Desktop/images/20022025/03/06/image_20022025_03_06_15_9424.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":["1338595662","1338595665","1338595667","1338595664","1338595660","1338595657"],"photo_ids_order":["1338595657","1338595660","1338595662","1338595664","1338595665","1338595667"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/47913299e6bb6cb55f92863942412714.jpg","text":"TemporaryFile(/tmp/multipartBody8071132233759752867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056443381,"filename":"image_20022025_03_05_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa8f8933433467551b7ee9e86724a584.jpg","text":"TemporaryFile(/tmp/multipartBody7368036930430882878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056443381,"filename":"image_20022025_03_06_06_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59dc4542d66758a034665386da0e24b6.jpg","text":"TemporaryFile(/tmp/multipartBody1770773245802828004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056443381,"filename":"image_20022025_03_06_15_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bfd33b7e99cc7348c8a0f1949d63ddd.jpg","text":"TemporaryFile(/tmp/multipartBody5977889487958115496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056443381,"filename":"image_20022025_03_05_45_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1eae5d374f0ac25a6490a3ffe3411e0c.jpg","text":"TemporaryFile(/tmp/multipartBody569000406695504881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056443381,"filename":"image_20022025_03_05_16_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c6aca444c94978a5d26af9fea3da75c.jpg","text":"TemporaryFile(/tmp/multipartBody2074021853599316760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056443381,"filename":"image_20022025_03_04_55_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338595662","file1":"1338595660","file0":"1338595657","file4":"1338595665","file5":"1338595667","file3":"1338595664"},"map_files_photo_id_array":[{"photo_id":"1338595667","filename":"file5"},{"photo_id":"1338595662","filename":"file2"},{"photo_id":"1338595665","filename":"file4"},{"photo_id":"1338595660","filename":"file1"},{"photo_id":"1338595657","filename":"file0"},{"photo_id":"1338595664","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338595662":["hashtag1","hashtag2"]},{"1338595665":["hashtag1","hashtag2"]},{"1338595667":["hashtag1","hashtag2"]},{"1338595664":["hashtag1","hashtag2"]},{"1338595660":["hashtag1","hashtag2"]},{"1338595657":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338595662, 1338595665, 1338595667, 1338595664, 1338595660, 1338595657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23540949821472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:00:33.062408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/06/image_20022025_03_06_45_9331.jpg', '/home/pi/Desktop/images/20022025/03/06/image_20022025_03_06_56_10424.jpg', '/home/pi/Desktop/images/20022025/03/06/image_20022025_03_07_06_10363.jpg', '/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_16_9537.jpg', '/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_26_10334.jpg', '/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_35_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/06/image_20022025_03_06_45_9331.jpg
/home/pi/Desktop/images/20022025/03/06/image_20022025_03_06_56_10424.jpg
/home/pi/Desktop/images/20022025/03/06/image_20022025_03_07_06_10363.jpg
/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_16_9537.jpg
/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_26_10334.jpg
/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_35_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338595702","1338595689","1338595692","1338595704","1338595696","1338595700"],"photo_ids_order":["1338595689","1338595692","1338595696","1338595700","1338595702","1338595704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a51e910a1121450be03c02dda531f30f.jpg","text":"TemporaryFile(/tmp/multipartBody8782610555829816052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056493610,"filename":"image_20022025_03_07_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00b36349000553d637ab465811316bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5590735483905628506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056493610,"filename":"image_20022025_03_06_45_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/897ef6ce65321448cc702473c98ef485.jpg","text":"TemporaryFile(/tmp/multipartBody2153576008588086940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056493610,"filename":"image_20022025_03_06_56_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d05f87b84e24135bed8a9b079a4a66a3.jpg","text":"TemporaryFile(/tmp/multipartBody274240917888838002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056493610,"filename":"image_20022025_03_07_35_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90d213270e2c30838bad625d09a250ee.jpg","text":"TemporaryFile(/tmp/multipartBody5773031597304459135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056493610,"filename":"image_20022025_03_07_06_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9c233fcb15687f2483a73412ed02beb.jpg","text":"TemporaryFile(/tmp/multipartBody1337874454983000775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056493610,"filename":"image_20022025_03_07_16_9537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338595696","file1":"1338595692","file0":"1338595689","file4":"1338595702","file5":"1338595704","file3":"1338595700"},"map_files_photo_id_array":[{"photo_id":"1338595704","filename":"file5"},{"photo_id":"1338595696","filename":"file2"},{"photo_id":"1338595702","filename":"file4"},{"photo_id":"1338595692","filename":"file1"},{"photo_id":"1338595689","filename":"file0"},{"photo_id":"1338595700","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338595702":["hashtag1","hashtag2"]},{"1338595689":["hashtag1","hashtag2"]},{"1338595692":["hashtag1","hashtag2"]},{"1338595704":["hashtag1","hashtag2"]},{"1338595696":["hashtag1","hashtag2"]},{"1338595700":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338595702, 1338595689, 1338595692, 1338595704, 1338595696, 1338595700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33213806152344 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:01:33.081685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_46_10422.jpg', '/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_56_10351.jpg', '/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_16_10348.jpg', '/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_25_9322.jpg', '/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_36_10416.jpg', '/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_46_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_46_10422.jpg
/home/pi/Desktop/images/20022025/03/07/image_20022025_03_07_56_10351.jpg
/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_16_10348.jpg
/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_25_9322.jpg
/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_36_10416.jpg
/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_46_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338595723","1338595725","1338595769","1338595894","1338595828","1338595720"],"photo_ids_order":["1338595720","1338595723","1338595725","1338595769","1338595828","1338595894"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2a9fe7424ff58c617a5c03b808e63bf.jpg","text":"TemporaryFile(/tmp/multipartBody6403931066938107283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056553651,"filename":"image_20022025_03_07_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be389d0a1e6ea1cf1a12803e7dd3651a.jpg","text":"TemporaryFile(/tmp/multipartBody482171399481508689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056553651,"filename":"image_20022025_03_08_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/032b209d18ec60eb6f1e81a0300ce5ef.jpg","text":"TemporaryFile(/tmp/multipartBody4262828087927507886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056553651,"filename":"image_20022025_03_08_25_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be761d0304b706a7b6219f352396bed3.jpg","text":"TemporaryFile(/tmp/multipartBody2657597316838439943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056553651,"filename":"image_20022025_03_08_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aac3a355b40d1e4584a50f407f24a78b.jpg","text":"TemporaryFile(/tmp/multipartBody4079646283962690712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056553651,"filename":"image_20022025_03_08_36_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/688c85b47182b57232c96478d828cf4b.jpg","text":"TemporaryFile(/tmp/multipartBody7759414914622177962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056553651,"filename":"image_20022025_03_07_46_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338595725","file1":"1338595723","file0":"1338595720","file4":"1338595828","file5":"1338595894","file3":"1338595769"},"map_files_photo_id_array":[{"photo_id":"1338595894","filename":"file5"},{"photo_id":"1338595725","filename":"file2"},{"photo_id":"1338595828","filename":"file4"},{"photo_id":"1338595723","filename":"file1"},{"photo_id":"1338595720","filename":"file0"},{"photo_id":"1338595769","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338595723":["hashtag1","hashtag2"]},{"1338595725":["hashtag1","hashtag2"]},{"1338595769":["hashtag1","hashtag2"]},{"1338595894":["hashtag1","hashtag2"]},{"1338595828":["hashtag1","hashtag2"]},{"1338595720":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338595723, 1338595725, 1338595769, 1338595894, 1338595828, 1338595720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.590516805648804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:02:32.386644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_55_9339.jpg', '/home/pi/Desktop/images/20022025/03/08/image_20022025_03_09_06_10345.jpg', '/home/pi/Desktop/images/20022025/03/09/image_20022025_03_09_16_10350.jpg', '/home/pi/Desktop/images/20022025/03/09/image_20022025_03_09_25_9443.jpg', '/home/pi/Desktop/images/20022025/03/09/image_20022025_03_09_36_10333.jpg', '/home/pi/Desktop/images/20022025/03/09/image_20022025_03_09_45_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/08/image_20022025_03_08_55_9339.jpg
/home/pi/Desktop/images/20022025/03/08/image_20022025_03_09_06_10345.jpg
/home/pi/Desktop/images/20022025/03/09/image_20022025_03_09_16_10350.jpg
/home/pi/Desktop/images/20022025/03/09/image_20022025_03_09_25_9443.jpg
/home/pi/Desktop/images/20022025/03/09/image_20022025_03_09_36_10333.jpg
/home/pi/Desktop/images/20022025/03/09/image_20022025_03_09_45_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338596361","1338596363","1338596353","1338596356","1338596359","1338596350"],"photo_ids_order":["1338596350","1338596353","1338596356","1338596359","1338596361","1338596363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc087e292a6d6be1c470798ce9eccd63.jpg","text":"TemporaryFile(/tmp/multipartBody1822651916089254889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056612971,"filename":"image_20022025_03_09_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5f71578e74498b7d41801ffba6d11d2f.jpg","text":"TemporaryFile(/tmp/multipartBody5032325451588355542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056612971,"filename":"image_20022025_03_09_45_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/826a53029bb297df4ea7bed6e5e8aa83.jpg","text":"TemporaryFile(/tmp/multipartBody5881698914497086995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056612971,"filename":"image_20022025_03_09_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/374de7c4c9b66ea379f21f14eb525ad6.jpg","text":"TemporaryFile(/tmp/multipartBody8950794818848328265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056612971,"filename":"image_20022025_03_09_16_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0f2d2b080a4c90706b64168cdced05c.jpg","text":"TemporaryFile(/tmp/multipartBody8450272214656387423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056612971,"filename":"image_20022025_03_09_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/708b7e18823b2eaf684b19e51683c84d.jpg","text":"TemporaryFile(/tmp/multipartBody355729951453982568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056612971,"filename":"image_20022025_03_08_55_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338596356","file1":"1338596353","file0":"1338596350","file4":"1338596361","file5":"1338596363","file3":"1338596359"},"map_files_photo_id_array":[{"photo_id":"1338596363","filename":"file5"},{"photo_id":"1338596356","filename":"file2"},{"photo_id":"1338596361","filename":"file4"},{"photo_id":"1338596353","filename":"file1"},{"photo_id":"1338596350","filename":"file0"},{"photo_id":"1338596359","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338596361":["hashtag1","hashtag2"]},{"1338596363":["hashtag1","hashtag2"]},{"1338596353":["hashtag1","hashtag2"]},{"1338596356":["hashtag1","hashtag2"]},{"1338596359":["hashtag1","hashtag2"]},{"1338596350":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338596361, 1338596363, 1338596353, 1338596356, 1338596359, 1338596350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.81594228744507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:03:32.402680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/09/image_20022025_03_10_06_10351.jpg', '/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_15_9444.jpg', '/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_26_10389.jpg', '/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_36_10331.jpg', '/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_46_9340.jpg', '/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_56_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/09/image_20022025_03_10_06_10351.jpg
/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_15_9444.jpg
/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_26_10389.jpg
/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_36_10331.jpg
/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_46_9340.jpg
/home/pi/Desktop/images/20022025/03/10/image_20022025_03_10_56_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338597000","1338596988","1338596990","1338596998","1338596992","1338596995"],"photo_ids_order":["1338596988","1338596990","1338596992","1338596995","1338596998","1338597000"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b8b3b31341e45241075771af9bda9d9.jpg","text":"TemporaryFile(/tmp/multipartBody8927710202872887754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056672947,"filename":"image_20022025_03_10_56_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75bb723a8f33a0cd6ff6a58a570be442.jpg","text":"TemporaryFile(/tmp/multipartBody8993778372125246475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056672947,"filename":"image_20022025_03_10_06_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d46aa5577874492489317b5a782dc40d.jpg","text":"TemporaryFile(/tmp/multipartBody7529961222220782973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056672947,"filename":"image_20022025_03_10_15_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/180028a0d960c4fa330b193b0955b6a8.jpg","text":"TemporaryFile(/tmp/multipartBody1482714906277746129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056672947,"filename":"image_20022025_03_10_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/718d53e23b50df847f643b8a245dfa7e.jpg","text":"TemporaryFile(/tmp/multipartBody5055357773878510936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056672947,"filename":"image_20022025_03_10_26_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dde6071a6657b2a393d79ae82ea6a594.jpg","text":"TemporaryFile(/tmp/multipartBody5067908132623557620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056672947,"filename":"image_20022025_03_10_36_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338596992","file1":"1338596990","file0":"1338596988","file4":"1338596998","file5":"1338597000","file3":"1338596995"},"map_files_photo_id_array":[{"photo_id":"1338597000","filename":"file5"},{"photo_id":"1338596992","filename":"file2"},{"photo_id":"1338596998","filename":"file4"},{"photo_id":"1338596990","filename":"file1"},{"photo_id":"1338596988","filename":"file0"},{"photo_id":"1338596995","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338597000":["hashtag1","hashtag2"]},{"1338596988":["hashtag1","hashtag2"]},{"1338596990":["hashtag1","hashtag2"]},{"1338596998":["hashtag1","hashtag2"]},{"1338596992":["hashtag1","hashtag2"]},{"1338596995":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338597000, 1338596988, 1338596990, 1338596998, 1338596992, 1338596995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.709474802017212 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:04:32.517360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_16_9338.jpg', '/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_26_10496.jpg', '/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_35_9384.jpg', '/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_46_10360.jpg', '/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_56_10340.jpg', '/home/pi/Desktop/images/20022025/03/12/image_20022025_03_12_16_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_16_9338.jpg
/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_26_10496.jpg
/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_35_9384.jpg
/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_46_10360.jpg
/home/pi/Desktop/images/20022025/03/11/image_20022025_03_11_56_10340.jpg
/home/pi/Desktop/images/20022025/03/12/image_20022025_03_12_16_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338597305","1338597292","1338597226","1338597435","1338597336","1338597267"],"photo_ids_order":["1338597226","1338597267","1338597292","1338597305","1338597336","1338597435"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a4b11569e65c4255ed8e22f91e6c1b5.jpg","text":"TemporaryFile(/tmp/multipartBody534462325534834392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056733089,"filename":"image_20022025_03_11_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7388462c1cbcc78f1498fa041aa9e34.jpg","text":"TemporaryFile(/tmp/multipartBody7675718015588736494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056733089,"filename":"image_20022025_03_11_35_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/992c96a725a6b1e84d872cc953feba62.jpg","text":"TemporaryFile(/tmp/multipartBody4452735311713283601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056733089,"filename":"image_20022025_03_11_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/414f96a4a544f07926f8517c6e784198.jpg","text":"TemporaryFile(/tmp/multipartBody7985710718490777112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056733089,"filename":"image_20022025_03_12_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9fd25d2fa529ad0e3c3306ce32c6dcfd.jpg","text":"TemporaryFile(/tmp/multipartBody1839136537489435154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056733089,"filename":"image_20022025_03_11_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/904377103bacc9cdcff647e40428d26c.jpg","text":"TemporaryFile(/tmp/multipartBody4896121629369415176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056733089,"filename":"image_20022025_03_11_26_10496.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338597292","file1":"1338597267","file0":"1338597226","file4":"1338597336","file5":"1338597435","file3":"1338597305"},"map_files_photo_id_array":[{"photo_id":"1338597435","filename":"file5"},{"photo_id":"1338597292","filename":"file2"},{"photo_id":"1338597336","filename":"file4"},{"photo_id":"1338597267","filename":"file1"},{"photo_id":"1338597226","filename":"file0"},{"photo_id":"1338597305","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338597305":["hashtag1","hashtag2"]},{"1338597292":["hashtag1","hashtag2"]},{"1338597226":["hashtag1","hashtag2"]},{"1338597435":["hashtag1","hashtag2"]},{"1338597336":["hashtag1","hashtag2"]},{"1338597267":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338597305, 1338597292, 1338597226, 1338597435, 1338597336, 1338597267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81661915779114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:05:32.694094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/12/image_20022025_03_12_36_10382.jpg', '/home/pi/Desktop/images/20022025/03/12/image_20022025_03_12_55_9351.jpg', '/home/pi/Desktop/images/20022025/03/12/image_20022025_03_13_06_10435.jpg', '/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_16_10360.jpg', '/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_25_9383.jpg', '/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_36_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/12/image_20022025_03_12_36_10382.jpg
/home/pi/Desktop/images/20022025/03/12/image_20022025_03_12_55_9351.jpg
/home/pi/Desktop/images/20022025/03/12/image_20022025_03_13_06_10435.jpg
/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_16_10360.jpg
/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_25_9383.jpg
/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_36_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338598028","1338598027","1338598023","1338598110","1338598032","1338598035"],"photo_ids_order":["1338598023","1338598027","1338598028","1338598032","1338598035","1338598110"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3fd538e60947774a9e643576c9fc603a.jpg","text":"TemporaryFile(/tmp/multipartBody8028655609478840486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056793245,"filename":"image_20022025_03_13_06_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b809be83ef52e828e61003ee226caa8b.jpg","text":"TemporaryFile(/tmp/multipartBody1972063859025258936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056793245,"filename":"image_20022025_03_12_55_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ee4ee1bd10430c7e107966b5cfb7abc.jpg","text":"TemporaryFile(/tmp/multipartBody6777585713572176838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056793245,"filename":"image_20022025_03_12_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f966cc8e3ee61bd2865c32aa9f3e8bac.jpg","text":"TemporaryFile(/tmp/multipartBody2664052970976639767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056793245,"filename":"image_20022025_03_13_36_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c74a430f4ab7cada33ff8197f1231bf0.jpg","text":"TemporaryFile(/tmp/multipartBody1553806198596876817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056793245,"filename":"image_20022025_03_13_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13ba60a86b13c70e221a9ff1f1c96a15.jpg","text":"TemporaryFile(/tmp/multipartBody7346906348051045454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056793245,"filename":"image_20022025_03_13_25_9383.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598028","file1":"1338598027","file0":"1338598023","file4":"1338598035","file5":"1338598110","file3":"1338598032"},"map_files_photo_id_array":[{"photo_id":"1338598110","filename":"file5"},{"photo_id":"1338598028","filename":"file2"},{"photo_id":"1338598035","filename":"file4"},{"photo_id":"1338598027","filename":"file1"},{"photo_id":"1338598023","filename":"file0"},{"photo_id":"1338598032","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598028":["hashtag1","hashtag2"]},{"1338598027":["hashtag1","hashtag2"]},{"1338598023":["hashtag1","hashtag2"]},{"1338598110":["hashtag1","hashtag2"]},{"1338598032":["hashtag1","hashtag2"]},{"1338598035":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598028, 1338598027, 1338598023, 1338598110, 1338598032, 1338598035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.70401906967163 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:06:32.956371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_46_10345.jpg', '/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_55_9324.jpg', '/home/pi/Desktop/images/20022025/03/14/image_20022025_03_14_15_9326.jpg', '/home/pi/Desktop/images/20022025/03/14/image_20022025_03_14_26_10359.jpg', '/home/pi/Desktop/images/20022025/03/14/image_20022025_03_14_45_9352.jpg', '/home/pi/Desktop/images/20022025/03/14/image_20022025_03_14_56_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_46_10345.jpg
/home/pi/Desktop/images/20022025/03/13/image_20022025_03_13_55_9324.jpg
/home/pi/Desktop/images/20022025/03/14/image_20022025_03_14_15_9326.jpg
/home/pi/Desktop/images/20022025/03/14/image_20022025_03_14_26_10359.jpg
/home/pi/Desktop/images/20022025/03/14/image_20022025_03_14_45_9352.jpg
/home/pi/Desktop/images/20022025/03/14/image_20022025_03_14_56_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338598328","1338598313","1338598316","1338598319","1338598323","1338598326"],"photo_ids_order":["1338598313","1338598316","1338598319","1338598323","1338598326","1338598328"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a1ad91edd86155f9da60b9eb5393801c.jpg","text":"TemporaryFile(/tmp/multipartBody8380970137331511565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056853520,"filename":"image_20022025_03_14_56_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bcfafe2cfc1f735afb7490e4674b1120.jpg","text":"TemporaryFile(/tmp/multipartBody7854855982624687462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056853520,"filename":"image_20022025_03_13_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be99d92d893a66c8fa925959c277c4e3.jpg","text":"TemporaryFile(/tmp/multipartBody5276563844624140577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056853520,"filename":"image_20022025_03_13_55_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c3cf4fb4df1837abb733266a432b75f.jpg","text":"TemporaryFile(/tmp/multipartBody5183851899513528945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056853520,"filename":"image_20022025_03_14_15_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/054c937fb36e70378aa4a41514637eae.jpg","text":"TemporaryFile(/tmp/multipartBody3507432814654435728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056853520,"filename":"image_20022025_03_14_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1c528c2b04db1de2007d981a3560397d.jpg","text":"TemporaryFile(/tmp/multipartBody2409423326395179409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056853520,"filename":"image_20022025_03_14_45_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598319","file1":"1338598316","file0":"1338598313","file4":"1338598326","file5":"1338598328","file3":"1338598323"},"map_files_photo_id_array":[{"photo_id":"1338598328","filename":"file5"},{"photo_id":"1338598319","filename":"file2"},{"photo_id":"1338598326","filename":"file4"},{"photo_id":"1338598316","filename":"file1"},{"photo_id":"1338598313","filename":"file0"},{"photo_id":"1338598323","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598328":["hashtag1","hashtag2"]},{"1338598313":["hashtag1","hashtag2"]},{"1338598316":["hashtag1","hashtag2"]},{"1338598319":["hashtag1","hashtag2"]},{"1338598323":["hashtag1","hashtag2"]},{"1338598326":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598328, 1338598313, 1338598316, 1338598319, 1338598323, 1338598326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.791648149490356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:07:33.142766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/14/image_20022025_03_15_06_10329.jpg', '/home/pi/Desktop/images/20022025/03/15/image_20022025_03_15_15_9481.jpg', '/home/pi/Desktop/images/20022025/03/15/image_20022025_03_15_26_10435.jpg', '/home/pi/Desktop/images/20022025/03/15/image_20022025_03_15_36_10340.jpg', '/home/pi/Desktop/images/20022025/03/15/image_20022025_03_16_05_9333.jpg', '/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_16_10471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/14/image_20022025_03_15_06_10329.jpg
/home/pi/Desktop/images/20022025/03/15/image_20022025_03_15_15_9481.jpg
/home/pi/Desktop/images/20022025/03/15/image_20022025_03_15_26_10435.jpg
/home/pi/Desktop/images/20022025/03/15/image_20022025_03_15_36_10340.jpg
/home/pi/Desktop/images/20022025/03/15/image_20022025_03_16_05_9333.jpg
/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_16_10471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338598577","1338598563","1338598572","1338598566","1338598569","1338598574"],"photo_ids_order":["1338598563","1338598566","1338598569","1338598572","1338598574","1338598577"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3d5de57e06d09dc9efba98573aa4ca67.jpg","text":"TemporaryFile(/tmp/multipartBody6933064297449157791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056913687,"filename":"image_20022025_03_16_16_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/065837928b1aa2745a8ba1b254a1ebe7.jpg","text":"TemporaryFile(/tmp/multipartBody1353049896625187952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056913687,"filename":"image_20022025_03_15_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e4dd586c5549aa0a2489cf8013882ce.jpg","text":"TemporaryFile(/tmp/multipartBody5191397295538771713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056913687,"filename":"image_20022025_03_15_36_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9cb54926c21af805716edc520300ff0c.jpg","text":"TemporaryFile(/tmp/multipartBody4711628545208541601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056913687,"filename":"image_20022025_03_15_15_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40a1ddab228d1e27f3529e7e156812c5.jpg","text":"TemporaryFile(/tmp/multipartBody4051536593780700583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056913687,"filename":"image_20022025_03_15_26_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b9316be11fd0dc6ecc92ef7cf2477cde.jpg","text":"TemporaryFile(/tmp/multipartBody8563429341189497258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056913687,"filename":"image_20022025_03_16_05_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598569","file1":"1338598566","file0":"1338598563","file4":"1338598574","file5":"1338598577","file3":"1338598572"},"map_files_photo_id_array":[{"photo_id":"1338598577","filename":"file5"},{"photo_id":"1338598569","filename":"file2"},{"photo_id":"1338598574","filename":"file4"},{"photo_id":"1338598566","filename":"file1"},{"photo_id":"1338598563","filename":"file0"},{"photo_id":"1338598572","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598577":["hashtag1","hashtag2"]},{"1338598563":["hashtag1","hashtag2"]},{"1338598572":["hashtag1","hashtag2"]},{"1338598566":["hashtag1","hashtag2"]},{"1338598569":["hashtag1","hashtag2"]},{"1338598574":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598577, 1338598563, 1338598572, 1338598566, 1338598569, 1338598574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92251753807068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:08:32.171455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_26_10349.jpg', '/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_36_9397.jpg', '/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_46_10334.jpg', '/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_55_9433.jpg', '/home/pi/Desktop/images/20022025/03/16/image_20022025_03_17_06_10435.jpg', '/home/pi/Desktop/images/20022025/03/17/image_20022025_03_17_26_9448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_26_10349.jpg
/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_36_9397.jpg
/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_46_10334.jpg
/home/pi/Desktop/images/20022025/03/16/image_20022025_03_16_55_9433.jpg
/home/pi/Desktop/images/20022025/03/16/image_20022025_03_17_06_10435.jpg
/home/pi/Desktop/images/20022025/03/17/image_20022025_03_17_26_9448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338598598","1338598604","1338598597","1338598601","1338598596","1338598599"],"photo_ids_order":["1338598596","1338598597","1338598598","1338598599","1338598601","1338598604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08b81cb917f7d9db6f4374ca5fc40a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2623285071773393630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056972715,"filename":"image_20022025_03_16_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c26180ff21d408253c36de2fbb13282f.jpg","text":"TemporaryFile(/tmp/multipartBody8839370531935115513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056972715,"filename":"image_20022025_03_17_26_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5a9d86d18d99886f9c370815a8926d94.jpg","text":"TemporaryFile(/tmp/multipartBody4916420907740202747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056972715,"filename":"image_20022025_03_16_36_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/64b35338140e0444fbb618aba5dc631b.jpg","text":"TemporaryFile(/tmp/multipartBody8935286190237173494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056972715,"filename":"image_20022025_03_17_06_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0744749f56a058ffe3b8fea58b74715.jpg","text":"TemporaryFile(/tmp/multipartBody6125625527668794341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056972715,"filename":"image_20022025_03_16_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7926b6a9d2e47d6338023a4e0db1bbf7.jpg","text":"TemporaryFile(/tmp/multipartBody477182027179734286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740056972715,"filename":"image_20022025_03_16_55_9433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598598","file1":"1338598597","file0":"1338598596","file4":"1338598601","file5":"1338598604","file3":"1338598599"},"map_files_photo_id_array":[{"photo_id":"1338598604","filename":"file5"},{"photo_id":"1338598598","filename":"file2"},{"photo_id":"1338598601","filename":"file4"},{"photo_id":"1338598597","filename":"file1"},{"photo_id":"1338598596","filename":"file0"},{"photo_id":"1338598599","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598598":["hashtag1","hashtag2"]},{"1338598604":["hashtag1","hashtag2"]},{"1338598597":["hashtag1","hashtag2"]},{"1338598601":["hashtag1","hashtag2"]},{"1338598596":["hashtag1","hashtag2"]},{"1338598599":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598598, 1338598604, 1338598597, 1338598601, 1338598596, 1338598599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.413927793502808 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:09:32.548311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/17/image_20022025_03_17_36_10325.jpg', '/home/pi/Desktop/images/20022025/03/17/image_20022025_03_17_46_10329.jpg', '/home/pi/Desktop/images/20022025/03/17/image_20022025_03_17_56_9398.jpg', '/home/pi/Desktop/images/20022025/03/17/image_20022025_03_18_06_10336.jpg', '/home/pi/Desktop/images/20022025/03/18/image_20022025_03_18_15_9410.jpg', '/home/pi/Desktop/images/20022025/03/18/image_20022025_03_18_36_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/17/image_20022025_03_17_36_10325.jpg
/home/pi/Desktop/images/20022025/03/17/image_20022025_03_17_46_10329.jpg
/home/pi/Desktop/images/20022025/03/17/image_20022025_03_17_56_9398.jpg
/home/pi/Desktop/images/20022025/03/17/image_20022025_03_18_06_10336.jpg
/home/pi/Desktop/images/20022025/03/18/image_20022025_03_18_15_9410.jpg
/home/pi/Desktop/images/20022025/03/18/image_20022025_03_18_36_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338598628","1338598633","1338598627","1338598636","1338598639","1338598630"],"photo_ids_order":["1338598627","1338598628","1338598630","1338598633","1338598636","1338598639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/218f7fb3c5ecbf162743aa42fe21527e.jpg","text":"TemporaryFile(/tmp/multipartBody6317779073433439006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057033116,"filename":"image_20022025_03_17_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/37a0350e3446f94191338e6121db798c.jpg","text":"TemporaryFile(/tmp/multipartBody1577030492649940925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057033116,"filename":"image_20022025_03_18_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec53673327eef5e751a0be8ab00874d2.jpg","text":"TemporaryFile(/tmp/multipartBody7702253257679081825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057033116,"filename":"image_20022025_03_17_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13bd271c21a4e01bbb89ead4a0d7a7b6.jpg","text":"TemporaryFile(/tmp/multipartBody211388630844591118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057033116,"filename":"image_20022025_03_18_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7aad4f04cea3996aabc602133ae82822.jpg","text":"TemporaryFile(/tmp/multipartBody6874630634013923982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057033116,"filename":"image_20022025_03_18_36_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ece211be011d453f00a71e856fed302b.jpg","text":"TemporaryFile(/tmp/multipartBody1853304559424505043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057033116,"filename":"image_20022025_03_17_56_9398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598630","file1":"1338598628","file0":"1338598627","file4":"1338598636","file5":"1338598639","file3":"1338598633"},"map_files_photo_id_array":[{"photo_id":"1338598639","filename":"file5"},{"photo_id":"1338598630","filename":"file2"},{"photo_id":"1338598636","filename":"file4"},{"photo_id":"1338598628","filename":"file1"},{"photo_id":"1338598627","filename":"file0"},{"photo_id":"1338598633","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598628":["hashtag1","hashtag2"]},{"1338598633":["hashtag1","hashtag2"]},{"1338598627":["hashtag1","hashtag2"]},{"1338598636":["hashtag1","hashtag2"]},{"1338598639":["hashtag1","hashtag2"]},{"1338598630":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598628, 1338598633, 1338598627, 1338598636, 1338598639, 1338598630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.686750650405884 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:10:32.718243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/18/image_20022025_03_18_45_9354.jpg', '/home/pi/Desktop/images/20022025/03/18/image_20022025_03_18_56_10411.jpg', '/home/pi/Desktop/images/20022025/03/18/image_20022025_03_19_06_10347.jpg', '/home/pi/Desktop/images/20022025/03/19/image_20022025_03_19_15_9410.jpg', '/home/pi/Desktop/images/20022025/03/19/image_20022025_03_19_36_10326.jpg', '/home/pi/Desktop/images/20022025/03/19/image_20022025_03_19_45_9325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/18/image_20022025_03_18_45_9354.jpg
/home/pi/Desktop/images/20022025/03/18/image_20022025_03_18_56_10411.jpg
/home/pi/Desktop/images/20022025/03/18/image_20022025_03_19_06_10347.jpg
/home/pi/Desktop/images/20022025/03/19/image_20022025_03_19_15_9410.jpg
/home/pi/Desktop/images/20022025/03/19/image_20022025_03_19_36_10326.jpg
/home/pi/Desktop/images/20022025/03/19/image_20022025_03_19_45_9325.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":["1338598672","1338598669","1338598674","1338598662","1338598665","1338598659"],"photo_ids_order":["1338598659","1338598662","1338598665","1338598669","1338598672","1338598674"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5f1b17c03201f8d4d45fe384dfc6fb44.jpg","text":"TemporaryFile(/tmp/multipartBody1592161812635970207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057093332,"filename":"image_20022025_03_19_36_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70da0f62031c5205d93712356242cccf.jpg","text":"TemporaryFile(/tmp/multipartBody9005137221598804211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057093332,"filename":"image_20022025_03_19_15_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/413d2c3ad0c8402c800eede8a6cb8e1c.jpg","text":"TemporaryFile(/tmp/multipartBody9114748031187776537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057093332,"filename":"image_20022025_03_19_45_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c6ab5e83c0a85f4d2879bbccdbe90bec.jpg","text":"TemporaryFile(/tmp/multipartBody1504492542180672827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057093332,"filename":"image_20022025_03_18_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5319c33fd324fb082f822d5476e4ca5.jpg","text":"TemporaryFile(/tmp/multipartBody3871576760850363358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057093332,"filename":"image_20022025_03_19_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d08c07b9ec1964189a9f12bf803161f.jpg","text":"TemporaryFile(/tmp/multipartBody3169219863988633888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057093332,"filename":"image_20022025_03_18_45_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598665","file1":"1338598662","file0":"1338598659","file4":"1338598672","file5":"1338598674","file3":"1338598669"},"map_files_photo_id_array":[{"photo_id":"1338598674","filename":"file5"},{"photo_id":"1338598665","filename":"file2"},{"photo_id":"1338598672","filename":"file4"},{"photo_id":"1338598662","filename":"file1"},{"photo_id":"1338598659","filename":"file0"},{"photo_id":"1338598669","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598672":["hashtag1","hashtag2"]},{"1338598669":["hashtag1","hashtag2"]},{"1338598674":["hashtag1","hashtag2"]},{"1338598662":["hashtag1","hashtag2"]},{"1338598665":["hashtag1","hashtag2"]},{"1338598659":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598672, 1338598669, 1338598674, 1338598662, 1338598665, 1338598659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.20203447341919 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:11:32.725241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/19/image_20022025_03_19_56_10399.jpg', '/home/pi/Desktop/images/20022025/03/19/image_20022025_03_20_05_9360.jpg', '/home/pi/Desktop/images/20022025/03/20/image_20022025_03_20_16_10438.jpg', '/home/pi/Desktop/images/20022025/03/20/image_20022025_03_20_35_9413.jpg', '/home/pi/Desktop/images/20022025/03/20/image_20022025_03_20_46_10339.jpg', '/home/pi/Desktop/images/20022025/03/20/image_20022025_03_20_56_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/19/image_20022025_03_19_56_10399.jpg
/home/pi/Desktop/images/20022025/03/19/image_20022025_03_20_05_9360.jpg
/home/pi/Desktop/images/20022025/03/20/image_20022025_03_20_16_10438.jpg
/home/pi/Desktop/images/20022025/03/20/image_20022025_03_20_35_9413.jpg
/home/pi/Desktop/images/20022025/03/20/image_20022025_03_20_46_10339.jpg
/home/pi/Desktop/images/20022025/03/20/image_20022025_03_20_56_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338598700","1338598693","1338598697","1338598691","1338598704","1338598688"],"photo_ids_order":["1338598688","1338598691","1338598693","1338598697","1338598700","1338598704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95f9bce057c16f52b13343a0cc14db64.jpg","text":"TemporaryFile(/tmp/multipartBody7944251074095912644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057153272,"filename":"image_20022025_03_20_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e80d0baf987694d16b2fa61f20f8f13.jpg","text":"TemporaryFile(/tmp/multipartBody4674303269976898380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057153272,"filename":"image_20022025_03_20_16_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13f3225d761b9a584dd8557910714247.jpg","text":"TemporaryFile(/tmp/multipartBody6433998342784514285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057153272,"filename":"image_20022025_03_20_35_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2531d5250ba12e251130f0f08a597669.jpg","text":"TemporaryFile(/tmp/multipartBody7407402124964862540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057153272,"filename":"image_20022025_03_20_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4eea76822177e10ee5e3eeecc4e2710.jpg","text":"TemporaryFile(/tmp/multipartBody69873540742685509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057153272,"filename":"image_20022025_03_20_56_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da8b9945a6ad7948b22b5fa65ca9cb5f.jpg","text":"TemporaryFile(/tmp/multipartBody4965406064851448001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057153272,"filename":"image_20022025_03_19_56_10399.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598693","file1":"1338598691","file0":"1338598688","file4":"1338598700","file5":"1338598704","file3":"1338598697"},"map_files_photo_id_array":[{"photo_id":"1338598704","filename":"file5"},{"photo_id":"1338598693","filename":"file2"},{"photo_id":"1338598700","filename":"file4"},{"photo_id":"1338598691","filename":"file1"},{"photo_id":"1338598688","filename":"file0"},{"photo_id":"1338598697","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598700":["hashtag1","hashtag2"]},{"1338598693":["hashtag1","hashtag2"]},{"1338598697":["hashtag1","hashtag2"]},{"1338598691":["hashtag1","hashtag2"]},{"1338598704":["hashtag1","hashtag2"]},{"1338598688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598700, 1338598693, 1338598697, 1338598691, 1338598704, 1338598688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92049789428711 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:12:32.941979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/20/image_20022025_03_21_05_9332.jpg', '/home/pi/Desktop/images/20022025/03/21/image_20022025_03_21_16_10364.jpg', '/home/pi/Desktop/images/20022025/03/21/image_20022025_03_21_26_10342.jpg', '/home/pi/Desktop/images/20022025/03/21/image_20022025_03_21_55_9338.jpg', '/home/pi/Desktop/images/20022025/03/21/image_20022025_03_22_06_10331.jpg', '/home/pi/Desktop/images/20022025/03/22/image_20022025_03_22_16_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/20/image_20022025_03_21_05_9332.jpg
/home/pi/Desktop/images/20022025/03/21/image_20022025_03_21_16_10364.jpg
/home/pi/Desktop/images/20022025/03/21/image_20022025_03_21_26_10342.jpg
/home/pi/Desktop/images/20022025/03/21/image_20022025_03_21_55_9338.jpg
/home/pi/Desktop/images/20022025/03/21/image_20022025_03_22_06_10331.jpg
/home/pi/Desktop/images/20022025/03/22/image_20022025_03_22_16_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338598721","1338598724","1338598718","1338598727","1338598714","1338598731"],"photo_ids_order":["1338598714","1338598718","1338598721","1338598724","1338598727","1338598731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a6aef8fb648decce911aa2500c1847a.jpg","text":"TemporaryFile(/tmp/multipartBody5616590152982562802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057213513,"filename":"image_20022025_03_21_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/326074ddb73d1de99dc291c7b2eae143.jpg","text":"TemporaryFile(/tmp/multipartBody1002625717209973591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057213513,"filename":"image_20022025_03_21_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d818bcbffa6bd1f3be2f8de8bfa847e4.jpg","text":"TemporaryFile(/tmp/multipartBody4506315361224636532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057213513,"filename":"image_20022025_03_21_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7d67cad9dcbd7d38f58ea0c9f0356c5.jpg","text":"TemporaryFile(/tmp/multipartBody5645516567475795959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057213513,"filename":"image_20022025_03_22_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a98c1421403f9d578d939535b6705058.jpg","text":"TemporaryFile(/tmp/multipartBody2331086140605686825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057213513,"filename":"image_20022025_03_21_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6c28fa64fd493758dbaff165173adb8.jpg","text":"TemporaryFile(/tmp/multipartBody8808514353894614260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057213513,"filename":"image_20022025_03_22_16_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598721","file1":"1338598718","file0":"1338598714","file4":"1338598727","file5":"1338598731","file3":"1338598724"},"map_files_photo_id_array":[{"photo_id":"1338598731","filename":"file5"},{"photo_id":"1338598721","filename":"file2"},{"photo_id":"1338598727","filename":"file4"},{"photo_id":"1338598718","filename":"file1"},{"photo_id":"1338598714","filename":"file0"},{"photo_id":"1338598724","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598721":["hashtag1","hashtag2"]},{"1338598724":["hashtag1","hashtag2"]},{"1338598718":["hashtag1","hashtag2"]},{"1338598727":["hashtag1","hashtag2"]},{"1338598714":["hashtag1","hashtag2"]},{"1338598731":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598721, 1338598724, 1338598718, 1338598727, 1338598714, 1338598731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.910019159317017 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:13:33.171647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/22/image_20022025_03_22_25_9341.jpg', '/home/pi/Desktop/images/20022025/03/22/image_20022025_03_22_36_10381.jpg', '/home/pi/Desktop/images/20022025/03/22/image_20022025_03_22_46_10347.jpg', '/home/pi/Desktop/images/20022025/03/23/image_20022025_03_23_16_10338.jpg', '/home/pi/Desktop/images/20022025/03/23/image_20022025_03_23_25_9397.jpg', '/home/pi/Desktop/images/20022025/03/23/image_20022025_03_23_56_10431.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/22/image_20022025_03_22_25_9341.jpg
/home/pi/Desktop/images/20022025/03/22/image_20022025_03_22_36_10381.jpg
/home/pi/Desktop/images/20022025/03/22/image_20022025_03_22_46_10347.jpg
/home/pi/Desktop/images/20022025/03/23/image_20022025_03_23_16_10338.jpg
/home/pi/Desktop/images/20022025/03/23/image_20022025_03_23_25_9397.jpg
/home/pi/Desktop/images/20022025/03/23/image_20022025_03_23_56_10431.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338598973","1338598969","1338598966","1338598977","1338598979","1338598964"],"photo_ids_order":["1338598964","1338598966","1338598969","1338598973","1338598977","1338598979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e1d44022b30d8c291f23d6022e184573.jpg","text":"TemporaryFile(/tmp/multipartBody1022287296542633485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057273736,"filename":"image_20022025_03_23_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b46e46a3f15aca9ce99f07ae54279e2.jpg","text":"TemporaryFile(/tmp/multipartBody8776134845797878588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057273736,"filename":"image_20022025_03_22_46_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa80ebda457d50c630e080996c33925d.jpg","text":"TemporaryFile(/tmp/multipartBody3493260444124391395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057273736,"filename":"image_20022025_03_22_36_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/543583f5b656f7b0a2caf602e855c02e.jpg","text":"TemporaryFile(/tmp/multipartBody6407932947228836234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057273736,"filename":"image_20022025_03_23_25_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cad88ff7188080acfd9a4220d1809724.jpg","text":"TemporaryFile(/tmp/multipartBody4564550311611731684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057273736,"filename":"image_20022025_03_23_56_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e8db80e5350644a63f198f94f4827e3b.jpg","text":"TemporaryFile(/tmp/multipartBody2099216561456036110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057273736,"filename":"image_20022025_03_22_25_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338598969","file1":"1338598966","file0":"1338598964","file4":"1338598977","file5":"1338598979","file3":"1338598973"},"map_files_photo_id_array":[{"photo_id":"1338598979","filename":"file5"},{"photo_id":"1338598969","filename":"file2"},{"photo_id":"1338598977","filename":"file4"},{"photo_id":"1338598966","filename":"file1"},{"photo_id":"1338598964","filename":"file0"},{"photo_id":"1338598973","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338598973":["hashtag1","hashtag2"]},{"1338598969":["hashtag1","hashtag2"]},{"1338598966":["hashtag1","hashtag2"]},{"1338598977":["hashtag1","hashtag2"]},{"1338598979":["hashtag1","hashtag2"]},{"1338598964":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338598973, 1338598969, 1338598966, 1338598977, 1338598979, 1338598964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.266042709350586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:14:32.406506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/24/image_20022025_03_24_26_10354.jpg', '/home/pi/Desktop/images/20022025/03/24/image_20022025_03_24_35_9323.jpg', '/home/pi/Desktop/images/20022025/03/25/image_20022025_03_25_26_10343.jpg', '/home/pi/Desktop/images/20022025/03/25/image_20022025_03_25_35_9311.jpg', '/home/pi/Desktop/images/20022025/03/25/image_20022025_03_25_46_10352.jpg', '/home/pi/Desktop/images/20022025/03/26/image_20022025_03_26_16_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/24/image_20022025_03_24_26_10354.jpg
/home/pi/Desktop/images/20022025/03/24/image_20022025_03_24_35_9323.jpg
/home/pi/Desktop/images/20022025/03/25/image_20022025_03_25_26_10343.jpg
/home/pi/Desktop/images/20022025/03/25/image_20022025_03_25_35_9311.jpg
/home/pi/Desktop/images/20022025/03/25/image_20022025_03_25_46_10352.jpg
/home/pi/Desktop/images/20022025/03/26/image_20022025_03_26_16_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338599042","1338599062","1338599055","1338599049","1338599058","1338599060"],"photo_ids_order":["1338599042","1338599049","1338599055","1338599058","1338599060","1338599062"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1e32a8f2f01ede11a139d20232fc618b.jpg","text":"TemporaryFile(/tmp/multipartBody6052278321510743930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057332953,"filename":"image_20022025_03_24_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9673c4d4dd1467a3fb37390b45a7d8c3.jpg","text":"TemporaryFile(/tmp/multipartBody6870154817988246344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057332953,"filename":"image_20022025_03_26_16_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92d540240afcfda89653958ef890c1c1.jpg","text":"TemporaryFile(/tmp/multipartBody7017749330532008829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057332953,"filename":"image_20022025_03_25_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3fcb3c6a003a49178339087625a8af04.jpg","text":"TemporaryFile(/tmp/multipartBody5225819824356312829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057332953,"filename":"image_20022025_03_24_35_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/06b97412110f0239df0f78351242d259.jpg","text":"TemporaryFile(/tmp/multipartBody741424084629632346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057332953,"filename":"image_20022025_03_25_35_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a4bede7006e392b308b688fe16bf6b16.jpg","text":"TemporaryFile(/tmp/multipartBody7437453312935335352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057332953,"filename":"image_20022025_03_25_46_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338599055","file1":"1338599049","file0":"1338599042","file4":"1338599060","file5":"1338599062","file3":"1338599058"},"map_files_photo_id_array":[{"photo_id":"1338599062","filename":"file5"},{"photo_id":"1338599055","filename":"file2"},{"photo_id":"1338599060","filename":"file4"},{"photo_id":"1338599049","filename":"file1"},{"photo_id":"1338599042","filename":"file0"},{"photo_id":"1338599058","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338599042":["hashtag1","hashtag2"]},{"1338599062":["hashtag1","hashtag2"]},{"1338599055":["hashtag1","hashtag2"]},{"1338599049":["hashtag1","hashtag2"]},{"1338599058":["hashtag1","hashtag2"]},{"1338599060":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338599042, 1338599062, 1338599055, 1338599049, 1338599058, 1338599060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85013484954834 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:15:32.535820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/26/image_20022025_03_26_26_10457.jpg', '/home/pi/Desktop/images/20022025/03/26/image_20022025_03_26_55_9331.jpg', '/home/pi/Desktop/images/20022025/03/26/image_20022025_03_27_06_10412.jpg', '/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_16_10342.jpg', '/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_25_9404.jpg', '/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_36_10446.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/26/image_20022025_03_26_26_10457.jpg
/home/pi/Desktop/images/20022025/03/26/image_20022025_03_26_55_9331.jpg
/home/pi/Desktop/images/20022025/03/26/image_20022025_03_27_06_10412.jpg
/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_16_10342.jpg
/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_25_9404.jpg
/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_36_10446.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338599086","1338599089","1338599079","1338599082","1338599076","1338599084"],"photo_ids_order":["1338599076","1338599079","1338599082","1338599084","1338599086","1338599089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59dad53933ec6d07861c2a1e08e64b79.jpg","text":"TemporaryFile(/tmp/multipartBody2946418019270608437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057393109,"filename":"image_20022025_03_27_25_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/53018c0350c06bceb6b6a227a414da73.jpg","text":"TemporaryFile(/tmp/multipartBody6703476644147239914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057393109,"filename":"image_20022025_03_27_36_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c9ca34d2b6c508fff33cab3bc95fd0f.jpg","text":"TemporaryFile(/tmp/multipartBody1489020170173737428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057393109,"filename":"image_20022025_03_26_55_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46bf6924316be6c8bf4dad79a0b61856.jpg","text":"TemporaryFile(/tmp/multipartBody7642506967666143741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057393109,"filename":"image_20022025_03_27_06_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dcb1365b71b8104bbf987be3fdfdd3e1.jpg","text":"TemporaryFile(/tmp/multipartBody7067966064300857407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057393109,"filename":"image_20022025_03_26_26_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/007551919e7318af9884fbc88e6c937e.jpg","text":"TemporaryFile(/tmp/multipartBody7756803472118552846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057393109,"filename":"image_20022025_03_27_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338599082","file1":"1338599079","file0":"1338599076","file4":"1338599086","file5":"1338599089","file3":"1338599084"},"map_files_photo_id_array":[{"photo_id":"1338599089","filename":"file5"},{"photo_id":"1338599082","filename":"file2"},{"photo_id":"1338599086","filename":"file4"},{"photo_id":"1338599079","filename":"file1"},{"photo_id":"1338599076","filename":"file0"},{"photo_id":"1338599084","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338599086":["hashtag1","hashtag2"]},{"1338599089":["hashtag1","hashtag2"]},{"1338599079":["hashtag1","hashtag2"]},{"1338599082":["hashtag1","hashtag2"]},{"1338599076":["hashtag1","hashtag2"]},{"1338599084":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338599086, 1338599089, 1338599079, 1338599082, 1338599076, 1338599084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.364760160446167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:16:32.990562
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_45_9332.jpg', '/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_56_10348.jpg', '/home/pi/Desktop/images/20022025/03/27/image_20022025_03_28_06_10325.jpg', '/home/pi/Desktop/images/20022025/03/28/image_20022025_03_28_15_9340.jpg', '/home/pi/Desktop/images/20022025/03/28/image_20022025_03_28_36_10347.jpg', '/home/pi/Desktop/images/20022025/03/28/image_20022025_03_28_56_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_45_9332.jpg
/home/pi/Desktop/images/20022025/03/27/image_20022025_03_27_56_10348.jpg
/home/pi/Desktop/images/20022025/03/27/image_20022025_03_28_06_10325.jpg
/home/pi/Desktop/images/20022025/03/28/image_20022025_03_28_15_9340.jpg
/home/pi/Desktop/images/20022025/03/28/image_20022025_03_28_36_10347.jpg
/home/pi/Desktop/images/20022025/03/28/image_20022025_03_28_56_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338599431","1338599362","1338599439","1338599103","1338599441","1338599438"],"photo_ids_order":["1338599103","1338599362","1338599431","1338599438","1338599439","1338599441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/38a1d856a417adfffb6be72fcee54746.jpg","text":"TemporaryFile(/tmp/multipartBody8498204776642286115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057453552,"filename":"image_20022025_03_28_06_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aef34015696b155cf311a779db00ae1d.jpg","text":"TemporaryFile(/tmp/multipartBody4860618259659514302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057453552,"filename":"image_20022025_03_27_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/61170dbded36a6add4f98e71d6721e9b.jpg","text":"TemporaryFile(/tmp/multipartBody6004290741264784482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057453552,"filename":"image_20022025_03_28_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/84d4d02fbf8b9f88deb9578a3acc8f87.jpg","text":"TemporaryFile(/tmp/multipartBody1608576292279660656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057453552,"filename":"image_20022025_03_27_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/84bda8fc7b958178a970c8fea3f28856.jpg","text":"TemporaryFile(/tmp/multipartBody4443917840847369523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057453552,"filename":"image_20022025_03_28_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3eeaa51113a2b4321436903f68304c1.jpg","text":"TemporaryFile(/tmp/multipartBody7143921232056553095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057453552,"filename":"image_20022025_03_28_15_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338599431","file1":"1338599362","file0":"1338599103","file4":"1338599439","file5":"1338599441","file3":"1338599438"},"map_files_photo_id_array":[{"photo_id":"1338599441","filename":"file5"},{"photo_id":"1338599431","filename":"file2"},{"photo_id":"1338599439","filename":"file4"},{"photo_id":"1338599362","filename":"file1"},{"photo_id":"1338599103","filename":"file0"},{"photo_id":"1338599438","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338599431":["hashtag1","hashtag2"]},{"1338599362":["hashtag1","hashtag2"]},{"1338599439":["hashtag1","hashtag2"]},{"1338599103":["hashtag1","hashtag2"]},{"1338599441":["hashtag1","hashtag2"]},{"1338599438":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338599431, 1338599362, 1338599439, 1338599103, 1338599441, 1338599438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.378583192825317 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:17:33.272255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/28/image_20022025_03_29_06_10337.jpg', '/home/pi/Desktop/images/20022025/03/29/image_20022025_03_29_26_10358.jpg', '/home/pi/Desktop/images/20022025/03/29/image_20022025_03_30_05_9386.jpg', '/home/pi/Desktop/images/20022025/03/30/image_20022025_03_30_16_10354.jpg', '/home/pi/Desktop/images/20022025/03/30/image_20022025_03_30_26_10336.jpg', '/home/pi/Desktop/images/20022025/03/30/image_20022025_03_30_46_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/28/image_20022025_03_29_06_10337.jpg
/home/pi/Desktop/images/20022025/03/29/image_20022025_03_29_26_10358.jpg
/home/pi/Desktop/images/20022025/03/29/image_20022025_03_30_05_9386.jpg
/home/pi/Desktop/images/20022025/03/30/image_20022025_03_30_16_10354.jpg
/home/pi/Desktop/images/20022025/03/30/image_20022025_03_30_26_10336.jpg
/home/pi/Desktop/images/20022025/03/30/image_20022025_03_30_46_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338599689","1338599698","1338599670","1338599634","1338599693","1338599636"],"photo_ids_order":["1338599634","1338599636","1338599670","1338599689","1338599693","1338599698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10b67266cc2776ec0c11267089896bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5856177163280795231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057513811,"filename":"image_20022025_03_30_16_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b8cdecf85765088c7cec0dda0c5ca67.jpg","text":"TemporaryFile(/tmp/multipartBody6942677733478508770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057513811,"filename":"image_20022025_03_30_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a816b7fdcf4d271cd1aa0fcea0ae34c1.jpg","text":"TemporaryFile(/tmp/multipartBody7901343509299338362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057513811,"filename":"image_20022025_03_30_05_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d45500087535bb8e5c1daf0c79dd405f.jpg","text":"TemporaryFile(/tmp/multipartBody1910832978898818703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057513811,"filename":"image_20022025_03_29_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46863b0a4f194471d356e675e86f6cf8.jpg","text":"TemporaryFile(/tmp/multipartBody9117111741244951981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057513811,"filename":"image_20022025_03_30_26_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1c4247e6104af2c48f6087cd65257bbf.jpg","text":"TemporaryFile(/tmp/multipartBody3879540751986606062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057513811,"filename":"image_20022025_03_29_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338599670","file1":"1338599636","file0":"1338599634","file4":"1338599693","file5":"1338599698","file3":"1338599689"},"map_files_photo_id_array":[{"photo_id":"1338599698","filename":"file5"},{"photo_id":"1338599670","filename":"file2"},{"photo_id":"1338599693","filename":"file4"},{"photo_id":"1338599636","filename":"file1"},{"photo_id":"1338599634","filename":"file0"},{"photo_id":"1338599689","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338599689":["hashtag1","hashtag2"]},{"1338599698":["hashtag1","hashtag2"]},{"1338599670":["hashtag1","hashtag2"]},{"1338599634":["hashtag1","hashtag2"]},{"1338599693":["hashtag1","hashtag2"]},{"1338599636":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338599689, 1338599698, 1338599670, 1338599634, 1338599693, 1338599636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23491382598877 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:18:32.288053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/31/image_20022025_03_31_16_10355.jpg', '/home/pi/Desktop/images/20022025/03/31/image_20022025_03_31_26_9462.jpg', '/home/pi/Desktop/images/20022025/03/31/image_20022025_03_31_45_9417.jpg', '/home/pi/Desktop/images/20022025/03/31/image_20022025_03_31_56_10354.jpg', '/home/pi/Desktop/images/20022025/03/31/image_20022025_03_32_06_10322.jpg', '/home/pi/Desktop/images/20022025/03/32/image_20022025_03_32_35_9392.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/31/image_20022025_03_31_16_10355.jpg
/home/pi/Desktop/images/20022025/03/31/image_20022025_03_31_26_9462.jpg
/home/pi/Desktop/images/20022025/03/31/image_20022025_03_31_45_9417.jpg
/home/pi/Desktop/images/20022025/03/31/image_20022025_03_31_56_10354.jpg
/home/pi/Desktop/images/20022025/03/31/image_20022025_03_32_06_10322.jpg
/home/pi/Desktop/images/20022025/03/32/image_20022025_03_32_35_9392.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338599863","1338599865","1338599856","1338599802","1338599786","1338599807"],"photo_ids_order":["1338599786","1338599802","1338599807","1338599856","1338599863","1338599865"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/189705ad840f7caca378041a2768df48.jpg","text":"TemporaryFile(/tmp/multipartBody5136831767081009625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057573151,"filename":"image_20022025_03_32_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa81773e21eca493f00a4f468bb518a1.jpg","text":"TemporaryFile(/tmp/multipartBody5214506271050380608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057573151,"filename":"image_20022025_03_32_35_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c06cb82c3e4f7b2c725ad122ec57dcf3.jpg","text":"TemporaryFile(/tmp/multipartBody9189845459007002715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057573151,"filename":"image_20022025_03_31_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a341487d1944368296056d5dce4d163a.jpg","text":"TemporaryFile(/tmp/multipartBody2779634681105655409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057573151,"filename":"image_20022025_03_31_26_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/307b985784d3c425a2a69abc2c09e199.jpg","text":"TemporaryFile(/tmp/multipartBody6130819592646412046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057573151,"filename":"image_20022025_03_31_16_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9dfa2593586d394bb0b706dcb6c37d2c.jpg","text":"TemporaryFile(/tmp/multipartBody1605475739967044276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057573151,"filename":"image_20022025_03_31_45_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338599807","file1":"1338599802","file0":"1338599786","file4":"1338599863","file5":"1338599865","file3":"1338599856"},"map_files_photo_id_array":[{"photo_id":"1338599865","filename":"file5"},{"photo_id":"1338599807","filename":"file2"},{"photo_id":"1338599863","filename":"file4"},{"photo_id":"1338599802","filename":"file1"},{"photo_id":"1338599786","filename":"file0"},{"photo_id":"1338599856","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338599863":["hashtag1","hashtag2"]},{"1338599865":["hashtag1","hashtag2"]},{"1338599856":["hashtag1","hashtag2"]},{"1338599802":["hashtag1","hashtag2"]},{"1338599786":["hashtag1","hashtag2"]},{"1338599807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338599863, 1338599865, 1338599856, 1338599802, 1338599786, 1338599807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83730697631836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:19:32.299647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/32/image_20022025_03_32_46_10448.jpg', '/home/pi/Desktop/images/20022025/03/32/image_20022025_03_32_56_10348.jpg', '/home/pi/Desktop/images/20022025/03/33/image_20022025_03_33_46_10339.jpg', '/home/pi/Desktop/images/20022025/03/33/image_20022025_03_33_55_9339.jpg', '/home/pi/Desktop/images/20022025/03/33/image_20022025_03_34_06_10356.jpg', '/home/pi/Desktop/images/20022025/03/34/image_20022025_03_34_16_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/32/image_20022025_03_32_46_10448.jpg
/home/pi/Desktop/images/20022025/03/32/image_20022025_03_32_56_10348.jpg
/home/pi/Desktop/images/20022025/03/33/image_20022025_03_33_46_10339.jpg
/home/pi/Desktop/images/20022025/03/33/image_20022025_03_33_55_9339.jpg
/home/pi/Desktop/images/20022025/03/33/image_20022025_03_34_06_10356.jpg
/home/pi/Desktop/images/20022025/03/34/image_20022025_03_34_16_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338599929","1338599917","1338599920","1338599914","1338599924","1338599912"],"photo_ids_order":["1338599912","1338599914","1338599917","1338599920","1338599924","1338599929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/863dd59350258dfbeb03487476064a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2397647136850209871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057634560,"filename":"image_20022025_03_34_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d0685488ec66e4a45470c1d4231d814.jpg","text":"TemporaryFile(/tmp/multipartBody4087905497614580916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057634560,"filename":"image_20022025_03_33_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1b0fc99d0eb4ce76853d49ff1a0e3f4.jpg","text":"TemporaryFile(/tmp/multipartBody8566249681233846706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057634560,"filename":"image_20022025_03_33_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9723aea2a44cbcde9fd13272439517b5.jpg","text":"TemporaryFile(/tmp/multipartBody326652498646322008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057634560,"filename":"image_20022025_03_32_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c1bb150d6b8e34bb660771eb8327970.jpg","text":"TemporaryFile(/tmp/multipartBody6361460584035223210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057634560,"filename":"image_20022025_03_34_06_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/184186c665c757cd7eeddbc3b676c09b.jpg","text":"TemporaryFile(/tmp/multipartBody7229383874264551555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057634560,"filename":"image_20022025_03_32_46_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338599917","file1":"1338599914","file0":"1338599912","file4":"1338599924","file5":"1338599929","file3":"1338599920"},"map_files_photo_id_array":[{"photo_id":"1338599929","filename":"file5"},{"photo_id":"1338599917","filename":"file2"},{"photo_id":"1338599924","filename":"file4"},{"photo_id":"1338599914","filename":"file1"},{"photo_id":"1338599912","filename":"file0"},{"photo_id":"1338599920","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338599929":["hashtag1","hashtag2"]},{"1338599917":["hashtag1","hashtag2"]},{"1338599920":["hashtag1","hashtag2"]},{"1338599914":["hashtag1","hashtag2"]},{"1338599924":["hashtag1","hashtag2"]},{"1338599912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338599929, 1338599917, 1338599920, 1338599914, 1338599924, 1338599912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08501648902893 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:20:32.665795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/34/image_20022025_03_34_25_9493.jpg', '/home/pi/Desktop/images/20022025/03/34/image_20022025_03_34_46_10341.jpg', '/home/pi/Desktop/images/20022025/03/34/image_20022025_03_34_55_9344.jpg', '/home/pi/Desktop/images/20022025/03/35/image_20022025_03_35_16_10352.jpg', '/home/pi/Desktop/images/20022025/03/35/image_20022025_03_35_36_10360.jpg', '/home/pi/Desktop/images/20022025/03/35/image_20022025_03_35_56_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/34/image_20022025_03_34_25_9493.jpg
/home/pi/Desktop/images/20022025/03/34/image_20022025_03_34_46_10341.jpg
/home/pi/Desktop/images/20022025/03/34/image_20022025_03_34_55_9344.jpg
/home/pi/Desktop/images/20022025/03/35/image_20022025_03_35_16_10352.jpg
/home/pi/Desktop/images/20022025/03/35/image_20022025_03_35_36_10360.jpg
/home/pi/Desktop/images/20022025/03/35/image_20022025_03_35_56_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338599947","1338599962","1338599950","1338599958","1338599967","1338599954"],"photo_ids_order":["1338599947","1338599950","1338599954","1338599958","1338599962","1338599967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ceaea6e6da28ae9a58302f3334b9bb6c.jpg","text":"TemporaryFile(/tmp/multipartBody5352710823597682213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057693218,"filename":"image_20022025_03_34_25_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee0cb9d0b7d3d507f9c55590733408c9.jpg","text":"TemporaryFile(/tmp/multipartBody3635998567864014587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057693218,"filename":"image_20022025_03_35_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a2c640a67b428ed17e1b70f31a979b98.jpg","text":"TemporaryFile(/tmp/multipartBody6041724396707516165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057693218,"filename":"image_20022025_03_34_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/74958a0441bbb73ac597084558c0363b.jpg","text":"TemporaryFile(/tmp/multipartBody5175091951817582777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057693218,"filename":"image_20022025_03_35_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82ac5530960937949d20e5ab2999e63d.jpg","text":"TemporaryFile(/tmp/multipartBody6369092687041358504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057693218,"filename":"image_20022025_03_35_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d8329ee2e0670a38ee9cdfc4bc8039db.jpg","text":"TemporaryFile(/tmp/multipartBody6604288861184241014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057693218,"filename":"image_20022025_03_34_55_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338599954","file1":"1338599950","file0":"1338599947","file4":"1338599962","file5":"1338599967","file3":"1338599958"},"map_files_photo_id_array":[{"photo_id":"1338599967","filename":"file5"},{"photo_id":"1338599954","filename":"file2"},{"photo_id":"1338599962","filename":"file4"},{"photo_id":"1338599950","filename":"file1"},{"photo_id":"1338599947","filename":"file0"},{"photo_id":"1338599958","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338599947":["hashtag1","hashtag2"]},{"1338599962":["hashtag1","hashtag2"]},{"1338599950":["hashtag1","hashtag2"]},{"1338599958":["hashtag1","hashtag2"]},{"1338599967":["hashtag1","hashtag2"]},{"1338599954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338599947, 1338599962, 1338599950, 1338599958, 1338599967, 1338599954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.164965867996216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:21:32.686452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/35/image_20022025_03_36_06_10338.jpg', '/home/pi/Desktop/images/20022025/03/36/image_20022025_03_36_15_9481.jpg', '/home/pi/Desktop/images/20022025/03/36/image_20022025_03_36_26_10352.jpg', '/home/pi/Desktop/images/20022025/03/36/image_20022025_03_36_36_10344.jpg', '/home/pi/Desktop/images/20022025/03/36/image_20022025_03_36_45_9328.jpg', '/home/pi/Desktop/images/20022025/03/37/image_20022025_03_37_26_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/35/image_20022025_03_36_06_10338.jpg
/home/pi/Desktop/images/20022025/03/36/image_20022025_03_36_15_9481.jpg
/home/pi/Desktop/images/20022025/03/36/image_20022025_03_36_26_10352.jpg
/home/pi/Desktop/images/20022025/03/36/image_20022025_03_36_36_10344.jpg
/home/pi/Desktop/images/20022025/03/36/image_20022025_03_36_45_9328.jpg
/home/pi/Desktop/images/20022025/03/37/image_20022025_03_37_26_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338599995","1338599980","1338599982","1338599991","1338599988","1338599984"],"photo_ids_order":["1338599980","1338599982","1338599984","1338599988","1338599991","1338599995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e12c0f49f5e95c69063e9ff62c76e0ee.jpg","text":"TemporaryFile(/tmp/multipartBody7888743089667095682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057753248,"filename":"image_20022025_03_37_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/915ae7646731e7ec8564c341f97377d9.jpg","text":"TemporaryFile(/tmp/multipartBody5451978220886643688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057753248,"filename":"image_20022025_03_36_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/27020792ec03d98a9c507dc32dfe48c5.jpg","text":"TemporaryFile(/tmp/multipartBody8056619628283543729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057753248,"filename":"image_20022025_03_36_15_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a4368bcc9004c77c8804fcb836ca5c7a.jpg","text":"TemporaryFile(/tmp/multipartBody4845676552812143527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057753248,"filename":"image_20022025_03_36_45_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b89ca294d9fe9ef6452169592e970c2.jpg","text":"TemporaryFile(/tmp/multipartBody4909111707047627562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057753248,"filename":"image_20022025_03_36_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f5a3eece6d36d4c35439144b7050632.jpg","text":"TemporaryFile(/tmp/multipartBody1722839699396579622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057753248,"filename":"image_20022025_03_36_26_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338599984","file1":"1338599982","file0":"1338599980","file4":"1338599991","file5":"1338599995","file3":"1338599988"},"map_files_photo_id_array":[{"photo_id":"1338599995","filename":"file5"},{"photo_id":"1338599984","filename":"file2"},{"photo_id":"1338599991","filename":"file4"},{"photo_id":"1338599982","filename":"file1"},{"photo_id":"1338599980","filename":"file0"},{"photo_id":"1338599988","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338599995":["hashtag1","hashtag2"]},{"1338599980":["hashtag1","hashtag2"]},{"1338599982":["hashtag1","hashtag2"]},{"1338599991":["hashtag1","hashtag2"]},{"1338599988":["hashtag1","hashtag2"]},{"1338599984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338599995, 1338599980, 1338599982, 1338599991, 1338599988, 1338599984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.461647748947144 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:22:32.988978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/37/image_20022025_03_37_35_9304.jpg', '/home/pi/Desktop/images/20022025/03/37/image_20022025_03_37_46_10335.jpg', '/home/pi/Desktop/images/20022025/03/37/image_20022025_03_38_05_9399.jpg', '/home/pi/Desktop/images/20022025/03/38/image_20022025_03_39_06_10429.jpg', '/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_16_10443.jpg', '/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_36_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/37/image_20022025_03_37_35_9304.jpg
/home/pi/Desktop/images/20022025/03/37/image_20022025_03_37_46_10335.jpg
/home/pi/Desktop/images/20022025/03/37/image_20022025_03_38_05_9399.jpg
/home/pi/Desktop/images/20022025/03/38/image_20022025_03_39_06_10429.jpg
/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_16_10443.jpg
/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_36_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600015","1338600029","1338600020","1338600023","1338600017","1338600026"],"photo_ids_order":["1338600015","1338600017","1338600020","1338600023","1338600026","1338600029"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2de52c9c3bfea9a935597c24d49b5aee.jpg","text":"TemporaryFile(/tmp/multipartBody6499685504652324789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057813532,"filename":"image_20022025_03_37_35_9304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2c7cf1019598c851a29f17edd38e801.jpg","text":"TemporaryFile(/tmp/multipartBody687342641671524027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057813532,"filename":"image_20022025_03_39_36_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d720b2da3e857f5734885973add0d98.jpg","text":"TemporaryFile(/tmp/multipartBody7325086805080488448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057813532,"filename":"image_20022025_03_38_05_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/535a4bc2a800c5eaacc619aa705ac8da.jpg","text":"TemporaryFile(/tmp/multipartBody3460133649964432747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057813532,"filename":"image_20022025_03_39_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e1ff26899f2b2d475c83727566f8ca8a.jpg","text":"TemporaryFile(/tmp/multipartBody6250258757435315934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057813532,"filename":"image_20022025_03_37_46_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b16eee541fb5dbed036f02dbf3c3c63a.jpg","text":"TemporaryFile(/tmp/multipartBody6101958755440869570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057813532,"filename":"image_20022025_03_39_16_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600020","file1":"1338600017","file0":"1338600015","file4":"1338600026","file5":"1338600029","file3":"1338600023"},"map_files_photo_id_array":[{"photo_id":"1338600029","filename":"file5"},{"photo_id":"1338600020","filename":"file2"},{"photo_id":"1338600026","filename":"file4"},{"photo_id":"1338600017","filename":"file1"},{"photo_id":"1338600015","filename":"file0"},{"photo_id":"1338600023","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600015":["hashtag1","hashtag2"]},{"1338600029":["hashtag1","hashtag2"]},{"1338600020":["hashtag1","hashtag2"]},{"1338600023":["hashtag1","hashtag2"]},{"1338600017":["hashtag1","hashtag2"]},{"1338600026":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600015, 1338600029, 1338600020, 1338600023, 1338600017, 1338600026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.601739168167114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:23:33.164772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_45_9337.jpg', '/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_56_10314.jpg', '/home/pi/Desktop/images/20022025/03/39/image_20022025_03_40_06_10328.jpg', '/home/pi/Desktop/images/20022025/03/40/image_20022025_03_40_36_10366.jpg', '/home/pi/Desktop/images/20022025/03/40/image_20022025_03_41_06_10331.jpg', '/home/pi/Desktop/images/20022025/03/41/image_20022025_03_41_26_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_45_9337.jpg
/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_56_10314.jpg
/home/pi/Desktop/images/20022025/03/39/image_20022025_03_40_06_10328.jpg
/home/pi/Desktop/images/20022025/03/40/image_20022025_03_40_36_10366.jpg
/home/pi/Desktop/images/20022025/03/40/image_20022025_03_41_06_10331.jpg
/home/pi/Desktop/images/20022025/03/41/image_20022025_03_41_26_10335.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.47307538986206055 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 14:23:43.216898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_45_9337.jpg', '/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_56_10314.jpg', '/home/pi/Desktop/images/20022025/03/39/image_20022025_03_40_06_10328.jpg', '/home/pi/Desktop/images/20022025/03/40/image_20022025_03_40_36_10366.jpg', '/home/pi/Desktop/images/20022025/03/40/image_20022025_03_41_06_10331.jpg', '/home/pi/Desktop/images/20022025/03/41/image_20022025_03_41_26_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_45_9337.jpg
/home/pi/Desktop/images/20022025/03/39/image_20022025_03_39_56_10314.jpg
/home/pi/Desktop/images/20022025/03/39/image_20022025_03_40_06_10328.jpg
/home/pi/Desktop/images/20022025/03/40/image_20022025_03_40_36_10366.jpg
/home/pi/Desktop/images/20022025/03/40/image_20022025_03_41_06_10331.jpg
/home/pi/Desktop/images/20022025/03/41/image_20022025_03_41_26_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600055","1338600072","1338600060","1338600051","1338600068","1338600064"],"photo_ids_order":["1338600051","1338600055","1338600060","1338600064","1338600068","1338600072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90c87c77c8c0c265028534c63e050f69.jpg","text":"TemporaryFile(/tmp/multipartBody4502592608985970248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057883676,"filename":"image_20022025_03_39_56_10314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d5e00cf09324dede343eecfaa7e0c74.jpg","text":"TemporaryFile(/tmp/multipartBody5510194128081912665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057883676,"filename":"image_20022025_03_41_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5beb61e9c65a86868d9db3998c9a29d2.jpg","text":"TemporaryFile(/tmp/multipartBody5683182643720644503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057883676,"filename":"image_20022025_03_40_06_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2937e71be180d714615395dde639278b.jpg","text":"TemporaryFile(/tmp/multipartBody1809617021933716792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057883676,"filename":"image_20022025_03_39_45_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba8623fe83394ec6dc9fb3f322cdb658.jpg","text":"TemporaryFile(/tmp/multipartBody4521458648451447245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057883676,"filename":"image_20022025_03_41_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/728d7437c837a96fb74aa6dd27ad21eb.jpg","text":"TemporaryFile(/tmp/multipartBody1925781623266553603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057883676,"filename":"image_20022025_03_40_36_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600060","file1":"1338600055","file0":"1338600051","file4":"1338600068","file5":"1338600072","file3":"1338600064"},"map_files_photo_id_array":[{"photo_id":"1338600072","filename":"file5"},{"photo_id":"1338600060","filename":"file2"},{"photo_id":"1338600068","filename":"file4"},{"photo_id":"1338600055","filename":"file1"},{"photo_id":"1338600051","filename":"file0"},{"photo_id":"1338600064","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600055":["hashtag1","hashtag2"]},{"1338600072":["hashtag1","hashtag2"]},{"1338600060":["hashtag1","hashtag2"]},{"1338600051":["hashtag1","hashtag2"]},{"1338600068":["hashtag1","hashtag2"]},{"1338600064":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600055, 1338600072, 1338600060, 1338600051, 1338600068, 1338600064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1403923034668 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:24:32.331092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/41/image_20022025_03_41_35_9314.jpg', '/home/pi/Desktop/images/20022025/03/41/image_20022025_03_42_05_9392.jpg', '/home/pi/Desktop/images/20022025/03/42/image_20022025_03_42_16_10440.jpg', '/home/pi/Desktop/images/20022025/03/42/image_20022025_03_42_36_10343.jpg', '/home/pi/Desktop/images/20022025/03/42/image_20022025_03_42_46_10340.jpg', '/home/pi/Desktop/images/20022025/03/42/image_20022025_03_42_55_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/41/image_20022025_03_41_35_9314.jpg
/home/pi/Desktop/images/20022025/03/41/image_20022025_03_42_05_9392.jpg
/home/pi/Desktop/images/20022025/03/42/image_20022025_03_42_16_10440.jpg
/home/pi/Desktop/images/20022025/03/42/image_20022025_03_42_36_10343.jpg
/home/pi/Desktop/images/20022025/03/42/image_20022025_03_42_46_10340.jpg
/home/pi/Desktop/images/20022025/03/42/image_20022025_03_42_55_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600115","1338600111","1338600089","1338600104","1338600113","1338600107"],"photo_ids_order":["1338600089","1338600104","1338600107","1338600111","1338600113","1338600115"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/23491cee34f2f06217ccfd2fc08286ab.jpg","text":"TemporaryFile(/tmp/multipartBody5720068437781071699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057932870,"filename":"image_20022025_03_42_55_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3617c61b7058fda91623a8ec7a3caee6.jpg","text":"TemporaryFile(/tmp/multipartBody6798506434491106196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057932870,"filename":"image_20022025_03_42_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e3e9226055e94e29030d2b80affba7d.jpg","text":"TemporaryFile(/tmp/multipartBody7608192450812115573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057932870,"filename":"image_20022025_03_41_35_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/258a61c26500364be75d31b402d8f71e.jpg","text":"TemporaryFile(/tmp/multipartBody481184035710330246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057932870,"filename":"image_20022025_03_42_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a3f1de83a8e9eb18a54bb06ed77d9d6.jpg","text":"TemporaryFile(/tmp/multipartBody2422099040330321276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057932870,"filename":"image_20022025_03_42_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/621456697908c36bafbf7334ed2d997a.jpg","text":"TemporaryFile(/tmp/multipartBody4451835013374604562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057932870,"filename":"image_20022025_03_42_16_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600107","file1":"1338600104","file0":"1338600089","file4":"1338600113","file5":"1338600115","file3":"1338600111"},"map_files_photo_id_array":[{"photo_id":"1338600115","filename":"file5"},{"photo_id":"1338600107","filename":"file2"},{"photo_id":"1338600113","filename":"file4"},{"photo_id":"1338600104","filename":"file1"},{"photo_id":"1338600089","filename":"file0"},{"photo_id":"1338600111","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600115":["hashtag1","hashtag2"]},{"1338600111":["hashtag1","hashtag2"]},{"1338600089":["hashtag1","hashtag2"]},{"1338600104":["hashtag1","hashtag2"]},{"1338600113":["hashtag1","hashtag2"]},{"1338600107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600115, 1338600111, 1338600089, 1338600104, 1338600113, 1338600107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87992739677429 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:25:33.185383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/43/image_20022025_03_43_26_9334.jpg', '/home/pi/Desktop/images/20022025/03/43/image_20022025_03_43_36_10334.jpg', '/home/pi/Desktop/images/20022025/03/43/image_20022025_03_43_45_9618.jpg', '/home/pi/Desktop/images/20022025/03/43/image_20022025_03_43_56_10331.jpg', '/home/pi/Desktop/images/20022025/03/43/image_20022025_03_44_05_9424.jpg', '/home/pi/Desktop/images/20022025/03/44/image_20022025_03_44_35_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/43/image_20022025_03_43_26_9334.jpg
/home/pi/Desktop/images/20022025/03/43/image_20022025_03_43_36_10334.jpg
/home/pi/Desktop/images/20022025/03/43/image_20022025_03_43_45_9618.jpg
/home/pi/Desktop/images/20022025/03/43/image_20022025_03_43_56_10331.jpg
/home/pi/Desktop/images/20022025/03/43/image_20022025_03_44_05_9424.jpg
/home/pi/Desktop/images/20022025/03/44/image_20022025_03_44_35_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600192","1338600195","1338600197","1338600191","1338600200","1338600190"],"photo_ids_order":["1338600190","1338600191","1338600192","1338600195","1338600197","1338600200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bb524dc27df9565de9698ee778d59fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8152101213310278131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057993750,"filename":"image_20022025_03_43_45_9618.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1e64dcd5426f9550b810c9f5d8386585.jpg","text":"TemporaryFile(/tmp/multipartBody3691760038501365974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057993750,"filename":"image_20022025_03_43_56_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95fa683a6c6cdf2bb7e447e8d2304359.jpg","text":"TemporaryFile(/tmp/multipartBody8438194077191707708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057993750,"filename":"image_20022025_03_44_05_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a8f10f9d09f3de3e5ae76d7260746be5.jpg","text":"TemporaryFile(/tmp/multipartBody7948008804471744368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057993750,"filename":"image_20022025_03_43_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1d43bd699fb30a8f481e8f3bd81b814.jpg","text":"TemporaryFile(/tmp/multipartBody2781734639335098807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057993750,"filename":"image_20022025_03_44_35_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ae989a9ed3dfbad4c6568ee8d83f6fe.jpg","text":"TemporaryFile(/tmp/multipartBody1152862364993175974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740057993750,"filename":"image_20022025_03_43_26_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600192","file1":"1338600191","file0":"1338600190","file4":"1338600197","file5":"1338600200","file3":"1338600195"},"map_files_photo_id_array":[{"photo_id":"1338600200","filename":"file5"},{"photo_id":"1338600192","filename":"file2"},{"photo_id":"1338600197","filename":"file4"},{"photo_id":"1338600191","filename":"file1"},{"photo_id":"1338600190","filename":"file0"},{"photo_id":"1338600195","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600192":["hashtag1","hashtag2"]},{"1338600195":["hashtag1","hashtag2"]},{"1338600197":["hashtag1","hashtag2"]},{"1338600191":["hashtag1","hashtag2"]},{"1338600200":["hashtag1","hashtag2"]},{"1338600190":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600192, 1338600195, 1338600197, 1338600191, 1338600200, 1338600190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.012733697891235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:26:32.284715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/44/image_20022025_03_44_46_10400.jpg', '/home/pi/Desktop/images/20022025/03/44/image_20022025_03_44_56_10326.jpg', '/home/pi/Desktop/images/20022025/03/46/image_20022025_03_46_15_9367.jpg', '/home/pi/Desktop/images/20022025/03/46/image_20022025_03_46_26_10352.jpg', '/home/pi/Desktop/images/20022025/03/46/image_20022025_03_46_45_9422.jpg', '/home/pi/Desktop/images/20022025/03/46/image_20022025_03_46_56_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/44/image_20022025_03_44_46_10400.jpg
/home/pi/Desktop/images/20022025/03/44/image_20022025_03_44_56_10326.jpg
/home/pi/Desktop/images/20022025/03/46/image_20022025_03_46_15_9367.jpg
/home/pi/Desktop/images/20022025/03/46/image_20022025_03_46_26_10352.jpg
/home/pi/Desktop/images/20022025/03/46/image_20022025_03_46_45_9422.jpg
/home/pi/Desktop/images/20022025/03/46/image_20022025_03_46_56_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600229","1338600222","1338600231","1338600225","1338600227","1338600224"],"photo_ids_order":["1338600222","1338600224","1338600225","1338600227","1338600229","1338600231"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d9d9518eaf57733d50f089e081c4869.jpg","text":"TemporaryFile(/tmp/multipartBody8181579597480225723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058052821,"filename":"image_20022025_03_46_45_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0b52c1434438000d31ba504b76725c1.jpg","text":"TemporaryFile(/tmp/multipartBody4489024717930393554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058052821,"filename":"image_20022025_03_44_46_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/afbb093f029d0a05bcb71777df3f3334.jpg","text":"TemporaryFile(/tmp/multipartBody4672706551514093705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058052821,"filename":"image_20022025_03_46_56_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a830c74257e07901de1843c137bfa0ee.jpg","text":"TemporaryFile(/tmp/multipartBody4739444936574782471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058052821,"filename":"image_20022025_03_46_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff3ebf2861691e466a72bda70102b060.jpg","text":"TemporaryFile(/tmp/multipartBody7112131221497019979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058052821,"filename":"image_20022025_03_46_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a6eb7c2d819b7121bbbe845877326ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7056368653763771096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058052821,"filename":"image_20022025_03_44_56_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600225","file1":"1338600224","file0":"1338600222","file4":"1338600229","file5":"1338600231","file3":"1338600227"},"map_files_photo_id_array":[{"photo_id":"1338600231","filename":"file5"},{"photo_id":"1338600225","filename":"file2"},{"photo_id":"1338600229","filename":"file4"},{"photo_id":"1338600224","filename":"file1"},{"photo_id":"1338600222","filename":"file0"},{"photo_id":"1338600227","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600229":["hashtag1","hashtag2"]},{"1338600222":["hashtag1","hashtag2"]},{"1338600231":["hashtag1","hashtag2"]},{"1338600225":["hashtag1","hashtag2"]},{"1338600227":["hashtag1","hashtag2"]},{"1338600224":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600229, 1338600222, 1338600231, 1338600225, 1338600227, 1338600224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.680713176727295 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:27:32.624405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/47/image_20022025_03_47_26_10410.jpg', '/home/pi/Desktop/images/20022025/03/47/image_20022025_03_47_56_10359.jpg', '/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_16_9487.jpg', '/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_26_10363.jpg', '/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_35_9346.jpg', '/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_46_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/47/image_20022025_03_47_26_10410.jpg
/home/pi/Desktop/images/20022025/03/47/image_20022025_03_47_56_10359.jpg
/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_16_9487.jpg
/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_26_10363.jpg
/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_35_9346.jpg
/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_46_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600328","1338600375","1338600330","1338600318","1338600332","1338600308"],"photo_ids_order":["1338600308","1338600318","1338600328","1338600330","1338600332","1338600375"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95ac3e4ff383713aac6b11d08c0185cb.jpg","text":"TemporaryFile(/tmp/multipartBody9220878895847838565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058113195,"filename":"image_20022025_03_48_16_9487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6690c6d0000f27f0dfd31bd03c86232d.jpg","text":"TemporaryFile(/tmp/multipartBody4630930414136528122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058113195,"filename":"image_20022025_03_48_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2862b2c0ac4be8da5f7f79d9ece93018.jpg","text":"TemporaryFile(/tmp/multipartBody1568700533449450828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058113195,"filename":"image_20022025_03_48_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce9dca94d85a5aa65dcbb41a564cb303.jpg","text":"TemporaryFile(/tmp/multipartBody6348133671804507834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058113195,"filename":"image_20022025_03_47_56_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/19b04009f3e326f4e35c623e7d67a1fc.jpg","text":"TemporaryFile(/tmp/multipartBody2266928864813877584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058113195,"filename":"image_20022025_03_48_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94b57317dfe030ff3989acdcff142c24.jpg","text":"TemporaryFile(/tmp/multipartBody5922425409952414512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058113195,"filename":"image_20022025_03_47_26_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600328","file1":"1338600318","file0":"1338600308","file4":"1338600332","file5":"1338600375","file3":"1338600330"},"map_files_photo_id_array":[{"photo_id":"1338600375","filename":"file5"},{"photo_id":"1338600328","filename":"file2"},{"photo_id":"1338600332","filename":"file4"},{"photo_id":"1338600318","filename":"file1"},{"photo_id":"1338600308","filename":"file0"},{"photo_id":"1338600330","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600328":["hashtag1","hashtag2"]},{"1338600375":["hashtag1","hashtag2"]},{"1338600330":["hashtag1","hashtag2"]},{"1338600318":["hashtag1","hashtag2"]},{"1338600332":["hashtag1","hashtag2"]},{"1338600308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600328, 1338600375, 1338600330, 1338600318, 1338600332, 1338600308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6604437828064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:28:32.610597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_56_10390.jpg', '/home/pi/Desktop/images/20022025/03/48/image_20022025_03_49_05_9360.jpg', '/home/pi/Desktop/images/20022025/03/49/image_20022025_03_49_35_9346.jpg', '/home/pi/Desktop/images/20022025/03/49/image_20022025_03_49_55_9338.jpg', '/home/pi/Desktop/images/20022025/03/50/image_20022025_03_50_16_10334.jpg', '/home/pi/Desktop/images/20022025/03/50/image_20022025_03_50_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/48/image_20022025_03_48_56_10390.jpg
/home/pi/Desktop/images/20022025/03/48/image_20022025_03_49_05_9360.jpg
/home/pi/Desktop/images/20022025/03/49/image_20022025_03_49_35_9346.jpg
/home/pi/Desktop/images/20022025/03/49/image_20022025_03_49_55_9338.jpg
/home/pi/Desktop/images/20022025/03/50/image_20022025_03_50_16_10334.jpg
/home/pi/Desktop/images/20022025/03/50/image_20022025_03_50_25_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600450","1338600441","1338600444","1338600497","1338600446","1338600448"],"photo_ids_order":["1338600441","1338600444","1338600446","1338600448","1338600450","1338600497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7cee4276b9febae89fd371570e12d426.jpg","text":"TemporaryFile(/tmp/multipartBody6671820659647675116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058173158,"filename":"image_20022025_03_50_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ee522d27c45f2aff1ba19b4ba4e0ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6844040247986167680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058173158,"filename":"image_20022025_03_48_56_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1b482944ba6bd01cc58f67885a9b27f.jpg","text":"TemporaryFile(/tmp/multipartBody6505727481977812737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058173158,"filename":"image_20022025_03_49_05_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/389c3b3e2dbc0ab9b4ca64789615e483.jpg","text":"TemporaryFile(/tmp/multipartBody789634888505439266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058173158,"filename":"image_20022025_03_50_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/199791ac7e8d611c45cd68d3ef0d6e00.jpg","text":"TemporaryFile(/tmp/multipartBody1499204308070539861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058173158,"filename":"image_20022025_03_49_35_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c6e5fbe3097b88e86c4728e170c6275.jpg","text":"TemporaryFile(/tmp/multipartBody6410977902219943772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058173158,"filename":"image_20022025_03_49_55_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600446","file1":"1338600444","file0":"1338600441","file4":"1338600450","file5":"1338600497","file3":"1338600448"},"map_files_photo_id_array":[{"photo_id":"1338600497","filename":"file5"},{"photo_id":"1338600446","filename":"file2"},{"photo_id":"1338600450","filename":"file4"},{"photo_id":"1338600444","filename":"file1"},{"photo_id":"1338600441","filename":"file0"},{"photo_id":"1338600448","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600450":["hashtag1","hashtag2"]},{"1338600441":["hashtag1","hashtag2"]},{"1338600444":["hashtag1","hashtag2"]},{"1338600497":["hashtag1","hashtag2"]},{"1338600446":["hashtag1","hashtag2"]},{"1338600448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600450, 1338600441, 1338600444, 1338600497, 1338600446, 1338600448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.62721276283264 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:29:33.065491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/50/image_20022025_03_50_46_10450.jpg', '/home/pi/Desktop/images/20022025/03/50/image_20022025_03_50_55_9335.jpg', '/home/pi/Desktop/images/20022025/03/50/image_20022025_03_51_06_10431.jpg', '/home/pi/Desktop/images/20022025/03/51/image_20022025_03_51_16_10351.jpg', '/home/pi/Desktop/images/20022025/03/51/image_20022025_03_51_36_10353.jpg', '/home/pi/Desktop/images/20022025/03/51/image_20022025_03_51_46_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/50/image_20022025_03_50_46_10450.jpg
/home/pi/Desktop/images/20022025/03/50/image_20022025_03_50_55_9335.jpg
/home/pi/Desktop/images/20022025/03/50/image_20022025_03_51_06_10431.jpg
/home/pi/Desktop/images/20022025/03/51/image_20022025_03_51_16_10351.jpg
/home/pi/Desktop/images/20022025/03/51/image_20022025_03_51_36_10353.jpg
/home/pi/Desktop/images/20022025/03/51/image_20022025_03_51_46_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600544","1338600552","1338600549","1338600537","1338600547","1338600535"],"photo_ids_order":["1338600535","1338600537","1338600544","1338600547","1338600549","1338600552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c981405be3a2a00eba1281975fab6e81.jpg","text":"TemporaryFile(/tmp/multipartBody7043326225398362408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058233637,"filename":"image_20022025_03_51_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8aa916e955dee4ca5e12c00d22ecb78.jpg","text":"TemporaryFile(/tmp/multipartBody6423578087817077013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058233637,"filename":"image_20022025_03_51_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ac99a04e2cbe806f7fb24bb6af425ec.jpg","text":"TemporaryFile(/tmp/multipartBody4820121726077516498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058233637,"filename":"image_20022025_03_51_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af51a3f8cd211f7a0a634be436896dd7.jpg","text":"TemporaryFile(/tmp/multipartBody2583357720019144291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058233637,"filename":"image_20022025_03_50_55_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e9b7bfdfe6a50406587f77ec8418bb4c.jpg","text":"TemporaryFile(/tmp/multipartBody5058350101113459131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058233637,"filename":"image_20022025_03_51_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f351f223f608926043e07aabc328cbd.jpg","text":"TemporaryFile(/tmp/multipartBody4263029092604107045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058233637,"filename":"image_20022025_03_50_46_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600544","file1":"1338600537","file0":"1338600535","file4":"1338600549","file5":"1338600552","file3":"1338600547"},"map_files_photo_id_array":[{"photo_id":"1338600552","filename":"file5"},{"photo_id":"1338600544","filename":"file2"},{"photo_id":"1338600549","filename":"file4"},{"photo_id":"1338600537","filename":"file1"},{"photo_id":"1338600535","filename":"file0"},{"photo_id":"1338600547","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600544":["hashtag1","hashtag2"]},{"1338600552":["hashtag1","hashtag2"]},{"1338600549":["hashtag1","hashtag2"]},{"1338600537":["hashtag1","hashtag2"]},{"1338600547":["hashtag1","hashtag2"]},{"1338600535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600544, 1338600552, 1338600549, 1338600537, 1338600547, 1338600535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12371826171875 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:30:33.126884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/51/image_20022025_03_51_56_9381.jpg', '/home/pi/Desktop/images/20022025/03/51/image_20022025_03_52_06_10326.jpg', '/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_15_9338.jpg', '/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_26_10446.jpg', '/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_36_10334.jpg', '/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_45_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/51/image_20022025_03_51_56_9381.jpg
/home/pi/Desktop/images/20022025/03/51/image_20022025_03_52_06_10326.jpg
/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_15_9338.jpg
/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_26_10446.jpg
/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_36_10334.jpg
/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_45_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600835","1338600759","1338600744","1338600758","1338600839","1338600832"],"photo_ids_order":["1338600744","1338600758","1338600759","1338600832","1338600835","1338600839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c1c7f2e4947be243495732aec92fd55.jpg","text":"TemporaryFile(/tmp/multipartBody8621517486577174557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058293678,"filename":"image_20022025_03_52_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ef1b628b8dfbb89b4ccc1b7cfad3645.jpg","text":"TemporaryFile(/tmp/multipartBody7742230235108485750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058293678,"filename":"image_20022025_03_52_15_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/49256b631387027c7844060d98a0772c.jpg","text":"TemporaryFile(/tmp/multipartBody8928401539706008656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058293678,"filename":"image_20022025_03_51_56_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0cacf049ac5ba5657af420ed33622107.jpg","text":"TemporaryFile(/tmp/multipartBody7917568763091485349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058293678,"filename":"image_20022025_03_52_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6402dac5c2419ed7d8a8d1c453196ce6.jpg","text":"TemporaryFile(/tmp/multipartBody5405912412538380673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058293678,"filename":"image_20022025_03_52_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eada6ed57a15c9aac1f98846ef761b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8850699774760116358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058293678,"filename":"image_20022025_03_52_26_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600759","file1":"1338600758","file0":"1338600744","file4":"1338600835","file5":"1338600839","file3":"1338600832"},"map_files_photo_id_array":[{"photo_id":"1338600839","filename":"file5"},{"photo_id":"1338600759","filename":"file2"},{"photo_id":"1338600835","filename":"file4"},{"photo_id":"1338600758","filename":"file1"},{"photo_id":"1338600744","filename":"file0"},{"photo_id":"1338600832","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600835":["hashtag1","hashtag2"]},{"1338600759":["hashtag1","hashtag2"]},{"1338600744":["hashtag1","hashtag2"]},{"1338600758":["hashtag1","hashtag2"]},{"1338600839":["hashtag1","hashtag2"]},{"1338600832":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600835, 1338600759, 1338600744, 1338600758, 1338600839, 1338600832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.146310567855835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:31:32.219961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_56_10435.jpg', '/home/pi/Desktop/images/20022025/03/53/image_20022025_03_53_16_9475.jpg', '/home/pi/Desktop/images/20022025/03/53/image_20022025_03_53_26_10334.jpg', '/home/pi/Desktop/images/20022025/03/53/image_20022025_03_53_35_9393.jpg', '/home/pi/Desktop/images/20022025/03/53/image_20022025_03_53_46_10459.jpg', '/home/pi/Desktop/images/20022025/03/54/image_20022025_03_54_36_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/52/image_20022025_03_52_56_10435.jpg
/home/pi/Desktop/images/20022025/03/53/image_20022025_03_53_16_9475.jpg
/home/pi/Desktop/images/20022025/03/53/image_20022025_03_53_26_10334.jpg
/home/pi/Desktop/images/20022025/03/53/image_20022025_03_53_35_9393.jpg
/home/pi/Desktop/images/20022025/03/53/image_20022025_03_53_46_10459.jpg
/home/pi/Desktop/images/20022025/03/54/image_20022025_03_54_36_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600867","1338600861","1338600860","1338600863","1338600865","1338600859"],"photo_ids_order":["1338600859","1338600860","1338600861","1338600863","1338600865","1338600867"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82016b5b7b4b9f7ec560d1a6346191e5.jpg","text":"TemporaryFile(/tmp/multipartBody4006731985431931786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058352942,"filename":"image_20022025_03_54_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e3a64434301767d06122197524eb8573.jpg","text":"TemporaryFile(/tmp/multipartBody7489942528234390242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058352942,"filename":"image_20022025_03_53_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92fc37ad6be296fa26ac5a7e6ffd8427.jpg","text":"TemporaryFile(/tmp/multipartBody7115607166658476865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058352942,"filename":"image_20022025_03_53_16_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82fee76cd7a4ce72d94d90c0d37ac66f.jpg","text":"TemporaryFile(/tmp/multipartBody3308352868396543434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058352942,"filename":"image_20022025_03_53_35_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/485c4ed2be4f6588b335b44edbd78a60.jpg","text":"TemporaryFile(/tmp/multipartBody3617850729885784677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058352942,"filename":"image_20022025_03_53_46_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a2aafed74f41ced0e9c698d133111976.jpg","text":"TemporaryFile(/tmp/multipartBody8229604767106536118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058352942,"filename":"image_20022025_03_52_56_10435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600861","file1":"1338600860","file0":"1338600859","file4":"1338600865","file5":"1338600867","file3":"1338600863"},"map_files_photo_id_array":[{"photo_id":"1338600867","filename":"file5"},{"photo_id":"1338600861","filename":"file2"},{"photo_id":"1338600865","filename":"file4"},{"photo_id":"1338600860","filename":"file1"},{"photo_id":"1338600859","filename":"file0"},{"photo_id":"1338600863","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600867":["hashtag1","hashtag2"]},{"1338600861":["hashtag1","hashtag2"]},{"1338600860":["hashtag1","hashtag2"]},{"1338600863":["hashtag1","hashtag2"]},{"1338600865":["hashtag1","hashtag2"]},{"1338600859":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600867, 1338600861, 1338600860, 1338600863, 1338600865, 1338600859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03766083717346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:32:32.360316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/54/image_20022025_03_54_46_10353.jpg', '/home/pi/Desktop/images/20022025/03/54/image_20022025_03_54_55_9319.jpg', '/home/pi/Desktop/images/20022025/03/54/image_20022025_03_55_06_10431.jpg', '/home/pi/Desktop/images/20022025/03/55/image_20022025_03_55_26_9493.jpg', '/home/pi/Desktop/images/20022025/03/55/image_20022025_03_55_45_9349.jpg', '/home/pi/Desktop/images/20022025/03/55/image_20022025_03_55_56_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/54/image_20022025_03_54_46_10353.jpg
/home/pi/Desktop/images/20022025/03/54/image_20022025_03_54_55_9319.jpg
/home/pi/Desktop/images/20022025/03/54/image_20022025_03_55_06_10431.jpg
/home/pi/Desktop/images/20022025/03/55/image_20022025_03_55_26_9493.jpg
/home/pi/Desktop/images/20022025/03/55/image_20022025_03_55_45_9349.jpg
/home/pi/Desktop/images/20022025/03/55/image_20022025_03_55_56_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600891","1338600904","1338600896","1338600899","1338600893","1338600902"],"photo_ids_order":["1338600891","1338600893","1338600896","1338600899","1338600902","1338600904"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2458bcdbcf81838956ac2d50236be1c2.jpg","text":"TemporaryFile(/tmp/multipartBody1979900170677742507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058413045,"filename":"image_20022025_03_54_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/753089ceb4f1eb812184b73087b00f65.jpg","text":"TemporaryFile(/tmp/multipartBody1842823178574980713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058413045,"filename":"image_20022025_03_55_56_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/452fe7b93cb0fc0f972c00dec031317f.jpg","text":"TemporaryFile(/tmp/multipartBody6264071965819160969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058413045,"filename":"image_20022025_03_55_06_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/140a186d51ad2ac26b3a552aef3a53bf.jpg","text":"TemporaryFile(/tmp/multipartBody8590036600446859819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058413045,"filename":"image_20022025_03_55_26_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/467513ee35d586a49f46ff7adad95481.jpg","text":"TemporaryFile(/tmp/multipartBody8027511157939152049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058413045,"filename":"image_20022025_03_54_55_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1e9f975a5e7c645e0262fa0c12ae1d07.jpg","text":"TemporaryFile(/tmp/multipartBody3702186859748242091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058413045,"filename":"image_20022025_03_55_45_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600896","file1":"1338600893","file0":"1338600891","file4":"1338600902","file5":"1338600904","file3":"1338600899"},"map_files_photo_id_array":[{"photo_id":"1338600904","filename":"file5"},{"photo_id":"1338600896","filename":"file2"},{"photo_id":"1338600902","filename":"file4"},{"photo_id":"1338600893","filename":"file1"},{"photo_id":"1338600891","filename":"file0"},{"photo_id":"1338600899","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600891":["hashtag1","hashtag2"]},{"1338600904":["hashtag1","hashtag2"]},{"1338600896":["hashtag1","hashtag2"]},{"1338600899":["hashtag1","hashtag2"]},{"1338600893":["hashtag1","hashtag2"]},{"1338600902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600891, 1338600904, 1338600896, 1338600899, 1338600893, 1338600902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.37020516395569 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:33:32.552533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/55/image_20022025_03_56_06_10341.jpg', '/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_16_9472.jpg', '/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_26_10344.jpg', '/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_35_9329.jpg', '/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_46_10462.jpg', '/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_56_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/55/image_20022025_03_56_06_10341.jpg
/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_16_9472.jpg
/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_26_10344.jpg
/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_35_9329.jpg
/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_46_10462.jpg
/home/pi/Desktop/images/20022025/03/56/image_20022025_03_56_56_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338600936","1338600933","1338600926","1338600941","1338600929","1338600923"],"photo_ids_order":["1338600923","1338600926","1338600929","1338600933","1338600936","1338600941"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9498237317b80b0505b81afe807fb758.jpg","text":"TemporaryFile(/tmp/multipartBody7536172098590823557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058473098,"filename":"image_20022025_03_56_46_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dbdee0a523bef428f19f50ce718f09d6.jpg","text":"TemporaryFile(/tmp/multipartBody1160829959672305685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058473098,"filename":"image_20022025_03_56_35_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76b4b35cbc06a131290de0db27e1239f.jpg","text":"TemporaryFile(/tmp/multipartBody3177587603256531653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058473098,"filename":"image_20022025_03_56_16_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c81d328ad2487bb5c5d40e34a13196af.jpg","text":"TemporaryFile(/tmp/multipartBody6143602936457736699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058473098,"filename":"image_20022025_03_56_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f8bfed79aeacaacf0cb726b1b7a37e6.jpg","text":"TemporaryFile(/tmp/multipartBody6752797319445710825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058473098,"filename":"image_20022025_03_56_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a62fb87214777e83f3b3ad7e12705fb3.jpg","text":"TemporaryFile(/tmp/multipartBody2424474700296972585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058473098,"filename":"image_20022025_03_56_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338600929","file1":"1338600926","file0":"1338600923","file4":"1338600936","file5":"1338600941","file3":"1338600933"},"map_files_photo_id_array":[{"photo_id":"1338600941","filename":"file5"},{"photo_id":"1338600929","filename":"file2"},{"photo_id":"1338600936","filename":"file4"},{"photo_id":"1338600926","filename":"file1"},{"photo_id":"1338600923","filename":"file0"},{"photo_id":"1338600933","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338600936":["hashtag1","hashtag2"]},{"1338600933":["hashtag1","hashtag2"]},{"1338600926":["hashtag1","hashtag2"]},{"1338600941":["hashtag1","hashtag2"]},{"1338600929":["hashtag1","hashtag2"]},{"1338600923":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338600936, 1338600933, 1338600926, 1338600941, 1338600929, 1338600923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61045861244202 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:34:32.729492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/56/image_20022025_03_57_05_9323.jpg', '/home/pi/Desktop/images/20022025/03/57/image_20022025_03_57_16_10345.jpg', '/home/pi/Desktop/images/20022025/03/57/image_20022025_03_58_06_10340.jpg', '/home/pi/Desktop/images/20022025/03/58/image_20022025_03_58_25_9320.jpg', '/home/pi/Desktop/images/20022025/03/58/image_20022025_03_58_46_10356.jpg', '/home/pi/Desktop/images/20022025/03/58/image_20022025_03_58_55_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/56/image_20022025_03_57_05_9323.jpg
/home/pi/Desktop/images/20022025/03/57/image_20022025_03_57_16_10345.jpg
/home/pi/Desktop/images/20022025/03/57/image_20022025_03_58_06_10340.jpg
/home/pi/Desktop/images/20022025/03/58/image_20022025_03_58_25_9320.jpg
/home/pi/Desktop/images/20022025/03/58/image_20022025_03_58_46_10356.jpg
/home/pi/Desktop/images/20022025/03/58/image_20022025_03_58_55_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338601476","1338601484","1338601480","1338601471","1338601488","1338601473"],"photo_ids_order":["1338601471","1338601473","1338601476","1338601480","1338601484","1338601488"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e772ee88befcc346533e3a9070b67435.jpg","text":"TemporaryFile(/tmp/multipartBody8321808433910999694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058533293,"filename":"image_20022025_03_58_06_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40a4105cf2fe69fa9925c3e078aa1085.jpg","text":"TemporaryFile(/tmp/multipartBody8463022132221322979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058533293,"filename":"image_20022025_03_58_46_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f329a9c850d9be5ee2ebab707191a8a.jpg","text":"TemporaryFile(/tmp/multipartBody8108164709359241655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058533293,"filename":"image_20022025_03_58_25_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8d4aeac8058ae60d104d99c9496d49b.jpg","text":"TemporaryFile(/tmp/multipartBody7741501820355579366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058533293,"filename":"image_20022025_03_57_05_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/012ae853cfc75b88b3bf07cedefdf59e.jpg","text":"TemporaryFile(/tmp/multipartBody7125327780212738094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058533293,"filename":"image_20022025_03_58_55_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76665c0d6119d3bf358d02f2e8f3f16b.jpg","text":"TemporaryFile(/tmp/multipartBody6608775535471339808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058533293,"filename":"image_20022025_03_57_16_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338601476","file1":"1338601473","file0":"1338601471","file4":"1338601484","file5":"1338601488","file3":"1338601480"},"map_files_photo_id_array":[{"photo_id":"1338601488","filename":"file5"},{"photo_id":"1338601476","filename":"file2"},{"photo_id":"1338601484","filename":"file4"},{"photo_id":"1338601473","filename":"file1"},{"photo_id":"1338601471","filename":"file0"},{"photo_id":"1338601480","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338601476":["hashtag1","hashtag2"]},{"1338601484":["hashtag1","hashtag2"]},{"1338601480":["hashtag1","hashtag2"]},{"1338601471":["hashtag1","hashtag2"]},{"1338601488":["hashtag1","hashtag2"]},{"1338601473":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338601476, 1338601484, 1338601480, 1338601471, 1338601488, 1338601473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.348490953445435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:35:33.155924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/03/58/image_20022025_03_59_06_10330.jpg', '/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_16_10342.jpg', '/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_26_9357.jpg', '/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_36_10344.jpg', '/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_45_9450.jpg', '/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_56_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/03/58/image_20022025_03_59_06_10330.jpg
/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_16_10342.jpg
/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_26_9357.jpg
/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_36_10344.jpg
/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_45_9450.jpg
/home/pi/Desktop/images/20022025/03/59/image_20022025_03_59_56_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338601728","1338601730","1338601723","1338601705","1338601708","1338601702"],"photo_ids_order":["1338601702","1338601705","1338601708","1338601723","1338601728","1338601730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92ce5e6205a40b8e0e53eeebdd382c42.jpg","text":"TemporaryFile(/tmp/multipartBody3721466105947254083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058593694,"filename":"image_20022025_03_59_45_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22dea0a42845878d6462625a07ce6bd8.jpg","text":"TemporaryFile(/tmp/multipartBody7811729223767941363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058593694,"filename":"image_20022025_03_59_56_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6889032b4c8f7a55df1f444db12addeb.jpg","text":"TemporaryFile(/tmp/multipartBody4848122792905908315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058593694,"filename":"image_20022025_03_59_36_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eddfc53a7ac2e934cd125960618bf5bf.jpg","text":"TemporaryFile(/tmp/multipartBody3951445135543154106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058593694,"filename":"image_20022025_03_59_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/85c9938baf74fc3cbe91bda11edc57d3.jpg","text":"TemporaryFile(/tmp/multipartBody1455308580026874171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058593694,"filename":"image_20022025_03_59_26_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b09dededadd6a6b99f76c9efe5272770.jpg","text":"TemporaryFile(/tmp/multipartBody6993911128836435022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058593694,"filename":"image_20022025_03_59_06_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338601708","file1":"1338601705","file0":"1338601702","file4":"1338601728","file5":"1338601730","file3":"1338601723"},"map_files_photo_id_array":[{"photo_id":"1338601730","filename":"file5"},{"photo_id":"1338601708","filename":"file2"},{"photo_id":"1338601728","filename":"file4"},{"photo_id":"1338601705","filename":"file1"},{"photo_id":"1338601702","filename":"file0"},{"photo_id":"1338601723","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338601728":["hashtag1","hashtag2"]},{"1338601730":["hashtag1","hashtag2"]},{"1338601723":["hashtag1","hashtag2"]},{"1338601705":["hashtag1","hashtag2"]},{"1338601708":["hashtag1","hashtag2"]},{"1338601702":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338601728, 1338601730, 1338601723, 1338601705, 1338601708, 1338601702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.575052738189697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:36:33.197013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/01/image_20022025_04_01_45_9347.jpg', '/home/pi/Desktop/images/20022025/04/01/image_20022025_04_01_55_10413.jpg', '/home/pi/Desktop/images/20022025/04/01/image_20022025_04_02_04_9472.jpg', '/home/pi/Desktop/images/20022025/04/02/image_20022025_04_02_15_10416.jpg', '/home/pi/Desktop/images/20022025/04/02/image_20022025_04_02_45_10345.jpg', '/home/pi/Desktop/images/20022025/04/03/image_20022025_04_03_15_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/01/image_20022025_04_01_45_9347.jpg
/home/pi/Desktop/images/20022025/04/01/image_20022025_04_01_55_10413.jpg
/home/pi/Desktop/images/20022025/04/01/image_20022025_04_02_04_9472.jpg
/home/pi/Desktop/images/20022025/04/02/image_20022025_04_02_15_10416.jpg
/home/pi/Desktop/images/20022025/04/02/image_20022025_04_02_45_10345.jpg
/home/pi/Desktop/images/20022025/04/03/image_20022025_04_03_15_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338601793","1338601796","1338601799","1338601790","1338601787","1338601785"],"photo_ids_order":["1338601785","1338601787","1338601790","1338601793","1338601796","1338601799"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0a265df0eca1138dec3b46c2976a6830.jpg","text":"TemporaryFile(/tmp/multipartBody8678975041285382680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058653747,"filename":"image_20022025_04_02_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/002468ecfe71d2fc3a1421d942f617e2.jpg","text":"TemporaryFile(/tmp/multipartBody1388699432963752424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058653747,"filename":"image_20022025_04_02_45_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7b1e62fd17690143c3092cc865114f0c.jpg","text":"TemporaryFile(/tmp/multipartBody374190078705008723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058653747,"filename":"image_20022025_04_03_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/859b1e68d70c19b1aeb90f0d9b2dc233.jpg","text":"TemporaryFile(/tmp/multipartBody940004409531224387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058653747,"filename":"image_20022025_04_02_04_9472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3e22fa3e7f0ac8b5402545e47028ca03.jpg","text":"TemporaryFile(/tmp/multipartBody3240032592724510335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058653747,"filename":"image_20022025_04_01_55_10413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/678e646acf8c024f44b6029f23b826c9.jpg","text":"TemporaryFile(/tmp/multipartBody2133660165970278930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058653747,"filename":"image_20022025_04_01_45_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338601790","file1":"1338601787","file0":"1338601785","file4":"1338601796","file5":"1338601799","file3":"1338601793"},"map_files_photo_id_array":[{"photo_id":"1338601799","filename":"file5"},{"photo_id":"1338601790","filename":"file2"},{"photo_id":"1338601796","filename":"file4"},{"photo_id":"1338601787","filename":"file1"},{"photo_id":"1338601785","filename":"file0"},{"photo_id":"1338601793","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338601793":["hashtag1","hashtag2"]},{"1338601796":["hashtag1","hashtag2"]},{"1338601799":["hashtag1","hashtag2"]},{"1338601790":["hashtag1","hashtag2"]},{"1338601787":["hashtag1","hashtag2"]},{"1338601785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338601793, 1338601796, 1338601799, 1338601790, 1338601787, 1338601785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.394251585006714 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:37:32.290382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/03/image_20022025_04_03_24_9328.jpg', '/home/pi/Desktop/images/20022025/04/03/image_20022025_04_03_35_10373.jpg', '/home/pi/Desktop/images/20022025/04/03/image_20022025_04_03_45_10353.jpg', '/home/pi/Desktop/images/20022025/04/03/image_20022025_04_04_05_10348.jpg', '/home/pi/Desktop/images/20022025/04/04/image_20022025_04_04_15_10319.jpg', '/home/pi/Desktop/images/20022025/04/04/image_20022025_04_04_25_9458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/03/image_20022025_04_03_24_9328.jpg
/home/pi/Desktop/images/20022025/04/03/image_20022025_04_03_35_10373.jpg
/home/pi/Desktop/images/20022025/04/03/image_20022025_04_03_45_10353.jpg
/home/pi/Desktop/images/20022025/04/03/image_20022025_04_04_05_10348.jpg
/home/pi/Desktop/images/20022025/04/04/image_20022025_04_04_15_10319.jpg
/home/pi/Desktop/images/20022025/04/04/image_20022025_04_04_25_9458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338601833","1338601824","1338601820","1338601817","1338601831","1338601828"],"photo_ids_order":["1338601817","1338601820","1338601824","1338601828","1338601831","1338601833"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4a66fdf1cddb8fcfad7a001bf366b42.jpg","text":"TemporaryFile(/tmp/multipartBody2322280075929987876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058712830,"filename":"image_20022025_04_04_25_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d7463890b6f641a208e2fa9bc6f8b5d5.jpg","text":"TemporaryFile(/tmp/multipartBody6393462186795376517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058712830,"filename":"image_20022025_04_03_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/351570997b33838f23bb66a3f2d4d078.jpg","text":"TemporaryFile(/tmp/multipartBody500127890148974417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058712830,"filename":"image_20022025_04_03_35_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da54474051b027765c315172fed7052f.jpg","text":"TemporaryFile(/tmp/multipartBody2021676828532078527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058712830,"filename":"image_20022025_04_03_24_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4406f8af70aae8ab5a060cb870605e4f.jpg","text":"TemporaryFile(/tmp/multipartBody2595064062646974651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058712830,"filename":"image_20022025_04_04_15_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/459e910175a4e7ddf4fde1ef2e687c43.jpg","text":"TemporaryFile(/tmp/multipartBody639274110394658007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058712830,"filename":"image_20022025_04_04_05_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338601824","file1":"1338601820","file0":"1338601817","file4":"1338601831","file5":"1338601833","file3":"1338601828"},"map_files_photo_id_array":[{"photo_id":"1338601833","filename":"file5"},{"photo_id":"1338601824","filename":"file2"},{"photo_id":"1338601831","filename":"file4"},{"photo_id":"1338601820","filename":"file1"},{"photo_id":"1338601817","filename":"file0"},{"photo_id":"1338601828","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338601833":["hashtag1","hashtag2"]},{"1338601824":["hashtag1","hashtag2"]},{"1338601820":["hashtag1","hashtag2"]},{"1338601817":["hashtag1","hashtag2"]},{"1338601831":["hashtag1","hashtag2"]},{"1338601828":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338601833, 1338601824, 1338601820, 1338601817, 1338601831, 1338601828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.193316221237183 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:38:32.431671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/04/image_20022025_04_04_44_9324.jpg', '/home/pi/Desktop/images/20022025/04/04/image_20022025_04_04_55_10440.jpg', '/home/pi/Desktop/images/20022025/04/04/image_20022025_04_05_05_10338.jpg', '/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_14_9444.jpg', '/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_25_10408.jpg', '/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_35_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/04/image_20022025_04_04_44_9324.jpg
/home/pi/Desktop/images/20022025/04/04/image_20022025_04_04_55_10440.jpg
/home/pi/Desktop/images/20022025/04/04/image_20022025_04_05_05_10338.jpg
/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_14_9444.jpg
/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_25_10408.jpg
/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_35_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338601860","1338601856","1338601871","1338601867","1338601876","1338601864"],"photo_ids_order":["1338601856","1338601860","1338601864","1338601867","1338601871","1338601876"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4129f0d0838a5287d6b4f5cdd2952dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2036331262398612372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058772967,"filename":"image_20022025_04_04_55_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e466102379f274cd45aa917d1226bd03.jpg","text":"TemporaryFile(/tmp/multipartBody4951722695963667233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058772967,"filename":"image_20022025_04_04_44_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7b33d163a464bdacf9238a3c6bafd0f7.jpg","text":"TemporaryFile(/tmp/multipartBody4539003309306402829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058772967,"filename":"image_20022025_04_05_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76cd1476cd6cdd3d43d695d5a4317683.jpg","text":"TemporaryFile(/tmp/multipartBody4163705619135711063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058772967,"filename":"image_20022025_04_05_14_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/030f90f444ef2020d9dbc83be809cf90.jpg","text":"TemporaryFile(/tmp/multipartBody1433847571103285605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058772967,"filename":"image_20022025_04_05_35_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5be0a93b37911fd0dd3845eef4359cde.jpg","text":"TemporaryFile(/tmp/multipartBody2404444752636003869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058772967,"filename":"image_20022025_04_05_05_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338601864","file1":"1338601860","file0":"1338601856","file4":"1338601871","file5":"1338601876","file3":"1338601867"},"map_files_photo_id_array":[{"photo_id":"1338601876","filename":"file5"},{"photo_id":"1338601864","filename":"file2"},{"photo_id":"1338601871","filename":"file4"},{"photo_id":"1338601860","filename":"file1"},{"photo_id":"1338601856","filename":"file0"},{"photo_id":"1338601867","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338601860":["hashtag1","hashtag2"]},{"1338601856":["hashtag1","hashtag2"]},{"1338601871":["hashtag1","hashtag2"]},{"1338601867":["hashtag1","hashtag2"]},{"1338601876":["hashtag1","hashtag2"]},{"1338601864":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338601860, 1338601856, 1338601871, 1338601867, 1338601876, 1338601864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.658801317214966 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:39:32.691823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_45_9403.jpg', '/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_55_10329.jpg', '/home/pi/Desktop/images/20022025/04/06/image_20022025_04_06_15_10461.jpg', '/home/pi/Desktop/images/20022025/04/06/image_20022025_04_06_34_9389.jpg', '/home/pi/Desktop/images/20022025/04/06/image_20022025_04_07_05_10401.jpg', '/home/pi/Desktop/images/20022025/04/07/image_20022025_04_07_45_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_45_9403.jpg
/home/pi/Desktop/images/20022025/04/05/image_20022025_04_05_55_10329.jpg
/home/pi/Desktop/images/20022025/04/06/image_20022025_04_06_15_10461.jpg
/home/pi/Desktop/images/20022025/04/06/image_20022025_04_06_34_9389.jpg
/home/pi/Desktop/images/20022025/04/06/image_20022025_04_07_05_10401.jpg
/home/pi/Desktop/images/20022025/04/07/image_20022025_04_07_45_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338601893","1338601908","1338601911","1338601905","1338601897","1338601901"],"photo_ids_order":["1338601893","1338601897","1338601901","1338601905","1338601908","1338601911"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/47a0bde27448e735214234d1b29b12f3.jpg","text":"TemporaryFile(/tmp/multipartBody1539712415019148335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058833242,"filename":"image_20022025_04_05_45_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90d2d4c864ef6bfbc8ecd675351c85b1.jpg","text":"TemporaryFile(/tmp/multipartBody2008111869917299526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058833242,"filename":"image_20022025_04_07_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bb53ee32c8e773cd0e448ae895d3f63b.jpg","text":"TemporaryFile(/tmp/multipartBody1725777746328486945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058833242,"filename":"image_20022025_04_07_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/174a3865110735b3b6fc75164d2aabb9.jpg","text":"TemporaryFile(/tmp/multipartBody1061287565091083834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058833242,"filename":"image_20022025_04_06_34_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4eb0a9131e723ef48c885cb865e3a57.jpg","text":"TemporaryFile(/tmp/multipartBody6528075449704168001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058833242,"filename":"image_20022025_04_05_55_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31e1bf52b9a145d8ae07ddc08d4d7db8.jpg","text":"TemporaryFile(/tmp/multipartBody5553766237695245425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058833242,"filename":"image_20022025_04_06_15_10461.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338601901","file1":"1338601897","file0":"1338601893","file4":"1338601908","file5":"1338601911","file3":"1338601905"},"map_files_photo_id_array":[{"photo_id":"1338601911","filename":"file5"},{"photo_id":"1338601901","filename":"file2"},{"photo_id":"1338601908","filename":"file4"},{"photo_id":"1338601897","filename":"file1"},{"photo_id":"1338601893","filename":"file0"},{"photo_id":"1338601905","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338601893":["hashtag1","hashtag2"]},{"1338601908":["hashtag1","hashtag2"]},{"1338601911":["hashtag1","hashtag2"]},{"1338601905":["hashtag1","hashtag2"]},{"1338601897":["hashtag1","hashtag2"]},{"1338601901":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338601893, 1338601908, 1338601911, 1338601905, 1338601897, 1338601901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.24902653694153 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:40:32.871012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/08/image_20022025_04_08_15_10322.jpg', '/home/pi/Desktop/images/20022025/04/08/image_20022025_04_08_25_9400.jpg', '/home/pi/Desktop/images/20022025/04/08/image_20022025_04_08_35_10360.jpg', '/home/pi/Desktop/images/20022025/04/09/image_20022025_04_09_14_9309.jpg', '/home/pi/Desktop/images/20022025/04/09/image_20022025_04_09_25_10378.jpg', '/home/pi/Desktop/images/20022025/04/09/image_20022025_04_09_55_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/08/image_20022025_04_08_15_10322.jpg
/home/pi/Desktop/images/20022025/04/08/image_20022025_04_08_25_9400.jpg
/home/pi/Desktop/images/20022025/04/08/image_20022025_04_08_35_10360.jpg
/home/pi/Desktop/images/20022025/04/09/image_20022025_04_09_14_9309.jpg
/home/pi/Desktop/images/20022025/04/09/image_20022025_04_09_25_10378.jpg
/home/pi/Desktop/images/20022025/04/09/image_20022025_04_09_55_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338601929","1338601979","1338601937","1338601934","1338601942","1338602076"],"photo_ids_order":["1338601929","1338601934","1338601937","1338601942","1338601979","1338602076"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6bb8999da7971a3b9f0542f94f6ba839.jpg","text":"TemporaryFile(/tmp/multipartBody7814151820575891462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058893415,"filename":"image_20022025_04_08_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/475bfe0a0e20a66a3588deeedc49664c.jpg","text":"TemporaryFile(/tmp/multipartBody3712564996933370398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058893415,"filename":"image_20022025_04_09_25_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e13bcce21d024e721632fbb135601b1.jpg","text":"TemporaryFile(/tmp/multipartBody7919822451171425487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058893415,"filename":"image_20022025_04_08_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/35384e237ff6eb20a7bc157ab2a67c60.jpg","text":"TemporaryFile(/tmp/multipartBody146016099464358288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058893415,"filename":"image_20022025_04_08_25_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8192912167e9b974b5e2de14b20ed5f9.jpg","text":"TemporaryFile(/tmp/multipartBody2483748241222292629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058893415,"filename":"image_20022025_04_09_14_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41bd82c3273eae05460ca5b31be036e2.jpg","text":"TemporaryFile(/tmp/multipartBody7555031652650151459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058893415,"filename":"image_20022025_04_09_55_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338601937","file1":"1338601934","file0":"1338601929","file4":"1338601979","file5":"1338602076","file3":"1338601942"},"map_files_photo_id_array":[{"photo_id":"1338602076","filename":"file5"},{"photo_id":"1338601937","filename":"file2"},{"photo_id":"1338601979","filename":"file4"},{"photo_id":"1338601934","filename":"file1"},{"photo_id":"1338601929","filename":"file0"},{"photo_id":"1338601942","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338601929":["hashtag1","hashtag2"]},{"1338601979":["hashtag1","hashtag2"]},{"1338601937":["hashtag1","hashtag2"]},{"1338601934":["hashtag1","hashtag2"]},{"1338601942":["hashtag1","hashtag2"]},{"1338602076":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338601929, 1338601979, 1338601937, 1338601934, 1338601942, 1338602076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.758712768554688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:41:33.046770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/09/image_20022025_04_10_05_10338.jpg', '/home/pi/Desktop/images/20022025/04/10/image_20022025_04_10_15_9431.jpg', '/home/pi/Desktop/images/20022025/04/10/image_20022025_04_10_25_10344.jpg', '/home/pi/Desktop/images/20022025/04/10/image_20022025_04_10_34_9330.jpg', '/home/pi/Desktop/images/20022025/04/10/image_20022025_04_10_55_10328.jpg', '/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_15_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/09/image_20022025_04_10_05_10338.jpg
/home/pi/Desktop/images/20022025/04/10/image_20022025_04_10_15_9431.jpg
/home/pi/Desktop/images/20022025/04/10/image_20022025_04_10_25_10344.jpg
/home/pi/Desktop/images/20022025/04/10/image_20022025_04_10_34_9330.jpg
/home/pi/Desktop/images/20022025/04/10/image_20022025_04_10_55_10328.jpg
/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_15_10322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338602229","1338602217","1338602228","1338602212","1338602221","1338602224"],"photo_ids_order":["1338602212","1338602217","1338602221","1338602224","1338602228","1338602229"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/487a590b5ee44b9972a2e64387458e61.jpg","text":"TemporaryFile(/tmp/multipartBody4763411719065590851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058953600,"filename":"image_20022025_04_11_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d8114dd2b81fc14d7557df467fb2a3db.jpg","text":"TemporaryFile(/tmp/multipartBody110988756243995691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058953600,"filename":"image_20022025_04_10_15_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc79dd31da3911b9009c82f5dc20a876.jpg","text":"TemporaryFile(/tmp/multipartBody8407984093427519698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058953600,"filename":"image_20022025_04_10_55_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e9eed8d42dd63dae41674cbe12eb8556.jpg","text":"TemporaryFile(/tmp/multipartBody7337759380438585972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058953600,"filename":"image_20022025_04_10_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ec3c2ebabe08c24eb0410a7e00b8a4f.jpg","text":"TemporaryFile(/tmp/multipartBody2225813099044637058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058953600,"filename":"image_20022025_04_10_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f5a974c5fe74e1d0c2b770e4e2dc424.jpg","text":"TemporaryFile(/tmp/multipartBody2015126609189415311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740058953600,"filename":"image_20022025_04_10_34_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338602221","file1":"1338602217","file0":"1338602212","file4":"1338602228","file5":"1338602229","file3":"1338602224"},"map_files_photo_id_array":[{"photo_id":"1338602229","filename":"file5"},{"photo_id":"1338602221","filename":"file2"},{"photo_id":"1338602228","filename":"file4"},{"photo_id":"1338602217","filename":"file1"},{"photo_id":"1338602212","filename":"file0"},{"photo_id":"1338602224","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338602229":["hashtag1","hashtag2"]},{"1338602217":["hashtag1","hashtag2"]},{"1338602228":["hashtag1","hashtag2"]},{"1338602212":["hashtag1","hashtag2"]},{"1338602221":["hashtag1","hashtag2"]},{"1338602224":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338602229, 1338602217, 1338602228, 1338602212, 1338602221, 1338602224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5141019821167 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:42:32.154361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_25_10337.jpg', '/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_34_9378.jpg', '/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_45_10391.jpg', '/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_55_10344.jpg', '/home/pi/Desktop/images/20022025/04/11/image_20022025_04_12_05_9455.jpg', '/home/pi/Desktop/images/20022025/04/12/image_20022025_04_12_15_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_25_10337.jpg
/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_34_9378.jpg
/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_45_10391.jpg
/home/pi/Desktop/images/20022025/04/11/image_20022025_04_11_55_10344.jpg
/home/pi/Desktop/images/20022025/04/11/image_20022025_04_12_05_9455.jpg
/home/pi/Desktop/images/20022025/04/12/image_20022025_04_12_15_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338602253","1338602276","1338602263","1338602248","1338602283","1338602259"],"photo_ids_order":["1338602248","1338602253","1338602259","1338602263","1338602276","1338602283"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/350777dd91bc59e4a4acbae995591c9b.jpg","text":"TemporaryFile(/tmp/multipartBody4016568977506686409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059012979,"filename":"image_20022025_04_11_34_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4abed22e604b85251313e14f0d2e5c8a.jpg","text":"TemporaryFile(/tmp/multipartBody657019924071045503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059012979,"filename":"image_20022025_04_12_05_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c79f044aa3347ba71eb3cfe2c6133ac6.jpg","text":"TemporaryFile(/tmp/multipartBody4874011160748755124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059012979,"filename":"image_20022025_04_11_55_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cf1ae8fefbc2a46840bdedc8a50aaeba.jpg","text":"TemporaryFile(/tmp/multipartBody1291114380931731818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059012979,"filename":"image_20022025_04_11_25_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0864d707e289277fdf69bf33bd653393.jpg","text":"TemporaryFile(/tmp/multipartBody8827535012444131590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059012979,"filename":"image_20022025_04_12_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f2e2b49425b40165f627ccb80cfc97c.jpg","text":"TemporaryFile(/tmp/multipartBody3136278300018837657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059012979,"filename":"image_20022025_04_11_45_10391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338602259","file1":"1338602253","file0":"1338602248","file4":"1338602276","file5":"1338602283","file3":"1338602263"},"map_files_photo_id_array":[{"photo_id":"1338602283","filename":"file5"},{"photo_id":"1338602259","filename":"file2"},{"photo_id":"1338602276","filename":"file4"},{"photo_id":"1338602253","filename":"file1"},{"photo_id":"1338602248","filename":"file0"},{"photo_id":"1338602263","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338602253":["hashtag1","hashtag2"]},{"1338602276":["hashtag1","hashtag2"]},{"1338602263":["hashtag1","hashtag2"]},{"1338602248":["hashtag1","hashtag2"]},{"1338602283":["hashtag1","hashtag2"]},{"1338602259":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338602253, 1338602276, 1338602263, 1338602248, 1338602283, 1338602259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25898456573486 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:43:32.398289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/12/image_20022025_04_12_24_9460.jpg', '/home/pi/Desktop/images/20022025/04/12/image_20022025_04_12_45_10338.jpg', '/home/pi/Desktop/images/20022025/04/12/image_20022025_04_12_55_9442.jpg', '/home/pi/Desktop/images/20022025/04/13/image_20022025_04_13_35_10339.jpg', '/home/pi/Desktop/images/20022025/04/13/image_20022025_04_13_44_9354.jpg', '/home/pi/Desktop/images/20022025/04/13/image_20022025_04_13_55_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/12/image_20022025_04_12_24_9460.jpg
/home/pi/Desktop/images/20022025/04/12/image_20022025_04_12_45_10338.jpg
/home/pi/Desktop/images/20022025/04/12/image_20022025_04_12_55_9442.jpg
/home/pi/Desktop/images/20022025/04/13/image_20022025_04_13_35_10339.jpg
/home/pi/Desktop/images/20022025/04/13/image_20022025_04_13_44_9354.jpg
/home/pi/Desktop/images/20022025/04/13/image_20022025_04_13_55_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338602351","1338602345","1338602342","1338602350","1338602347","1338602337"],"photo_ids_order":["1338602337","1338602342","1338602345","1338602347","1338602350","1338602351"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d3ed3b1c393ea54ce126000c8fc4e18.jpg","text":"TemporaryFile(/tmp/multipartBody785286682573212611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059072944,"filename":"image_20022025_04_13_55_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/655b4358de61694f9d54f79f99eda747.jpg","text":"TemporaryFile(/tmp/multipartBody6449103965723053514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059072944,"filename":"image_20022025_04_12_55_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c5f6ea9bec42182518cf658768019b3d.jpg","text":"TemporaryFile(/tmp/multipartBody2365966609821397374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059072944,"filename":"image_20022025_04_12_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da81f19ccb0fab6c14117df37412a677.jpg","text":"TemporaryFile(/tmp/multipartBody2948887666511118433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059072944,"filename":"image_20022025_04_13_44_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/780f30a593dbfd1c256765590decfadc.jpg","text":"TemporaryFile(/tmp/multipartBody8597845787503825875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059072944,"filename":"image_20022025_04_13_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/27f27f77248b722da1d5f14885ab0d11.jpg","text":"TemporaryFile(/tmp/multipartBody3678694989330021298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059072944,"filename":"image_20022025_04_12_24_9460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338602345","file1":"1338602342","file0":"1338602337","file4":"1338602350","file5":"1338602351","file3":"1338602347"},"map_files_photo_id_array":[{"photo_id":"1338602351","filename":"file5"},{"photo_id":"1338602345","filename":"file2"},{"photo_id":"1338602350","filename":"file4"},{"photo_id":"1338602342","filename":"file1"},{"photo_id":"1338602337","filename":"file0"},{"photo_id":"1338602347","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338602351":["hashtag1","hashtag2"]},{"1338602345":["hashtag1","hashtag2"]},{"1338602342":["hashtag1","hashtag2"]},{"1338602350":["hashtag1","hashtag2"]},{"1338602347":["hashtag1","hashtag2"]},{"1338602337":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338602351, 1338602345, 1338602342, 1338602350, 1338602347, 1338602337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.192209005355835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:44:32.618370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/13/image_20022025_04_14_05_10326.jpg', '/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_14_9373.jpg', '/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_25_10454.jpg', '/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_35_10328.jpg', '/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_45_9452.jpg', '/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_55_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/13/image_20022025_04_14_05_10326.jpg
/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_14_9373.jpg
/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_25_10454.jpg
/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_35_10328.jpg
/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_45_9452.jpg
/home/pi/Desktop/images/20022025/04/14/image_20022025_04_14_55_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338602418","1338602411","1338602407","1338602422","1338602416","1338602421"],"photo_ids_order":["1338602407","1338602411","1338602416","1338602418","1338602421","1338602422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd5e0b547538ca1682d680f1bfd40c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7375379370663071887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059133181,"filename":"image_20022025_04_14_35_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/64e2337818ef401c6d67b876e36e0d87.jpg","text":"TemporaryFile(/tmp/multipartBody1937608193526822681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059133181,"filename":"image_20022025_04_14_14_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f49f186bd3a9eaf2ad4d2bb3cc8ba8c2.jpg","text":"TemporaryFile(/tmp/multipartBody3206190850527195676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059133181,"filename":"image_20022025_04_14_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8b5c7b888a4c656275451f1ee01b373.jpg","text":"TemporaryFile(/tmp/multipartBody5072648919923553867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059133181,"filename":"image_20022025_04_14_55_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a25590f1a855257e490799aca98ea1c1.jpg","text":"TemporaryFile(/tmp/multipartBody3394800308770371099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059133181,"filename":"image_20022025_04_14_25_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f27360f87b0d80429792f7a62264851f.jpg","text":"TemporaryFile(/tmp/multipartBody4924161821048529563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059133181,"filename":"image_20022025_04_14_45_9452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338602416","file1":"1338602411","file0":"1338602407","file4":"1338602421","file5":"1338602422","file3":"1338602418"},"map_files_photo_id_array":[{"photo_id":"1338602422","filename":"file5"},{"photo_id":"1338602416","filename":"file2"},{"photo_id":"1338602421","filename":"file4"},{"photo_id":"1338602411","filename":"file1"},{"photo_id":"1338602407","filename":"file0"},{"photo_id":"1338602418","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338602418":["hashtag1","hashtag2"]},{"1338602411":["hashtag1","hashtag2"]},{"1338602407":["hashtag1","hashtag2"]},{"1338602422":["hashtag1","hashtag2"]},{"1338602416":["hashtag1","hashtag2"]},{"1338602421":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338602418, 1338602411, 1338602407, 1338602422, 1338602416, 1338602421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.463784217834473 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:45:32.870401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/14/image_20022025_04_15_05_9470.jpg', '/home/pi/Desktop/images/20022025/04/15/image_20022025_04_15_35_9423.jpg', '/home/pi/Desktop/images/20022025/04/15/image_20022025_04_15_45_10344.jpg', '/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_15_10348.jpg', '/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_24_9371.jpg', '/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_35_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/14/image_20022025_04_15_05_9470.jpg
/home/pi/Desktop/images/20022025/04/15/image_20022025_04_15_35_9423.jpg
/home/pi/Desktop/images/20022025/04/15/image_20022025_04_15_45_10344.jpg
/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_15_10348.jpg
/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_24_9371.jpg
/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_35_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338602622","1338602450","1338602612","1338602456","1338602617","1338602620"],"photo_ids_order":["1338602450","1338602456","1338602612","1338602617","1338602620","1338602622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fcc0a65792b47ccda1c67e2530682a02.jpg","text":"TemporaryFile(/tmp/multipartBody4963433311929090101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059193425,"filename":"image_20022025_04_16_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bdb40294d6ba8d8b47cb63096aeca79.jpg","text":"TemporaryFile(/tmp/multipartBody1782732209684276973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059193425,"filename":"image_20022025_04_15_05_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60b2e7c24f5532972eed5e951d5fafd4.jpg","text":"TemporaryFile(/tmp/multipartBody3074764049593805832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059193425,"filename":"image_20022025_04_15_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c0ac69c8b3ae1230eef6f2cc97563a9.jpg","text":"TemporaryFile(/tmp/multipartBody8880128260855940198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059193425,"filename":"image_20022025_04_15_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2ddb2756d69d8d2e17975525255e71b9.jpg","text":"TemporaryFile(/tmp/multipartBody106642309513792195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059193425,"filename":"image_20022025_04_16_15_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a0874566bdab3c05b94c3dcad7fc4dd9.jpg","text":"TemporaryFile(/tmp/multipartBody3400872307784662609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059193425,"filename":"image_20022025_04_16_24_9371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338602612","file1":"1338602456","file0":"1338602450","file4":"1338602620","file5":"1338602622","file3":"1338602617"},"map_files_photo_id_array":[{"photo_id":"1338602622","filename":"file5"},{"photo_id":"1338602612","filename":"file2"},{"photo_id":"1338602620","filename":"file4"},{"photo_id":"1338602456","filename":"file1"},{"photo_id":"1338602450","filename":"file0"},{"photo_id":"1338602617","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338602622":["hashtag1","hashtag2"]},{"1338602450":["hashtag1","hashtag2"]},{"1338602612":["hashtag1","hashtag2"]},{"1338602456":["hashtag1","hashtag2"]},{"1338602617":["hashtag1","hashtag2"]},{"1338602620":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338602622, 1338602450, 1338602612, 1338602456, 1338602617, 1338602620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.71938705444336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:46:32.935272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_45_10346.jpg', '/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_54_9344.jpg', '/home/pi/Desktop/images/20022025/04/16/image_20022025_04_17_05_10329.jpg', '/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_15_10330.jpg', '/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_25_9461.jpg', '/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_35_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_45_10346.jpg
/home/pi/Desktop/images/20022025/04/16/image_20022025_04_16_54_9344.jpg
/home/pi/Desktop/images/20022025/04/16/image_20022025_04_17_05_10329.jpg
/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_15_10330.jpg
/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_25_9461.jpg
/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_35_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338602940","1338602954","1338602933","1338602950","1338602937","1338602946"],"photo_ids_order":["1338602933","1338602937","1338602940","1338602946","1338602950","1338602954"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6db0b94b81b46347893111cea7e09581.jpg","text":"TemporaryFile(/tmp/multipartBody1680091876501489070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059253501,"filename":"image_20022025_04_17_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de55e1401e47b99e6bd900e6854425c9.jpg","text":"TemporaryFile(/tmp/multipartBody6666197985542880133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059253501,"filename":"image_20022025_04_17_35_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c77a4bd680efd01257d58f40564738d.jpg","text":"TemporaryFile(/tmp/multipartBody7767225109105514182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059253501,"filename":"image_20022025_04_16_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/439da0d73f30cc2958ad1d851678313a.jpg","text":"TemporaryFile(/tmp/multipartBody367844945734936009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059253501,"filename":"image_20022025_04_17_25_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cf5b41c8eeca7fc8cf841914dae27d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1975436811845184908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059253501,"filename":"image_20022025_04_16_54_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f69aca392e283c03139d9f339bd01039.jpg","text":"TemporaryFile(/tmp/multipartBody5878602604329587447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059253501,"filename":"image_20022025_04_17_15_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338602940","file1":"1338602937","file0":"1338602933","file4":"1338602950","file5":"1338602954","file3":"1338602946"},"map_files_photo_id_array":[{"photo_id":"1338602954","filename":"file5"},{"photo_id":"1338602940","filename":"file2"},{"photo_id":"1338602950","filename":"file4"},{"photo_id":"1338602937","filename":"file1"},{"photo_id":"1338602933","filename":"file0"},{"photo_id":"1338602946","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338602940":["hashtag1","hashtag2"]},{"1338602954":["hashtag1","hashtag2"]},{"1338602933":["hashtag1","hashtag2"]},{"1338602950":["hashtag1","hashtag2"]},{"1338602937":["hashtag1","hashtag2"]},{"1338602946":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338602940, 1338602954, 1338602933, 1338602950, 1338602937, 1338602946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.544353485107422 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:47:33.170107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_44_9344.jpg', '/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_55_10431.jpg', '/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_14_9364.jpg', '/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_25_10340.jpg', '/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_35_10341.jpg', '/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_45_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_44_9344.jpg
/home/pi/Desktop/images/20022025/04/17/image_20022025_04_17_55_10431.jpg
/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_14_9364.jpg
/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_25_10340.jpg
/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_35_10341.jpg
/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_45_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338603356","1338603268","1338603262","1338603271","1338603279","1338603275"],"photo_ids_order":["1338603262","1338603268","1338603271","1338603275","1338603279","1338603356"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af8e2abef28741e2383793eb7e9b469c.jpg","text":"TemporaryFile(/tmp/multipartBody1367041773157680999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059313732,"filename":"image_20022025_04_18_45_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ed07b1141c5ae0ba46cf029e70e7db9.jpg","text":"TemporaryFile(/tmp/multipartBody4544741586348228430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059313732,"filename":"image_20022025_04_17_55_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/459d1c4eac5f302f1fe013bf8450abae.jpg","text":"TemporaryFile(/tmp/multipartBody7985661313057873168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059313732,"filename":"image_20022025_04_17_44_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1e62c215fe042257938ed1eefe73a204.jpg","text":"TemporaryFile(/tmp/multipartBody764132063060937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059313732,"filename":"image_20022025_04_18_14_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/feada850039a3220522eaf19d309ecae.jpg","text":"TemporaryFile(/tmp/multipartBody3904560337964587447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059313732,"filename":"image_20022025_04_18_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/64f2ac628a5478eeff2c270d8b1513de.jpg","text":"TemporaryFile(/tmp/multipartBody6655574906962500368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059313732,"filename":"image_20022025_04_18_25_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338603271","file1":"1338603268","file0":"1338603262","file4":"1338603279","file5":"1338603356","file3":"1338603275"},"map_files_photo_id_array":[{"photo_id":"1338603356","filename":"file5"},{"photo_id":"1338603271","filename":"file2"},{"photo_id":"1338603279","filename":"file4"},{"photo_id":"1338603268","filename":"file1"},{"photo_id":"1338603262","filename":"file0"},{"photo_id":"1338603275","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338603356":["hashtag1","hashtag2"]},{"1338603268":["hashtag1","hashtag2"]},{"1338603262":["hashtag1","hashtag2"]},{"1338603271":["hashtag1","hashtag2"]},{"1338603279":["hashtag1","hashtag2"]},{"1338603275":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338603356, 1338603268, 1338603262, 1338603271, 1338603279, 1338603275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.933608293533325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:48:32.272031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_55_10428.jpg', '/home/pi/Desktop/images/20022025/04/19/image_20022025_04_19_45_10326.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_15_10332.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_24_9366.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_35_10401.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_45_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_55_10428.jpg
/home/pi/Desktop/images/20022025/04/19/image_20022025_04_19_45_10326.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_15_10332.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_24_9366.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_35_10401.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_45_10333.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4825570583343506 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 14:48:42.339847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_55_10428.jpg', '/home/pi/Desktop/images/20022025/04/19/image_20022025_04_19_45_10326.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_15_10332.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_24_9366.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_35_10401.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_45_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/18/image_20022025_04_18_55_10428.jpg
/home/pi/Desktop/images/20022025/04/19/image_20022025_04_19_45_10326.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_15_10332.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_24_9366.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_35_10401.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_45_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338603575","1338603577","1338603571","1338603580","1338603584","1338603587"],"photo_ids_order":["1338603571","1338603575","1338603577","1338603580","1338603584","1338603587"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/07eb390037c5ca8108c18127a6ec940c.jpg","text":"TemporaryFile(/tmp/multipartBody9189211215702327967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059382811,"filename":"image_20022025_04_19_45_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1752971246c6870dcb855c90c542c1c.jpg","text":"TemporaryFile(/tmp/multipartBody7507990880415329254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059382811,"filename":"image_20022025_04_20_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3287501184aa1e44465ab5e73f19c19.jpg","text":"TemporaryFile(/tmp/multipartBody7601361463217330371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059382811,"filename":"image_20022025_04_18_55_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7580989f926a81d6af062ca6dcd62d05.jpg","text":"TemporaryFile(/tmp/multipartBody2786512511518944309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059382811,"filename":"image_20022025_04_20_24_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba6de648b338b4699269ed693d68b19c.jpg","text":"TemporaryFile(/tmp/multipartBody7082739947657577181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059382811,"filename":"image_20022025_04_20_35_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/805daac30e4261bee6e6456465d97677.jpg","text":"TemporaryFile(/tmp/multipartBody3675104150180915788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059382811,"filename":"image_20022025_04_20_45_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338603577","file1":"1338603575","file0":"1338603571","file4":"1338603584","file5":"1338603587","file3":"1338603580"},"map_files_photo_id_array":[{"photo_id":"1338603587","filename":"file5"},{"photo_id":"1338603577","filename":"file2"},{"photo_id":"1338603584","filename":"file4"},{"photo_id":"1338603575","filename":"file1"},{"photo_id":"1338603571","filename":"file0"},{"photo_id":"1338603580","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338603575":["hashtag1","hashtag2"]},{"1338603577":["hashtag1","hashtag2"]},{"1338603571":["hashtag1","hashtag2"]},{"1338603580":["hashtag1","hashtag2"]},{"1338603584":["hashtag1","hashtag2"]},{"1338603587":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338603575, 1338603577, 1338603571, 1338603580, 1338603584, 1338603587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.737255573272705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:49:32.455277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_54_9321.jpg', '/home/pi/Desktop/images/20022025/04/20/image_20022025_04_21_05_10379.jpg', '/home/pi/Desktop/images/20022025/04/21/image_20022025_04_21_15_10328.jpg', '/home/pi/Desktop/images/20022025/04/21/image_20022025_04_21_24_9393.jpg', '/home/pi/Desktop/images/20022025/04/21/image_20022025_04_21_45_10333.jpg', '/home/pi/Desktop/images/20022025/04/21/image_20022025_04_22_05_10376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_20_54_9321.jpg
/home/pi/Desktop/images/20022025/04/20/image_20022025_04_21_05_10379.jpg
/home/pi/Desktop/images/20022025/04/21/image_20022025_04_21_15_10328.jpg
/home/pi/Desktop/images/20022025/04/21/image_20022025_04_21_24_9393.jpg
/home/pi/Desktop/images/20022025/04/21/image_20022025_04_21_45_10333.jpg
/home/pi/Desktop/images/20022025/04/21/image_20022025_04_22_05_10376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338603620","1338603623","1338603626","1338603616","1338603625","1338603610"],"photo_ids_order":["1338603610","1338603616","1338603620","1338603623","1338603625","1338603626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed91d864d6d3d64efd118e40afd718b5.jpg","text":"TemporaryFile(/tmp/multipartBody9143353450076003624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059433017,"filename":"image_20022025_04_21_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4e637b528fee423b8edc76b452812b4.jpg","text":"TemporaryFile(/tmp/multipartBody8542364221165982528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059433017,"filename":"image_20022025_04_21_24_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13d117d7ac716fa0910033b5ff0e1d2b.jpg","text":"TemporaryFile(/tmp/multipartBody7073599627853476889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059433017,"filename":"image_20022025_04_22_05_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0c2b50f4549b0ba9781b8532aef4e07.jpg","text":"TemporaryFile(/tmp/multipartBody7194884728847723379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059433017,"filename":"image_20022025_04_21_05_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dda18f569d2b8b6d958c3be739060d2a.jpg","text":"TemporaryFile(/tmp/multipartBody4388078321449264969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059433017,"filename":"image_20022025_04_21_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e0c62e72d4a6883deeae6c4561c332f.jpg","text":"TemporaryFile(/tmp/multipartBody4443256191944641218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059433017,"filename":"image_20022025_04_20_54_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338603620","file1":"1338603616","file0":"1338603610","file4":"1338603625","file5":"1338603626","file3":"1338603623"},"map_files_photo_id_array":[{"photo_id":"1338603626","filename":"file5"},{"photo_id":"1338603620","filename":"file2"},{"photo_id":"1338603625","filename":"file4"},{"photo_id":"1338603616","filename":"file1"},{"photo_id":"1338603610","filename":"file0"},{"photo_id":"1338603623","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338603620":["hashtag1","hashtag2"]},{"1338603623":["hashtag1","hashtag2"]},{"1338603626":["hashtag1","hashtag2"]},{"1338603616":["hashtag1","hashtag2"]},{"1338603625":["hashtag1","hashtag2"]},{"1338603610":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338603620, 1338603623, 1338603626, 1338603616, 1338603625, 1338603610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.235326528549194 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:50:32.702597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/22/image_20022025_04_22_14_9318.jpg', '/home/pi/Desktop/images/20022025/04/22/image_20022025_04_22_35_10340.jpg', '/home/pi/Desktop/images/20022025/04/22/image_20022025_04_22_55_10360.jpg', '/home/pi/Desktop/images/20022025/04/23/image_20022025_04_23_15_9328.jpg', '/home/pi/Desktop/images/20022025/04/23/image_20022025_04_23_25_10359.jpg', '/home/pi/Desktop/images/20022025/04/23/image_20022025_04_23_34_9327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/22/image_20022025_04_22_14_9318.jpg
/home/pi/Desktop/images/20022025/04/22/image_20022025_04_22_35_10340.jpg
/home/pi/Desktop/images/20022025/04/22/image_20022025_04_22_55_10360.jpg
/home/pi/Desktop/images/20022025/04/23/image_20022025_04_23_15_9328.jpg
/home/pi/Desktop/images/20022025/04/23/image_20022025_04_23_25_10359.jpg
/home/pi/Desktop/images/20022025/04/23/image_20022025_04_23_34_9327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338603860","1338603650","1338603646","1338603754","1338603669","1338603863"],"photo_ids_order":["1338603646","1338603650","1338603669","1338603754","1338603860","1338603863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8240e4d8f7b8ff5e4a4865a362e43b6.jpg","text":"TemporaryFile(/tmp/multipartBody5205144203696093803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059493253,"filename":"image_20022025_04_23_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e128c713aa43017b96c84d6859e320a6.jpg","text":"TemporaryFile(/tmp/multipartBody2285434228578525901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059493253,"filename":"image_20022025_04_22_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4a0f345d2265c8ddf44cd2a85d976c4.jpg","text":"TemporaryFile(/tmp/multipartBody2340130049643636140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059493253,"filename":"image_20022025_04_22_14_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10ec16e89bad0ead025bd7d326f669ac.jpg","text":"TemporaryFile(/tmp/multipartBody447505863530790136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059493253,"filename":"image_20022025_04_23_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c6f16ca191de3b28b36a1b3f36ce2c6.jpg","text":"TemporaryFile(/tmp/multipartBody6326691034061026622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059493253,"filename":"image_20022025_04_22_55_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/832aa774c3b8742ee014bca2fe75e712.jpg","text":"TemporaryFile(/tmp/multipartBody7374262718858655859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059493253,"filename":"image_20022025_04_23_34_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338603669","file1":"1338603650","file0":"1338603646","file4":"1338603860","file5":"1338603863","file3":"1338603754"},"map_files_photo_id_array":[{"photo_id":"1338603863","filename":"file5"},{"photo_id":"1338603669","filename":"file2"},{"photo_id":"1338603860","filename":"file4"},{"photo_id":"1338603650","filename":"file1"},{"photo_id":"1338603646","filename":"file0"},{"photo_id":"1338603754","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338603860":["hashtag1","hashtag2"]},{"1338603650":["hashtag1","hashtag2"]},{"1338603646":["hashtag1","hashtag2"]},{"1338603754":["hashtag1","hashtag2"]},{"1338603669":["hashtag1","hashtag2"]},{"1338603863":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338603860, 1338603650, 1338603646, 1338603754, 1338603669, 1338603863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.446731567382812 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:51:32.908291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/23/image_20022025_04_23_55_10361.jpg', '/home/pi/Desktop/images/20022025/04/24/image_20022025_04_24_45_10354.jpg', '/home/pi/Desktop/images/20022025/04/25/image_20022025_04_25_24_9405.jpg', '/home/pi/Desktop/images/20022025/04/25/image_20022025_04_25_35_10410.jpg', '/home/pi/Desktop/images/20022025/04/25/image_20022025_04_25_45_10353.jpg', '/home/pi/Desktop/images/20022025/04/25/image_20022025_04_25_55_9416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/23/image_20022025_04_23_55_10361.jpg
/home/pi/Desktop/images/20022025/04/24/image_20022025_04_24_45_10354.jpg
/home/pi/Desktop/images/20022025/04/25/image_20022025_04_25_24_9405.jpg
/home/pi/Desktop/images/20022025/04/25/image_20022025_04_25_35_10410.jpg
/home/pi/Desktop/images/20022025/04/25/image_20022025_04_25_45_10353.jpg
/home/pi/Desktop/images/20022025/04/25/image_20022025_04_25_55_9416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338604034","1338604007","1338604039","1338604024","1338604026","1338604011"],"photo_ids_order":["1338604007","1338604011","1338604024","1338604026","1338604034","1338604039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef81d4a50dede5abbceda64733b6bb9e.jpg","text":"TemporaryFile(/tmp/multipartBody7101632116762074596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059553460,"filename":"image_20022025_04_25_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f7c0b3be1948c9769f510c08396d72b0.jpg","text":"TemporaryFile(/tmp/multipartBody8855249910375550714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059553460,"filename":"image_20022025_04_23_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59be7dc424f46ddc55ba30fa388d97f7.jpg","text":"TemporaryFile(/tmp/multipartBody4116317936881012609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059553460,"filename":"image_20022025_04_25_55_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6d1a336719b9f8c100715264cd8125c.jpg","text":"TemporaryFile(/tmp/multipartBody8599216462628876430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059553460,"filename":"image_20022025_04_25_24_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ebe4dc9643ab19de5598f850aead4a8d.jpg","text":"TemporaryFile(/tmp/multipartBody5214628170290159287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059553460,"filename":"image_20022025_04_25_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ae24c277410ca306974ce83aea4d3684.jpg","text":"TemporaryFile(/tmp/multipartBody638208944311982371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059553460,"filename":"image_20022025_04_24_45_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604024","file1":"1338604011","file0":"1338604007","file4":"1338604034","file5":"1338604039","file3":"1338604026"},"map_files_photo_id_array":[{"photo_id":"1338604039","filename":"file5"},{"photo_id":"1338604024","filename":"file2"},{"photo_id":"1338604034","filename":"file4"},{"photo_id":"1338604011","filename":"file1"},{"photo_id":"1338604007","filename":"file0"},{"photo_id":"1338604026","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604034":["hashtag1","hashtag2"]},{"1338604007":["hashtag1","hashtag2"]},{"1338604039":["hashtag1","hashtag2"]},{"1338604024":["hashtag1","hashtag2"]},{"1338604026":["hashtag1","hashtag2"]},{"1338604011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604034, 1338604007, 1338604039, 1338604024, 1338604026, 1338604011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.575316667556763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:52:33.201814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/26/image_20022025_04_26_35_10352.jpg', '/home/pi/Desktop/images/20022025/04/26/image_20022025_04_26_45_9393.jpg', '/home/pi/Desktop/images/20022025/04/26/image_20022025_04_27_05_10337.jpg', '/home/pi/Desktop/images/20022025/04/27/image_20022025_04_27_15_9334.jpg', '/home/pi/Desktop/images/20022025/04/27/image_20022025_04_27_45_10419.jpg', '/home/pi/Desktop/images/20022025/04/27/image_20022025_04_27_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/26/image_20022025_04_26_35_10352.jpg
/home/pi/Desktop/images/20022025/04/26/image_20022025_04_26_45_9393.jpg
/home/pi/Desktop/images/20022025/04/26/image_20022025_04_27_05_10337.jpg
/home/pi/Desktop/images/20022025/04/27/image_20022025_04_27_15_9334.jpg
/home/pi/Desktop/images/20022025/04/27/image_20022025_04_27_45_10419.jpg
/home/pi/Desktop/images/20022025/04/27/image_20022025_04_27_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338604103","1338604120","1338604131","1338604128","1338604110","1338604107"],"photo_ids_order":["1338604103","1338604107","1338604110","1338604120","1338604128","1338604131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e23d12e90803611f4c2e73c9a67f2147.jpg","text":"TemporaryFile(/tmp/multipartBody5819552581412941579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059613754,"filename":"image_20022025_04_26_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/767eec7f902ec97497fe83287392cdfe.jpg","text":"TemporaryFile(/tmp/multipartBody4709381236750746963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059613754,"filename":"image_20022025_04_27_15_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9daa2c53fb136002a4a4c3fc9250881c.jpg","text":"TemporaryFile(/tmp/multipartBody1502015196784459334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059613754,"filename":"image_20022025_04_27_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/247ca341baf851434f5e75b9c5269cdb.jpg","text":"TemporaryFile(/tmp/multipartBody7151002369938495093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059613754,"filename":"image_20022025_04_27_45_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be54635576f642ce995c1854c673eff0.jpg","text":"TemporaryFile(/tmp/multipartBody7126129354311207451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059613754,"filename":"image_20022025_04_27_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52221ba8c66ea00e2272a30115063391.jpg","text":"TemporaryFile(/tmp/multipartBody720001631153310282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059613754,"filename":"image_20022025_04_26_45_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604110","file1":"1338604107","file0":"1338604103","file4":"1338604128","file5":"1338604131","file3":"1338604120"},"map_files_photo_id_array":[{"photo_id":"1338604131","filename":"file5"},{"photo_id":"1338604110","filename":"file2"},{"photo_id":"1338604128","filename":"file4"},{"photo_id":"1338604107","filename":"file1"},{"photo_id":"1338604103","filename":"file0"},{"photo_id":"1338604120","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604103":["hashtag1","hashtag2"]},{"1338604120":["hashtag1","hashtag2"]},{"1338604131":["hashtag1","hashtag2"]},{"1338604128":["hashtag1","hashtag2"]},{"1338604110":["hashtag1","hashtag2"]},{"1338604107":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604103, 1338604120, 1338604131, 1338604128, 1338604110, 1338604107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.787935495376587 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:53:32.548812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/28/image_20022025_04_28_25_10344.jpg', '/home/pi/Desktop/images/20022025/04/28/image_20022025_04_28_35_9333.jpg', '/home/pi/Desktop/images/20022025/04/28/image_20022025_04_28_45_10336.jpg', '/home/pi/Desktop/images/20022025/04/28/image_20022025_04_28_54_9345.jpg', '/home/pi/Desktop/images/20022025/04/28/image_20022025_04_29_05_10400.jpg', '/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_15_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/28/image_20022025_04_28_25_10344.jpg
/home/pi/Desktop/images/20022025/04/28/image_20022025_04_28_35_9333.jpg
/home/pi/Desktop/images/20022025/04/28/image_20022025_04_28_45_10336.jpg
/home/pi/Desktop/images/20022025/04/28/image_20022025_04_28_54_9345.jpg
/home/pi/Desktop/images/20022025/04/28/image_20022025_04_29_05_10400.jpg
/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_15_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338604211","1338604198","1338604201","1338604204","1338604209","1338604206"],"photo_ids_order":["1338604198","1338604201","1338604204","1338604206","1338604209","1338604211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/632db680363451a9f68aa0bebb84ee7c.jpg","text":"TemporaryFile(/tmp/multipartBody2091099403641014991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059673102,"filename":"image_20022025_04_29_15_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cae5a4831b11054436398cdaafeec78.jpg","text":"TemporaryFile(/tmp/multipartBody9106068693355205123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059673102,"filename":"image_20022025_04_28_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ddfc7c4fcdb0eb6da1545b2409b1031.jpg","text":"TemporaryFile(/tmp/multipartBody1640485191114965556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059673102,"filename":"image_20022025_04_28_35_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3b0d6d06e31183a938feff2c1f76c03.jpg","text":"TemporaryFile(/tmp/multipartBody2446473140272094479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059673102,"filename":"image_20022025_04_28_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ddc6942d65ecf17c34135a9b8e5631e5.jpg","text":"TemporaryFile(/tmp/multipartBody6286328590973646929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059673102,"filename":"image_20022025_04_29_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0807a8acf4aba0b291c8476cf41e153a.jpg","text":"TemporaryFile(/tmp/multipartBody1176023934019606976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059673102,"filename":"image_20022025_04_28_54_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604204","file1":"1338604201","file0":"1338604198","file4":"1338604209","file5":"1338604211","file3":"1338604206"},"map_files_photo_id_array":[{"photo_id":"1338604211","filename":"file5"},{"photo_id":"1338604204","filename":"file2"},{"photo_id":"1338604209","filename":"file4"},{"photo_id":"1338604201","filename":"file1"},{"photo_id":"1338604198","filename":"file0"},{"photo_id":"1338604206","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604211":["hashtag1","hashtag2"]},{"1338604198":["hashtag1","hashtag2"]},{"1338604201":["hashtag1","hashtag2"]},{"1338604204":["hashtag1","hashtag2"]},{"1338604209":["hashtag1","hashtag2"]},{"1338604206":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604211, 1338604198, 1338604201, 1338604204, 1338604209, 1338604206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.970069885253906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:54:32.645145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_24_9391.jpg', '/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_35_10344.jpg', '/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_45_10358.jpg', '/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_55_9348.jpg', '/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_15_10347.jpg', '/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_25_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_24_9391.jpg
/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_35_10344.jpg
/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_45_10358.jpg
/home/pi/Desktop/images/20022025/04/29/image_20022025_04_29_55_9348.jpg
/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_15_10347.jpg
/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_25_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338604325","1338604319","1338604311","1338604314","1338604322","1338604316"],"photo_ids_order":["1338604311","1338604314","1338604316","1338604319","1338604322","1338604325"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a8a599fdcbe3c1731db83c0fde662ffc.jpg","text":"TemporaryFile(/tmp/multipartBody8885251497573040972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059733187,"filename":"image_20022025_04_30_25_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ec1908710a68c00c7ac8d4828b21df3.jpg","text":"TemporaryFile(/tmp/multipartBody9011289505701558369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059733187,"filename":"image_20022025_04_29_55_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/72ff640dd9faf56a842594c852f7af22.jpg","text":"TemporaryFile(/tmp/multipartBody6106181220495218180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059733187,"filename":"image_20022025_04_29_24_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83a17e091e4e0969656a381a8a8853ad.jpg","text":"TemporaryFile(/tmp/multipartBody3944189375740803325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059733187,"filename":"image_20022025_04_29_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/67f6ca149e45e225bc52853b0f0a268d.jpg","text":"TemporaryFile(/tmp/multipartBody8982614717736183893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059733187,"filename":"image_20022025_04_30_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e490356c6032a28be9561c0e3d37940.jpg","text":"TemporaryFile(/tmp/multipartBody7547345830266770008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059733187,"filename":"image_20022025_04_29_45_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604316","file1":"1338604314","file0":"1338604311","file4":"1338604322","file5":"1338604325","file3":"1338604319"},"map_files_photo_id_array":[{"photo_id":"1338604325","filename":"file5"},{"photo_id":"1338604316","filename":"file2"},{"photo_id":"1338604322","filename":"file4"},{"photo_id":"1338604314","filename":"file1"},{"photo_id":"1338604311","filename":"file0"},{"photo_id":"1338604319","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604325":["hashtag1","hashtag2"]},{"1338604319":["hashtag1","hashtag2"]},{"1338604311":["hashtag1","hashtag2"]},{"1338604314":["hashtag1","hashtag2"]},{"1338604322":["hashtag1","hashtag2"]},{"1338604316":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604325, 1338604319, 1338604311, 1338604314, 1338604322, 1338604316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.509037733078 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:55:32.866094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_35_10359.jpg', '/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_44_9342.jpg', '/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_55_10464.jpg', '/home/pi/Desktop/images/20022025/04/30/image_20022025_04_31_05_10445.jpg', '/home/pi/Desktop/images/20022025/04/31/image_20022025_04_31_25_10352.jpg', '/home/pi/Desktop/images/20022025/04/31/image_20022025_04_31_34_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_35_10359.jpg
/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_44_9342.jpg
/home/pi/Desktop/images/20022025/04/30/image_20022025_04_30_55_10464.jpg
/home/pi/Desktop/images/20022025/04/30/image_20022025_04_31_05_10445.jpg
/home/pi/Desktop/images/20022025/04/31/image_20022025_04_31_25_10352.jpg
/home/pi/Desktop/images/20022025/04/31/image_20022025_04_31_34_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338604350","1338604353","1338604347","1338604341","1338604355","1338604343"],"photo_ids_order":["1338604341","1338604343","1338604347","1338604350","1338604353","1338604355"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1fd6a6acf8dd58ff2b0219b1fbc9b67e.jpg","text":"TemporaryFile(/tmp/multipartBody4930948629369849632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059793405,"filename":"image_20022025_04_31_05_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2dd182b997223b9cf0b35f68e5bc64f8.jpg","text":"TemporaryFile(/tmp/multipartBody3163914591860192872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059793405,"filename":"image_20022025_04_31_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08ead1f320fb33b08b4271f1d629fbe2.jpg","text":"TemporaryFile(/tmp/multipartBody7051133089425603945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059793405,"filename":"image_20022025_04_30_55_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a62303e8814263ee35ac74bbfc382ef.jpg","text":"TemporaryFile(/tmp/multipartBody4472290002821502467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059793405,"filename":"image_20022025_04_30_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aef8fdb41b75e2467660f49e70ba298a.jpg","text":"TemporaryFile(/tmp/multipartBody23837208915393672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059793405,"filename":"image_20022025_04_31_34_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0a74bd2ba750ea4fbd34845330637ab7.jpg","text":"TemporaryFile(/tmp/multipartBody3384656262467258145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059793405,"filename":"image_20022025_04_30_44_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604347","file1":"1338604343","file0":"1338604341","file4":"1338604353","file5":"1338604355","file3":"1338604350"},"map_files_photo_id_array":[{"photo_id":"1338604355","filename":"file5"},{"photo_id":"1338604347","filename":"file2"},{"photo_id":"1338604353","filename":"file4"},{"photo_id":"1338604343","filename":"file1"},{"photo_id":"1338604341","filename":"file0"},{"photo_id":"1338604350","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604350":["hashtag1","hashtag2"]},{"1338604353":["hashtag1","hashtag2"]},{"1338604347":["hashtag1","hashtag2"]},{"1338604341":["hashtag1","hashtag2"]},{"1338604355":["hashtag1","hashtag2"]},{"1338604343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604350, 1338604353, 1338604347, 1338604341, 1338604355, 1338604343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.72336721420288 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:56:32.895038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/32/image_20022025_04_32_15_10315.jpg', '/home/pi/Desktop/images/20022025/04/32/image_20022025_04_32_24_9363.jpg', '/home/pi/Desktop/images/20022025/04/32/image_20022025_04_32_45_10357.jpg', '/home/pi/Desktop/images/20022025/04/32/image_20022025_04_32_54_9365.jpg', '/home/pi/Desktop/images/20022025/04/32/image_20022025_04_33_05_10365.jpg', '/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_15_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/32/image_20022025_04_32_15_10315.jpg
/home/pi/Desktop/images/20022025/04/32/image_20022025_04_32_24_9363.jpg
/home/pi/Desktop/images/20022025/04/32/image_20022025_04_32_45_10357.jpg
/home/pi/Desktop/images/20022025/04/32/image_20022025_04_32_54_9365.jpg
/home/pi/Desktop/images/20022025/04/32/image_20022025_04_33_05_10365.jpg
/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_15_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338604396","1338604393","1338604402","1338604389","1338604398","1338604401"],"photo_ids_order":["1338604389","1338604393","1338604396","1338604398","1338604401","1338604402"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0f86fe3c2b659aca977b60800dee3c30.jpg","text":"TemporaryFile(/tmp/multipartBody3018206184799278713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059853437,"filename":"image_20022025_04_32_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc3e350275d06e4b228e93710cdfed17.jpg","text":"TemporaryFile(/tmp/multipartBody4075973969557983365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059853437,"filename":"image_20022025_04_32_24_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/86eb742394fff81faae5cfd37ced884d.jpg","text":"TemporaryFile(/tmp/multipartBody4313574590046842909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059853437,"filename":"image_20022025_04_33_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2c809d851fb6ec036d6825e54f4a8d1.jpg","text":"TemporaryFile(/tmp/multipartBody4458029709132800647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059853437,"filename":"image_20022025_04_32_15_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c91df9437411d1a850063d3938f5f74c.jpg","text":"TemporaryFile(/tmp/multipartBody8242090366294358942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059853437,"filename":"image_20022025_04_32_54_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a302a5f28b3e25518fdbe69b06d29369.jpg","text":"TemporaryFile(/tmp/multipartBody9068879903641275740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740059853437,"filename":"image_20022025_04_33_05_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604396","file1":"1338604393","file0":"1338604389","file4":"1338604401","file5":"1338604402","file3":"1338604398"},"map_files_photo_id_array":[{"photo_id":"1338604402","filename":"file5"},{"photo_id":"1338604396","filename":"file2"},{"photo_id":"1338604401","filename":"file4"},{"photo_id":"1338604393","filename":"file1"},{"photo_id":"1338604389","filename":"file0"},{"photo_id":"1338604398","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604396":["hashtag1","hashtag2"]},{"1338604393":["hashtag1","hashtag2"]},{"1338604402":["hashtag1","hashtag2"]},{"1338604389":["hashtag1","hashtag2"]},{"1338604398":["hashtag1","hashtag2"]},{"1338604401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604396, 1338604393, 1338604402, 1338604389, 1338604398, 1338604401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.038583755493164 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 14:57:33.149674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_35_10461.jpg', '/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_45_10349.jpg', '/home/pi/Desktop/images/20022025/04/33/image_20022025_04_34_05_10470.jpg', '/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_14_9316.jpg', '/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_25_10367.jpg', '/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_35_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_35_10461.jpg
/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_45_10349.jpg
/home/pi/Desktop/images/20022025/04/33/image_20022025_04_34_05_10470.jpg
/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_14_9316.jpg
/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_25_10367.jpg
/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_35_10391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 14:59:04.389573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_35_10461.jpg', '/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_45_10349.jpg', '/home/pi/Desktop/images/20022025/04/33/image_20022025_04_34_05_10470.jpg', '/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_14_9316.jpg', '/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_25_10367.jpg', '/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_35_10391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_35_10461.jpg
/home/pi/Desktop/images/20022025/04/33/image_20022025_04_33_45_10349.jpg
/home/pi/Desktop/images/20022025/04/33/image_20022025_04_34_05_10470.jpg
/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_14_9316.jpg
/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_25_10367.jpg
/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_35_10391.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338604762","1338604782","1338604764","1338604788","1338604776","1338604769"],"photo_ids_order":["1338604762","1338604764","1338604769","1338604776","1338604782","1338604788"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/02441ed8b59e13076e230c8ef0f24919.jpg","text":"TemporaryFile(/tmp/multipartBody7432908428997243370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060005011,"filename":"image_20022025_04_33_35_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/983fe1b260d9716a883cd6bdebe3024a.jpg","text":"TemporaryFile(/tmp/multipartBody3612847181608565950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060005011,"filename":"image_20022025_04_34_25_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca9774c8292446d8231d7117c9cfde21.jpg","text":"TemporaryFile(/tmp/multipartBody1594870989998925415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060005011,"filename":"image_20022025_04_33_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4620f1d6bd6a8c167badcaedcd6d823c.jpg","text":"TemporaryFile(/tmp/multipartBody3376316044358158036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060005011,"filename":"image_20022025_04_34_35_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1464e4c9b266c426ec9e782c451e446f.jpg","text":"TemporaryFile(/tmp/multipartBody6879105544317293789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060005011,"filename":"image_20022025_04_34_14_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81283692e078ebd07e6ae615da84d935.jpg","text":"TemporaryFile(/tmp/multipartBody5578880063558864686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060005011,"filename":"image_20022025_04_34_05_10470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604769","file1":"1338604764","file0":"1338604762","file4":"1338604782","file5":"1338604788","file3":"1338604776"},"map_files_photo_id_array":[{"photo_id":"1338604788","filename":"file5"},{"photo_id":"1338604769","filename":"file2"},{"photo_id":"1338604782","filename":"file4"},{"photo_id":"1338604764","filename":"file1"},{"photo_id":"1338604762","filename":"file0"},{"photo_id":"1338604776","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604762":["hashtag1","hashtag2"]},{"1338604782":["hashtag1","hashtag2"]},{"1338604764":["hashtag1","hashtag2"]},{"1338604788":["hashtag1","hashtag2"]},{"1338604776":["hashtag1","hashtag2"]},{"1338604769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604762, 1338604782, 1338604764, 1338604788, 1338604776, 1338604769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2153422832489 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 14:59:42.901005
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_55_10347.jpg', '/home/pi/Desktop/images/20022025/04/35/image_20022025_04_35_14_9356.jpg', '/home/pi/Desktop/images/20022025/04/35/image_20022025_04_35_35_10340.jpg', '/home/pi/Desktop/images/20022025/04/35/image_20022025_04_35_45_9399.jpg', '/home/pi/Desktop/images/20022025/04/35/image_20022025_04_35_55_10368.jpg', '/home/pi/Desktop/images/20022025/04/35/image_20022025_04_36_04_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/34/image_20022025_04_34_55_10347.jpg
/home/pi/Desktop/images/20022025/04/35/image_20022025_04_35_14_9356.jpg
/home/pi/Desktop/images/20022025/04/35/image_20022025_04_35_35_10340.jpg
/home/pi/Desktop/images/20022025/04/35/image_20022025_04_35_45_9399.jpg
/home/pi/Desktop/images/20022025/04/35/image_20022025_04_35_55_10368.jpg
/home/pi/Desktop/images/20022025/04/35/image_20022025_04_36_04_9352.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":["1338604814","1338604808","1338604816","1338604818","1338604812","1338604811"],"photo_ids_order":["1338604808","1338604811","1338604812","1338604814","1338604816","1338604818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a2db9a835236a411f4f3e3114365564.jpg","text":"TemporaryFile(/tmp/multipartBody5184512394379467124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060043449,"filename":"image_20022025_04_35_45_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/329720503b9f91c7bf8eca1704473c88.jpg","text":"TemporaryFile(/tmp/multipartBody6539211533087799907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060043449,"filename":"image_20022025_04_34_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b8f657731029896dd271d2d339fd447.jpg","text":"TemporaryFile(/tmp/multipartBody5485093049378254673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060043449,"filename":"image_20022025_04_35_55_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4c5833bd65d116cb6919406feb9965c.jpg","text":"TemporaryFile(/tmp/multipartBody5982440159803007723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060043449,"filename":"image_20022025_04_36_04_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a1138296581e0fe00bf603b2ddcaae6b.jpg","text":"TemporaryFile(/tmp/multipartBody2862950130306506878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060043449,"filename":"image_20022025_04_35_35_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1744cab64a04b5f5f5dd2f758b377de.jpg","text":"TemporaryFile(/tmp/multipartBody7992849695434843050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060043449,"filename":"image_20022025_04_35_14_9356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604812","file1":"1338604811","file0":"1338604808","file4":"1338604816","file5":"1338604818","file3":"1338604814"},"map_files_photo_id_array":[{"photo_id":"1338604818","filename":"file5"},{"photo_id":"1338604812","filename":"file2"},{"photo_id":"1338604816","filename":"file4"},{"photo_id":"1338604811","filename":"file1"},{"photo_id":"1338604808","filename":"file0"},{"photo_id":"1338604814","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604814":["hashtag1","hashtag2"]},{"1338604808":["hashtag1","hashtag2"]},{"1338604816":["hashtag1","hashtag2"]},{"1338604818":["hashtag1","hashtag2"]},{"1338604812":["hashtag1","hashtag2"]},{"1338604811":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604814, 1338604808, 1338604816, 1338604818, 1338604812, 1338604811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.032155990600586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:00:32.909619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/36/image_20022025_04_36_25_10366.jpg', '/home/pi/Desktop/images/20022025/04/36/image_20022025_04_36_34_9333.jpg', '/home/pi/Desktop/images/20022025/04/36/image_20022025_04_36_45_10421.jpg', '/home/pi/Desktop/images/20022025/04/36/image_20022025_04_36_55_10364.jpg', '/home/pi/Desktop/images/20022025/04/36/image_20022025_04_37_05_9454.jpg', '/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_15_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/36/image_20022025_04_36_25_10366.jpg
/home/pi/Desktop/images/20022025/04/36/image_20022025_04_36_34_9333.jpg
/home/pi/Desktop/images/20022025/04/36/image_20022025_04_36_45_10421.jpg
/home/pi/Desktop/images/20022025/04/36/image_20022025_04_36_55_10364.jpg
/home/pi/Desktop/images/20022025/04/36/image_20022025_04_37_05_9454.jpg
/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_15_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338604837","1338604846","1338604878","1338604947","1338605039","1338604841"],"photo_ids_order":["1338604837","1338604841","1338604846","1338604878","1338604947","1338605039"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/931587942dad6d1a9bb79c565b187cbe.jpg","text":"TemporaryFile(/tmp/multipartBody7369860956532930284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060093457,"filename":"image_20022025_04_36_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d680398ad948ab789db67ec73b0968d8.jpg","text":"TemporaryFile(/tmp/multipartBody8536262330515073528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060093457,"filename":"image_20022025_04_36_45_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b5e670b79da4ba5d883c12b0b2bfe32.jpg","text":"TemporaryFile(/tmp/multipartBody6949865967015426231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060093457,"filename":"image_20022025_04_36_55_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24fc6389705fe1c38aa19491425fd845.jpg","text":"TemporaryFile(/tmp/multipartBody2574068696139348424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060093457,"filename":"image_20022025_04_37_05_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18496aaf923bb2f6fb8738f0f5f7a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody3148458546932389800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060093457,"filename":"image_20022025_04_37_15_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4aaf12b851457f44c4f81da92cbdf04a.jpg","text":"TemporaryFile(/tmp/multipartBody6971997815206823094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060093457,"filename":"image_20022025_04_36_34_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338604846","file1":"1338604841","file0":"1338604837","file4":"1338604947","file5":"1338605039","file3":"1338604878"},"map_files_photo_id_array":[{"photo_id":"1338605039","filename":"file5"},{"photo_id":"1338604846","filename":"file2"},{"photo_id":"1338604947","filename":"file4"},{"photo_id":"1338604841","filename":"file1"},{"photo_id":"1338604837","filename":"file0"},{"photo_id":"1338604878","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338604837":["hashtag1","hashtag2"]},{"1338604846":["hashtag1","hashtag2"]},{"1338604878":["hashtag1","hashtag2"]},{"1338604947":["hashtag1","hashtag2"]},{"1338605039":["hashtag1","hashtag2"]},{"1338604841":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338604837, 1338604846, 1338604878, 1338604947, 1338605039, 1338604841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.470861196517944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:01:33.038210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_24_9339.jpg', '/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_35_10425.jpg', '/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_45_10438.jpg', '/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_55_9402.jpg', '/home/pi/Desktop/images/20022025/04/37/image_20022025_04_38_05_10361.jpg', '/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_15_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_24_9339.jpg
/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_35_10425.jpg
/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_45_10438.jpg
/home/pi/Desktop/images/20022025/04/37/image_20022025_04_37_55_9402.jpg
/home/pi/Desktop/images/20022025/04/37/image_20022025_04_38_05_10361.jpg
/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_15_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338605071","1338605074","1338605056","1338605067","1338605060","1338605063"],"photo_ids_order":["1338605056","1338605060","1338605063","1338605067","1338605071","1338605074"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e4aefecc53dacf909c98938650647d2e.jpg","text":"TemporaryFile(/tmp/multipartBody663301516960566354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060153582,"filename":"image_20022025_04_38_05_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a1f90cb17050e73186ee2a126a384cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8902135318426793472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060153582,"filename":"image_20022025_04_38_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/375d6d4f5627ce69423686f85e3209ce.jpg","text":"TemporaryFile(/tmp/multipartBody766783122371862354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060153582,"filename":"image_20022025_04_37_24_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5dd61f61ac3fa98727ebbdac6b314a71.jpg","text":"TemporaryFile(/tmp/multipartBody3053384177666503652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060153582,"filename":"image_20022025_04_37_55_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4539a108fff57a1b417c5eed0d6a6cc9.jpg","text":"TemporaryFile(/tmp/multipartBody5278416667718286046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060153582,"filename":"image_20022025_04_37_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/349f1d1105d56c819b1919e3df168beb.jpg","text":"TemporaryFile(/tmp/multipartBody995214605853596951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060153582,"filename":"image_20022025_04_37_45_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338605063","file1":"1338605060","file0":"1338605056","file4":"1338605071","file5":"1338605074","file3":"1338605067"},"map_files_photo_id_array":[{"photo_id":"1338605074","filename":"file5"},{"photo_id":"1338605063","filename":"file2"},{"photo_id":"1338605071","filename":"file4"},{"photo_id":"1338605060","filename":"file1"},{"photo_id":"1338605056","filename":"file0"},{"photo_id":"1338605067","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338605071":["hashtag1","hashtag2"]},{"1338605074":["hashtag1","hashtag2"]},{"1338605056":["hashtag1","hashtag2"]},{"1338605067":["hashtag1","hashtag2"]},{"1338605060":["hashtag1","hashtag2"]},{"1338605063":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338605071, 1338605074, 1338605056, 1338605067, 1338605060, 1338605063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33685851097107 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:02:32.271777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_25_9417.jpg', '/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_35_10348.jpg', '/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_44_9330.jpg', '/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_55_10443.jpg', '/home/pi/Desktop/images/20022025/04/38/image_20022025_04_39_05_10353.jpg', '/home/pi/Desktop/images/20022025/04/39/image_20022025_04_39_25_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_25_9417.jpg
/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_35_10348.jpg
/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_44_9330.jpg
/home/pi/Desktop/images/20022025/04/38/image_20022025_04_38_55_10443.jpg
/home/pi/Desktop/images/20022025/04/38/image_20022025_04_39_05_10353.jpg
/home/pi/Desktop/images/20022025/04/39/image_20022025_04_39_25_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338605122","1338605124","1338605118","1338605112","1338605099","1338605105"],"photo_ids_order":["1338605099","1338605105","1338605112","1338605118","1338605122","1338605124"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8377522eba2d81cf0fdeb08fc484951.jpg","text":"TemporaryFile(/tmp/multipartBody903891626556326426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060212846,"filename":"image_20022025_04_39_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc515bbebddfe9d59b9bff686af50ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2467723115456875665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060212846,"filename":"image_20022025_04_39_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7749876198525a70f8e3ef5ec9e176ee.jpg","text":"TemporaryFile(/tmp/multipartBody1143524336905344847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060212846,"filename":"image_20022025_04_38_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41ff30017165cc315dbdfa8db6d9af15.jpg","text":"TemporaryFile(/tmp/multipartBody8514450556450905875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060212846,"filename":"image_20022025_04_38_44_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c3fef33d96886ac77f80b5b759e53b58.jpg","text":"TemporaryFile(/tmp/multipartBody7043921507511444241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060212846,"filename":"image_20022025_04_38_25_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5cf5b8f59eddcbeddbf61fd6c3958046.jpg","text":"TemporaryFile(/tmp/multipartBody4401855783241306172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060212846,"filename":"image_20022025_04_38_35_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338605112","file1":"1338605105","file0":"1338605099","file4":"1338605122","file5":"1338605124","file3":"1338605118"},"map_files_photo_id_array":[{"photo_id":"1338605124","filename":"file5"},{"photo_id":"1338605112","filename":"file2"},{"photo_id":"1338605122","filename":"file4"},{"photo_id":"1338605105","filename":"file1"},{"photo_id":"1338605099","filename":"file0"},{"photo_id":"1338605118","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338605122":["hashtag1","hashtag2"]},{"1338605124":["hashtag1","hashtag2"]},{"1338605118":["hashtag1","hashtag2"]},{"1338605112":["hashtag1","hashtag2"]},{"1338605099":["hashtag1","hashtag2"]},{"1338605105":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338605122, 1338605124, 1338605118, 1338605112, 1338605099, 1338605105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.250768184661865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:03:32.453382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/39/image_20022025_04_39_34_9407.jpg', '/home/pi/Desktop/images/20022025/04/39/image_20022025_04_39_45_10446.jpg', '/home/pi/Desktop/images/20022025/04/39/image_20022025_04_39_55_10331.jpg', '/home/pi/Desktop/images/20022025/04/40/image_20022025_04_40_35_9406.jpg', '/home/pi/Desktop/images/20022025/04/40/image_20022025_04_40_45_10359.jpg', '/home/pi/Desktop/images/20022025/04/40/image_20022025_04_40_54_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/39/image_20022025_04_39_34_9407.jpg
/home/pi/Desktop/images/20022025/04/39/image_20022025_04_39_45_10446.jpg
/home/pi/Desktop/images/20022025/04/39/image_20022025_04_39_55_10331.jpg
/home/pi/Desktop/images/20022025/04/40/image_20022025_04_40_35_9406.jpg
/home/pi/Desktop/images/20022025/04/40/image_20022025_04_40_45_10359.jpg
/home/pi/Desktop/images/20022025/04/40/image_20022025_04_40_54_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338605140","1338605153","1338605147","1338605141","1338605150","1338605144"],"photo_ids_order":["1338605140","1338605141","1338605144","1338605147","1338605150","1338605153"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b846085b7314225a966f5b463db395c.jpg","text":"TemporaryFile(/tmp/multipartBody4262451002678982447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060272998,"filename":"image_20022025_04_39_34_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e2eda45b628891a2dfc51e37e05476ef.jpg","text":"TemporaryFile(/tmp/multipartBody5019887394376256029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060272998,"filename":"image_20022025_04_40_54_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01d681759e650145e93e72149ee26e3b.jpg","text":"TemporaryFile(/tmp/multipartBody8154505815458364586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060272998,"filename":"image_20022025_04_40_35_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66118942550e0f0f7e6f021cb1ac3e0b.jpg","text":"TemporaryFile(/tmp/multipartBody2125699804752836139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060272998,"filename":"image_20022025_04_39_45_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b9967bc750e4db45a01a4f1060588f2b.jpg","text":"TemporaryFile(/tmp/multipartBody4600337595411679849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060272998,"filename":"image_20022025_04_40_45_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a0b36fe8484ffe2d1728c9ed28ddb103.jpg","text":"TemporaryFile(/tmp/multipartBody958527586482555811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060272998,"filename":"image_20022025_04_39_55_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338605144","file1":"1338605141","file0":"1338605140","file4":"1338605150","file5":"1338605153","file3":"1338605147"},"map_files_photo_id_array":[{"photo_id":"1338605153","filename":"file5"},{"photo_id":"1338605144","filename":"file2"},{"photo_id":"1338605150","filename":"file4"},{"photo_id":"1338605141","filename":"file1"},{"photo_id":"1338605140","filename":"file0"},{"photo_id":"1338605147","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338605140":["hashtag1","hashtag2"]},{"1338605153":["hashtag1","hashtag2"]},{"1338605147":["hashtag1","hashtag2"]},{"1338605141":["hashtag1","hashtag2"]},{"1338605150":["hashtag1","hashtag2"]},{"1338605144":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338605140, 1338605153, 1338605147, 1338605141, 1338605150, 1338605144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08137035369873 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:04:32.574938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/40/image_20022025_04_41_05_10402.jpg', '/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_15_10407.jpg', '/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_25_9348.jpg', '/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_35_10481.jpg', '/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_44_9474.jpg', '/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_55_10449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/40/image_20022025_04_41_05_10402.jpg
/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_15_10407.jpg
/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_25_9348.jpg
/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_35_10481.jpg
/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_44_9474.jpg
/home/pi/Desktop/images/20022025/04/41/image_20022025_04_41_55_10449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338605172","1338605181","1338605198","1338605201","1338605194","1338605188"],"photo_ids_order":["1338605172","1338605181","1338605188","1338605194","1338605198","1338605201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3987bad6ce985e050969dc2a06e27256.jpg","text":"TemporaryFile(/tmp/multipartBody3955347446313421541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060333118,"filename":"image_20022025_04_41_05_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cc4014da04617cd0d96df6c5d1c32c9.jpg","text":"TemporaryFile(/tmp/multipartBody675572328644495888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060333118,"filename":"image_20022025_04_41_15_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db800921ceb7e9a757ded45289dc03c7.jpg","text":"TemporaryFile(/tmp/multipartBody5987822911274726234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060333118,"filename":"image_20022025_04_41_44_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59e5109e579a02c88e9d3da1c184e123.jpg","text":"TemporaryFile(/tmp/multipartBody4407616774571329087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060333118,"filename":"image_20022025_04_41_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71527df4026dd5f1a881ee82ad892228.jpg","text":"TemporaryFile(/tmp/multipartBody2905941623713667942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060333118,"filename":"image_20022025_04_41_35_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1eea6377fd27376be6ef210a0c39c38.jpg","text":"TemporaryFile(/tmp/multipartBody5677760819000961095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060333118,"filename":"image_20022025_04_41_25_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338605188","file1":"1338605181","file0":"1338605172","file4":"1338605198","file5":"1338605201","file3":"1338605194"},"map_files_photo_id_array":[{"photo_id":"1338605201","filename":"file5"},{"photo_id":"1338605188","filename":"file2"},{"photo_id":"1338605198","filename":"file4"},{"photo_id":"1338605181","filename":"file1"},{"photo_id":"1338605172","filename":"file0"},{"photo_id":"1338605194","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338605172":["hashtag1","hashtag2"]},{"1338605181":["hashtag1","hashtag2"]},{"1338605198":["hashtag1","hashtag2"]},{"1338605201":["hashtag1","hashtag2"]},{"1338605194":["hashtag1","hashtag2"]},{"1338605188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338605172, 1338605181, 1338605198, 1338605201, 1338605194, 1338605188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.52561712265015 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:05:32.832979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/42/image_20022025_04_42_15_10354.jpg', '/home/pi/Desktop/images/20022025/04/42/image_20022025_04_42_25_10342.jpg', '/home/pi/Desktop/images/20022025/04/42/image_20022025_04_42_34_9339.jpg', '/home/pi/Desktop/images/20022025/04/43/image_20022025_04_43_15_10336.jpg', '/home/pi/Desktop/images/20022025/04/43/image_20022025_04_43_35_9364.jpg', '/home/pi/Desktop/images/20022025/04/43/image_20022025_04_43_45_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/42/image_20022025_04_42_15_10354.jpg
/home/pi/Desktop/images/20022025/04/42/image_20022025_04_42_25_10342.jpg
/home/pi/Desktop/images/20022025/04/42/image_20022025_04_42_34_9339.jpg
/home/pi/Desktop/images/20022025/04/43/image_20022025_04_43_15_10336.jpg
/home/pi/Desktop/images/20022025/04/43/image_20022025_04_43_35_9364.jpg
/home/pi/Desktop/images/20022025/04/43/image_20022025_04_43_45_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338605214","1338605228","1338605222","1338605216","1338605225","1338605219"],"photo_ids_order":["1338605214","1338605216","1338605219","1338605222","1338605225","1338605228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34f46e977f7eb63000510b8080834a34.jpg","text":"TemporaryFile(/tmp/multipartBody6434867055678129662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060393374,"filename":"image_20022025_04_42_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42d63ded2656f88364bd2d6f805bf4f9.jpg","text":"TemporaryFile(/tmp/multipartBody1534130079193942754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060393374,"filename":"image_20022025_04_43_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91071ea7a9828365076384faa2804de2.jpg","text":"TemporaryFile(/tmp/multipartBody6009778913592525349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060393374,"filename":"image_20022025_04_43_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7a4499fcff2baf72a4ccc1de3474603.jpg","text":"TemporaryFile(/tmp/multipartBody2526467710869198848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060393374,"filename":"image_20022025_04_42_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/67312424ba7130d339fe82b05c3c2937.jpg","text":"TemporaryFile(/tmp/multipartBody4658043958772892396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060393374,"filename":"image_20022025_04_43_35_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/43979e21feac056bf555cc8543a1dd7c.jpg","text":"TemporaryFile(/tmp/multipartBody4492120137444462433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060393374,"filename":"image_20022025_04_42_34_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338605219","file1":"1338605216","file0":"1338605214","file4":"1338605225","file5":"1338605228","file3":"1338605222"},"map_files_photo_id_array":[{"photo_id":"1338605228","filename":"file5"},{"photo_id":"1338605219","filename":"file2"},{"photo_id":"1338605225","filename":"file4"},{"photo_id":"1338605216","filename":"file1"},{"photo_id":"1338605214","filename":"file0"},{"photo_id":"1338605222","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338605214":["hashtag1","hashtag2"]},{"1338605228":["hashtag1","hashtag2"]},{"1338605222":["hashtag1","hashtag2"]},{"1338605216":["hashtag1","hashtag2"]},{"1338605225":["hashtag1","hashtag2"]},{"1338605219":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338605214, 1338605228, 1338605222, 1338605216, 1338605225, 1338605219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.538750886917114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:06:32.931259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/43/image_20022025_04_43_54_9361.jpg', '/home/pi/Desktop/images/20022025/04/44/image_20022025_04_44_15_10332.jpg', '/home/pi/Desktop/images/20022025/04/44/image_20022025_04_44_35_10356.jpg', '/home/pi/Desktop/images/20022025/04/44/image_20022025_04_44_45_10336.jpg', '/home/pi/Desktop/images/20022025/04/44/image_20022025_04_44_54_9338.jpg', '/home/pi/Desktop/images/20022025/04/44/image_20022025_04_45_05_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/43/image_20022025_04_43_54_9361.jpg
/home/pi/Desktop/images/20022025/04/44/image_20022025_04_44_15_10332.jpg
/home/pi/Desktop/images/20022025/04/44/image_20022025_04_44_35_10356.jpg
/home/pi/Desktop/images/20022025/04/44/image_20022025_04_44_45_10336.jpg
/home/pi/Desktop/images/20022025/04/44/image_20022025_04_44_54_9338.jpg
/home/pi/Desktop/images/20022025/04/44/image_20022025_04_45_05_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338605251","1338605650","1338605396","1338605297","1338605486","1338605249"],"photo_ids_order":["1338605249","1338605251","1338605297","1338605396","1338605486","1338605650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e96455f54fece3dbbc3e5f80602dcc54.jpg","text":"TemporaryFile(/tmp/multipartBody6836891472155218362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060453477,"filename":"image_20022025_04_44_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36ee67665b2d32908041bfdf7ba19863.jpg","text":"TemporaryFile(/tmp/multipartBody9142296336820814523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060453477,"filename":"image_20022025_04_45_05_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e9006e89952f15f35b3682cb1755d3a0.jpg","text":"TemporaryFile(/tmp/multipartBody6165948168934928280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060453477,"filename":"image_20022025_04_44_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a556855a62b350eb88a3a59f034833ce.jpg","text":"TemporaryFile(/tmp/multipartBody4932656348750502121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060453477,"filename":"image_20022025_04_44_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f6151f4c28ff6c6c1ea471cbf18bd7f5.jpg","text":"TemporaryFile(/tmp/multipartBody2846387506224682824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060453477,"filename":"image_20022025_04_44_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a45d653351d4e0479fba1d4c68896d0.jpg","text":"TemporaryFile(/tmp/multipartBody5430035490192444987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060453477,"filename":"image_20022025_04_43_54_9361.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338605297","file1":"1338605251","file0":"1338605249","file4":"1338605486","file5":"1338605650","file3":"1338605396"},"map_files_photo_id_array":[{"photo_id":"1338605650","filename":"file5"},{"photo_id":"1338605297","filename":"file2"},{"photo_id":"1338605486","filename":"file4"},{"photo_id":"1338605251","filename":"file1"},{"photo_id":"1338605249","filename":"file0"},{"photo_id":"1338605396","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338605251":["hashtag1","hashtag2"]},{"1338605650":["hashtag1","hashtag2"]},{"1338605396":["hashtag1","hashtag2"]},{"1338605297":["hashtag1","hashtag2"]},{"1338605486":["hashtag1","hashtag2"]},{"1338605249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338605251, 1338605650, 1338605396, 1338605297, 1338605486, 1338605249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.0951452255249 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:07:32.988374
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_15_10355.jpg', '/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_24_9402.jpg', '/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_35_10392.jpg', '/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_45_10366.jpg', '/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_55_9509.jpg', '/home/pi/Desktop/images/20022025/04/45/image_20022025_04_46_05_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_15_10355.jpg
/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_24_9402.jpg
/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_35_10392.jpg
/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_45_10366.jpg
/home/pi/Desktop/images/20022025/04/45/image_20022025_04_45_55_9509.jpg
/home/pi/Desktop/images/20022025/04/45/image_20022025_04_46_05_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338606435","1338606440","1338606443","1338606437","1338606428","1338606433"],"photo_ids_order":["1338606428","1338606433","1338606435","1338606437","1338606440","1338606443"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8293b5ac13a18fa8bab9701a40bc46b4.jpg","text":"TemporaryFile(/tmp/multipartBody1718205473164561643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060513537,"filename":"image_20022025_04_45_35_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/118a8b74cbaa830a9eb5f4359be677a5.jpg","text":"TemporaryFile(/tmp/multipartBody4882675170953217891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060513537,"filename":"image_20022025_04_45_55_9509.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7bebfc512d13a28be577e545f3e0df2f.jpg","text":"TemporaryFile(/tmp/multipartBody2641787636268159449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060513537,"filename":"image_20022025_04_46_05_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/93759349c6943972026f0d8a32caa30d.jpg","text":"TemporaryFile(/tmp/multipartBody3443777739882328236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060513537,"filename":"image_20022025_04_45_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e43e3081c85e2749914206a1212ce4ae.jpg","text":"TemporaryFile(/tmp/multipartBody8009242544737348054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060513537,"filename":"image_20022025_04_45_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be1c5d5d16d9b66471640e6249d41fbb.jpg","text":"TemporaryFile(/tmp/multipartBody2418764203134030571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060513537,"filename":"image_20022025_04_45_24_9402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338606435","file1":"1338606433","file0":"1338606428","file4":"1338606440","file5":"1338606443","file3":"1338606437"},"map_files_photo_id_array":[{"photo_id":"1338606443","filename":"file5"},{"photo_id":"1338606435","filename":"file2"},{"photo_id":"1338606440","filename":"file4"},{"photo_id":"1338606433","filename":"file1"},{"photo_id":"1338606428","filename":"file0"},{"photo_id":"1338606437","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338606435":["hashtag1","hashtag2"]},{"1338606440":["hashtag1","hashtag2"]},{"1338606443":["hashtag1","hashtag2"]},{"1338606437":["hashtag1","hashtag2"]},{"1338606428":["hashtag1","hashtag2"]},{"1338606433":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338606435, 1338606440, 1338606443, 1338606437, 1338606428, 1338606433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.25078320503235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:08:32.230491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/46/image_20022025_04_46_15_9454.jpg', '/home/pi/Desktop/images/20022025/04/47/image_20022025_04_47_15_10421.jpg', '/home/pi/Desktop/images/20022025/04/47/image_20022025_04_47_35_10360.jpg', '/home/pi/Desktop/images/20022025/04/47/image_20022025_04_47_44_9331.jpg', '/home/pi/Desktop/images/20022025/04/47/image_20022025_04_47_55_10456.jpg', '/home/pi/Desktop/images/20022025/04/47/image_20022025_04_48_05_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/46/image_20022025_04_46_15_9454.jpg
/home/pi/Desktop/images/20022025/04/47/image_20022025_04_47_15_10421.jpg
/home/pi/Desktop/images/20022025/04/47/image_20022025_04_47_35_10360.jpg
/home/pi/Desktop/images/20022025/04/47/image_20022025_04_47_44_9331.jpg
/home/pi/Desktop/images/20022025/04/47/image_20022025_04_47_55_10456.jpg
/home/pi/Desktop/images/20022025/04/47/image_20022025_04_48_05_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338606696","1338606654","1338606777","1338606773","1338606775","1338606778"],"photo_ids_order":["1338606654","1338606696","1338606773","1338606775","1338606777","1338606778"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e6d4ce8845e3b2e568ad73e88b3bd50.jpg","text":"TemporaryFile(/tmp/multipartBody2972035536221248030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060572783,"filename":"image_20022025_04_47_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/19e7c3d467ac01ae8ee2e498aaecef0b.jpg","text":"TemporaryFile(/tmp/multipartBody6469382982868264811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060572783,"filename":"image_20022025_04_46_15_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5e0bc5eb5f49283981aa4c0b5100939e.jpg","text":"TemporaryFile(/tmp/multipartBody719804904536169568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060572783,"filename":"image_20022025_04_47_55_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/152a9195328921232d489962547d07af.jpg","text":"TemporaryFile(/tmp/multipartBody8798044822285021053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060572783,"filename":"image_20022025_04_47_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/645e981527b400a6e5b69e179a848867.jpg","text":"TemporaryFile(/tmp/multipartBody5226985026053522767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060572783,"filename":"image_20022025_04_47_44_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c0d3e5841db4426cb5c31cf0d1639fe.jpg","text":"TemporaryFile(/tmp/multipartBody7507231260915646298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060572783,"filename":"image_20022025_04_48_05_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338606773","file1":"1338606696","file0":"1338606654","file4":"1338606777","file5":"1338606778","file3":"1338606775"},"map_files_photo_id_array":[{"photo_id":"1338606778","filename":"file5"},{"photo_id":"1338606773","filename":"file2"},{"photo_id":"1338606777","filename":"file4"},{"photo_id":"1338606696","filename":"file1"},{"photo_id":"1338606654","filename":"file0"},{"photo_id":"1338606775","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338606696":["hashtag1","hashtag2"]},{"1338606654":["hashtag1","hashtag2"]},{"1338606777":["hashtag1","hashtag2"]},{"1338606773":["hashtag1","hashtag2"]},{"1338606775":["hashtag1","hashtag2"]},{"1338606778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338606696, 1338606654, 1338606777, 1338606773, 1338606775, 1338606778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85825538635254 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:09:32.692595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/48/image_20022025_04_48_15_9404.jpg', '/home/pi/Desktop/images/20022025/04/48/image_20022025_04_48_34_9358.jpg', '/home/pi/Desktop/images/20022025/04/48/image_20022025_04_48_45_10365.jpg', '/home/pi/Desktop/images/20022025/04/48/image_20022025_04_48_55_10365.jpg', '/home/pi/Desktop/images/20022025/04/48/image_20022025_04_49_04_9336.jpg', '/home/pi/Desktop/images/20022025/04/49/image_20022025_04_49_25_10389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/48/image_20022025_04_48_15_9404.jpg
/home/pi/Desktop/images/20022025/04/48/image_20022025_04_48_34_9358.jpg
/home/pi/Desktop/images/20022025/04/48/image_20022025_04_48_45_10365.jpg
/home/pi/Desktop/images/20022025/04/48/image_20022025_04_48_55_10365.jpg
/home/pi/Desktop/images/20022025/04/48/image_20022025_04_49_04_9336.jpg
/home/pi/Desktop/images/20022025/04/49/image_20022025_04_49_25_10389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338606873","1338606876","1338606974","1338606914","1338606979","1338606886"],"photo_ids_order":["1338606873","1338606876","1338606886","1338606914","1338606974","1338606979"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a02076d2e1b35670ef8e0f1d48d688ea.jpg","text":"TemporaryFile(/tmp/multipartBody7452447348049556075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060633251,"filename":"image_20022025_04_48_15_9404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a6fe037599604267026bd0cbac54d372.jpg","text":"TemporaryFile(/tmp/multipartBody5212045735435922149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060633251,"filename":"image_20022025_04_48_34_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/627726a1e3a91f9a30d87b1d87daafb7.jpg","text":"TemporaryFile(/tmp/multipartBody7995561072197307330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060633251,"filename":"image_20022025_04_49_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/632099889ac4eafbbadd1ce1fed047c5.jpg","text":"TemporaryFile(/tmp/multipartBody681840393487797459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060633251,"filename":"image_20022025_04_48_55_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16324c5f8c4cb931adca20dece44f438.jpg","text":"TemporaryFile(/tmp/multipartBody5150509480564364676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060633251,"filename":"image_20022025_04_49_25_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36144a5f61dcc1860ffccf48b94ec4ff.jpg","text":"TemporaryFile(/tmp/multipartBody8254481346824339581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060633251,"filename":"image_20022025_04_48_45_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338606886","file1":"1338606876","file0":"1338606873","file4":"1338606974","file5":"1338606979","file3":"1338606914"},"map_files_photo_id_array":[{"photo_id":"1338606979","filename":"file5"},{"photo_id":"1338606886","filename":"file2"},{"photo_id":"1338606974","filename":"file4"},{"photo_id":"1338606876","filename":"file1"},{"photo_id":"1338606873","filename":"file0"},{"photo_id":"1338606914","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338606873":["hashtag1","hashtag2"]},{"1338606876":["hashtag1","hashtag2"]},{"1338606974":["hashtag1","hashtag2"]},{"1338606914":["hashtag1","hashtag2"]},{"1338606979":["hashtag1","hashtag2"]},{"1338606886":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338606873, 1338606876, 1338606974, 1338606914, 1338606979, 1338606886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.3804988861084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:10:32.753303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/49/image_20022025_04_49_35_9447.jpg', '/home/pi/Desktop/images/20022025/04/49/image_20022025_04_50_05_10336.jpg', '/home/pi/Desktop/images/20022025/04/50/image_20022025_04_50_15_10345.jpg', '/home/pi/Desktop/images/20022025/04/50/image_20022025_04_50_25_9556.jpg', '/home/pi/Desktop/images/20022025/04/50/image_20022025_04_50_45_10365.jpg', '/home/pi/Desktop/images/20022025/04/51/image_20022025_04_51_25_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/49/image_20022025_04_49_35_9447.jpg
/home/pi/Desktop/images/20022025/04/49/image_20022025_04_50_05_10336.jpg
/home/pi/Desktop/images/20022025/04/50/image_20022025_04_50_15_10345.jpg
/home/pi/Desktop/images/20022025/04/50/image_20022025_04_50_25_9556.jpg
/home/pi/Desktop/images/20022025/04/50/image_20022025_04_50_45_10365.jpg
/home/pi/Desktop/images/20022025/04/51/image_20022025_04_51_25_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338607125","1338607227","1338607099","1338607141","1338607123","1338607102"],"photo_ids_order":["1338607099","1338607102","1338607123","1338607125","1338607141","1338607227"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/03773c5f24fbba727af38761869b28a7.jpg","text":"TemporaryFile(/tmp/multipartBody5539699958955338024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060693301,"filename":"image_20022025_04_50_25_9556.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce6e5573996e0a384aa68f3425a1f421.jpg","text":"TemporaryFile(/tmp/multipartBody3033994342210040339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060693301,"filename":"image_20022025_04_51_25_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2034ef70e216a617e384372e0eb65f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2834419498064270218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060693301,"filename":"image_20022025_04_49_35_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9fffae33d2a5f339436b6ce63ecddc6.jpg","text":"TemporaryFile(/tmp/multipartBody7251443581449167822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060693301,"filename":"image_20022025_04_50_45_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9071edcc16892d14bec12ab6a5e5264b.jpg","text":"TemporaryFile(/tmp/multipartBody8470780287332268437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060693301,"filename":"image_20022025_04_50_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24bba36ec5f636653e897a70ffc82b61.jpg","text":"TemporaryFile(/tmp/multipartBody4588667923688990333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060693301,"filename":"image_20022025_04_50_05_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338607123","file1":"1338607102","file0":"1338607099","file4":"1338607141","file5":"1338607227","file3":"1338607125"},"map_files_photo_id_array":[{"photo_id":"1338607227","filename":"file5"},{"photo_id":"1338607123","filename":"file2"},{"photo_id":"1338607141","filename":"file4"},{"photo_id":"1338607102","filename":"file1"},{"photo_id":"1338607099","filename":"file0"},{"photo_id":"1338607125","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338607125":["hashtag1","hashtag2"]},{"1338607227":["hashtag1","hashtag2"]},{"1338607099":["hashtag1","hashtag2"]},{"1338607141":["hashtag1","hashtag2"]},{"1338607123":["hashtag1","hashtag2"]},{"1338607102":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338607125, 1338607227, 1338607099, 1338607141, 1338607123, 1338607102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.923381567001343 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:11:32.973043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/51/image_20022025_04_51_55_10416.jpg', '/home/pi/Desktop/images/20022025/04/51/image_20022025_04_52_04_9343.jpg', '/home/pi/Desktop/images/20022025/04/52/image_20022025_04_52_15_10371.jpg', '/home/pi/Desktop/images/20022025/04/52/image_20022025_04_52_25_10360.jpg', '/home/pi/Desktop/images/20022025/04/52/image_20022025_04_52_45_10396.jpg', '/home/pi/Desktop/images/20022025/04/52/image_20022025_04_52_55_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/51/image_20022025_04_51_55_10416.jpg
/home/pi/Desktop/images/20022025/04/51/image_20022025_04_52_04_9343.jpg
/home/pi/Desktop/images/20022025/04/52/image_20022025_04_52_15_10371.jpg
/home/pi/Desktop/images/20022025/04/52/image_20022025_04_52_25_10360.jpg
/home/pi/Desktop/images/20022025/04/52/image_20022025_04_52_45_10396.jpg
/home/pi/Desktop/images/20022025/04/52/image_20022025_04_52_55_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338607323","1338607294","1338607288","1338607321","1338607300","1338607303"],"photo_ids_order":["1338607288","1338607294","1338607300","1338607303","1338607321","1338607323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef0a1bd1db0f2b7ccfbb599b7d2a061d.jpg","text":"TemporaryFile(/tmp/multipartBody218661820373681908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060753513,"filename":"image_20022025_04_52_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8324b893895ce4e92aff2690cd65abd6.jpg","text":"TemporaryFile(/tmp/multipartBody7167035806187374800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060753513,"filename":"image_20022025_04_52_04_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68a0e647a4d812ae6ee5e8d53484765a.jpg","text":"TemporaryFile(/tmp/multipartBody2753942140281472459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060753513,"filename":"image_20022025_04_51_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/deb858b47d57508e2bce7fbccb4a07a6.jpg","text":"TemporaryFile(/tmp/multipartBody3586143003146166082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060753513,"filename":"image_20022025_04_52_45_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2af2d7df9db744913dc58f3fbc5a213b.jpg","text":"TemporaryFile(/tmp/multipartBody9096081209424176348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060753513,"filename":"image_20022025_04_52_15_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e7a19717cbd4ccf4fb03633acc9be4a5.jpg","text":"TemporaryFile(/tmp/multipartBody4031718553884482657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060753513,"filename":"image_20022025_04_52_25_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338607300","file1":"1338607294","file0":"1338607288","file4":"1338607321","file5":"1338607323","file3":"1338607303"},"map_files_photo_id_array":[{"photo_id":"1338607323","filename":"file5"},{"photo_id":"1338607300","filename":"file2"},{"photo_id":"1338607321","filename":"file4"},{"photo_id":"1338607294","filename":"file1"},{"photo_id":"1338607288","filename":"file0"},{"photo_id":"1338607303","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338607323":["hashtag1","hashtag2"]},{"1338607294":["hashtag1","hashtag2"]},{"1338607288":["hashtag1","hashtag2"]},{"1338607321":["hashtag1","hashtag2"]},{"1338607300":["hashtag1","hashtag2"]},{"1338607303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338607323, 1338607294, 1338607288, 1338607321, 1338607300, 1338607303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.41257953643799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:12:33.155191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/53/image_20022025_04_53_15_10343.jpg', '/home/pi/Desktop/images/20022025/04/53/image_20022025_04_53_24_9377.jpg', '/home/pi/Desktop/images/20022025/04/53/image_20022025_04_53_45_10333.jpg', '/home/pi/Desktop/images/20022025/04/53/image_20022025_04_53_54_9325.jpg', '/home/pi/Desktop/images/20022025/04/54/image_20022025_04_54_45_10354.jpg', '/home/pi/Desktop/images/20022025/04/54/image_20022025_04_55_05_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/53/image_20022025_04_53_15_10343.jpg
/home/pi/Desktop/images/20022025/04/53/image_20022025_04_53_24_9377.jpg
/home/pi/Desktop/images/20022025/04/53/image_20022025_04_53_45_10333.jpg
/home/pi/Desktop/images/20022025/04/53/image_20022025_04_53_54_9325.jpg
/home/pi/Desktop/images/20022025/04/54/image_20022025_04_54_45_10354.jpg
/home/pi/Desktop/images/20022025/04/54/image_20022025_04_55_05_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338607356","1338607350","1338607353","1338607346","1338607355","1338607408"],"photo_ids_order":["1338607346","1338607350","1338607353","1338607355","1338607356","1338607408"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a76751d5ebe659356211c8d4a18d03e4.jpg","text":"TemporaryFile(/tmp/multipartBody1623040985114928401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060813698,"filename":"image_20022025_04_54_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e68b982f8d7a7d7c07d0f8cf121b8b86.jpg","text":"TemporaryFile(/tmp/multipartBody3386196512745863862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060813698,"filename":"image_20022025_04_53_24_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1d423d998693949385e43c78d6a2ec9f.jpg","text":"TemporaryFile(/tmp/multipartBody4791370847087582083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060813698,"filename":"image_20022025_04_53_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1da00f4fecd1c7088d92eeb632e6020.jpg","text":"TemporaryFile(/tmp/multipartBody6567935984068255528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060813698,"filename":"image_20022025_04_53_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f141ff31bacfce81e51c231d2db8bc6.jpg","text":"TemporaryFile(/tmp/multipartBody3762252620701548318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060813698,"filename":"image_20022025_04_53_54_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/308791415bac0d5a633175aac69dc975.jpg","text":"TemporaryFile(/tmp/multipartBody1175064482409131603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060813698,"filename":"image_20022025_04_55_05_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338607353","file1":"1338607350","file0":"1338607346","file4":"1338607356","file5":"1338607408","file3":"1338607355"},"map_files_photo_id_array":[{"photo_id":"1338607408","filename":"file5"},{"photo_id":"1338607353","filename":"file2"},{"photo_id":"1338607356","filename":"file4"},{"photo_id":"1338607350","filename":"file1"},{"photo_id":"1338607346","filename":"file0"},{"photo_id":"1338607355","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338607356":["hashtag1","hashtag2"]},{"1338607350":["hashtag1","hashtag2"]},{"1338607353":["hashtag1","hashtag2"]},{"1338607346":["hashtag1","hashtag2"]},{"1338607355":["hashtag1","hashtag2"]},{"1338607408":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338607356, 1338607350, 1338607353, 1338607346, 1338607355, 1338607408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.810314893722534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:13:32.286160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/55/image_20022025_04_55_14_9533.jpg', '/home/pi/Desktop/images/20022025/04/55/image_20022025_04_55_35_10345.jpg', '/home/pi/Desktop/images/20022025/04/55/image_20022025_04_55_45_9353.jpg', '/home/pi/Desktop/images/20022025/04/55/image_20022025_04_55_55_10349.jpg', '/home/pi/Desktop/images/20022025/04/56/image_20022025_04_56_55_10390.jpg', '/home/pi/Desktop/images/20022025/04/56/image_20022025_04_57_05_9493.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/55/image_20022025_04_55_14_9533.jpg
/home/pi/Desktop/images/20022025/04/55/image_20022025_04_55_35_10345.jpg
/home/pi/Desktop/images/20022025/04/55/image_20022025_04_55_45_9353.jpg
/home/pi/Desktop/images/20022025/04/55/image_20022025_04_55_55_10349.jpg
/home/pi/Desktop/images/20022025/04/56/image_20022025_04_56_55_10390.jpg
/home/pi/Desktop/images/20022025/04/56/image_20022025_04_57_05_9493.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338607440","1338607506","1338607434","1338607450","1338607447","1338607504"],"photo_ids_order":["1338607434","1338607440","1338607447","1338607450","1338607504","1338607506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d229b3e07aac70ce2fe028adbe427c5.jpg","text":"TemporaryFile(/tmp/multipartBody4059245247666252150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060872837,"filename":"image_20022025_04_55_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01b7662c3dacfd267a6f4cce4363d1c6.jpg","text":"TemporaryFile(/tmp/multipartBody3034394378032590045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060872837,"filename":"image_20022025_04_57_05_9493.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/882eb017c302daeb617dc8f7810d01c7.jpg","text":"TemporaryFile(/tmp/multipartBody1707455448748170220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060872837,"filename":"image_20022025_04_55_14_9533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/05c94d88151f93ac00faa9c2dd32f893.jpg","text":"TemporaryFile(/tmp/multipartBody5459668364532945292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060872837,"filename":"image_20022025_04_55_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff77ee6adb2d8f030b5af46bdbde83d9.jpg","text":"TemporaryFile(/tmp/multipartBody2660723923652193642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060872837,"filename":"image_20022025_04_55_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e3f2eb76059a139cf0ae7b5d81f08749.jpg","text":"TemporaryFile(/tmp/multipartBody6811757618603093220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060872837,"filename":"image_20022025_04_56_55_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338607447","file1":"1338607440","file0":"1338607434","file4":"1338607504","file5":"1338607506","file3":"1338607450"},"map_files_photo_id_array":[{"photo_id":"1338607506","filename":"file5"},{"photo_id":"1338607447","filename":"file2"},{"photo_id":"1338607504","filename":"file4"},{"photo_id":"1338607440","filename":"file1"},{"photo_id":"1338607434","filename":"file0"},{"photo_id":"1338607450","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338607440":["hashtag1","hashtag2"]},{"1338607506":["hashtag1","hashtag2"]},{"1338607434":["hashtag1","hashtag2"]},{"1338607450":["hashtag1","hashtag2"]},{"1338607447":["hashtag1","hashtag2"]},{"1338607504":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338607440, 1338607506, 1338607434, 1338607450, 1338607447, 1338607504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21092939376831 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:14:32.476706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_15_10369.jpg', '/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_24_9353.jpg', '/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_35_10368.jpg', '/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_45_10340.jpg', '/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_54_9353.jpg', '/home/pi/Desktop/images/20022025/04/57/image_20022025_04_58_05_10428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_15_10369.jpg
/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_24_9353.jpg
/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_35_10368.jpg
/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_45_10340.jpg
/home/pi/Desktop/images/20022025/04/57/image_20022025_04_57_54_9353.jpg
/home/pi/Desktop/images/20022025/04/57/image_20022025_04_58_05_10428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338607548","1338607557","1338607545","1338607535","1338607549","1338607540"],"photo_ids_order":["1338607535","1338607540","1338607545","1338607548","1338607549","1338607557"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66fe53f6839545bdc35e04e9a3b3c652.jpg","text":"TemporaryFile(/tmp/multipartBody1254015541518029824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060933035,"filename":"image_20022025_04_57_45_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8dc8bfd35a2149205dab8d4690833e73.jpg","text":"TemporaryFile(/tmp/multipartBody6319494261489504230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060933035,"filename":"image_20022025_04_58_05_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc58308c16764290e611aeb6e27e55b0.jpg","text":"TemporaryFile(/tmp/multipartBody4154296744569170228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060933035,"filename":"image_20022025_04_57_35_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/589adf9f1752c92ea2b14bd48b28d4c2.jpg","text":"TemporaryFile(/tmp/multipartBody8984051489802734999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060933035,"filename":"image_20022025_04_57_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b5c47442129e823f7e8a4f062aeafe1.jpg","text":"TemporaryFile(/tmp/multipartBody4259915286616118470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060933035,"filename":"image_20022025_04_57_54_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9020173512859cffb01437fc9ad9d9a5.jpg","text":"TemporaryFile(/tmp/multipartBody1865660602495739895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060933035,"filename":"image_20022025_04_57_24_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338607545","file1":"1338607540","file0":"1338607535","file4":"1338607549","file5":"1338607557","file3":"1338607548"},"map_files_photo_id_array":[{"photo_id":"1338607557","filename":"file5"},{"photo_id":"1338607545","filename":"file2"},{"photo_id":"1338607549","filename":"file4"},{"photo_id":"1338607540","filename":"file1"},{"photo_id":"1338607535","filename":"file0"},{"photo_id":"1338607548","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338607548":["hashtag1","hashtag2"]},{"1338607557":["hashtag1","hashtag2"]},{"1338607545":["hashtag1","hashtag2"]},{"1338607535":["hashtag1","hashtag2"]},{"1338607549":["hashtag1","hashtag2"]},{"1338607540":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338607548, 1338607557, 1338607545, 1338607535, 1338607549, 1338607540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92586660385132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:15:32.653752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/04/59/image_20022025_04_59_14_9339.jpg', '/home/pi/Desktop/images/20022025/04/59/image_20022025_04_59_25_10348.jpg', '/home/pi/Desktop/images/20022025/04/59/image_20022025_04_59_55_10356.jpg', '/home/pi/Desktop/images/20022025/05/01/image_20022025_05_01_25_10411.jpg', '/home/pi/Desktop/images/20022025/05/01/image_20022025_05_01_45_9338.jpg', '/home/pi/Desktop/images/20022025/05/01/image_20022025_05_01_55_10472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/04/59/image_20022025_04_59_14_9339.jpg
/home/pi/Desktop/images/20022025/04/59/image_20022025_04_59_25_10348.jpg
/home/pi/Desktop/images/20022025/04/59/image_20022025_04_59_55_10356.jpg
/home/pi/Desktop/images/20022025/05/01/image_20022025_05_01_25_10411.jpg
/home/pi/Desktop/images/20022025/05/01/image_20022025_05_01_45_9338.jpg
/home/pi/Desktop/images/20022025/05/01/image_20022025_05_01_55_10472.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338607617","1338607613","1338607618","1338607612","1338607615","1338607609"],"photo_ids_order":["1338607609","1338607612","1338607613","1338607615","1338607617","1338607618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6f39826efd2261118277b75d1a2c29a.jpg","text":"TemporaryFile(/tmp/multipartBody4006159604490636612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060993198,"filename":"image_20022025_05_01_45_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4fc933662713c0379cdfbbabe6481532.jpg","text":"TemporaryFile(/tmp/multipartBody6533261901759970348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060993198,"filename":"image_20022025_04_59_55_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/73088ddbd2d31ee3cb80d869aed15085.jpg","text":"TemporaryFile(/tmp/multipartBody197098808466995702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060993198,"filename":"image_20022025_05_01_55_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f81199cbac2042bc9631cd1c91265391.jpg","text":"TemporaryFile(/tmp/multipartBody8912526924849914938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060993198,"filename":"image_20022025_04_59_25_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5f0dfc068472c44c7ca4d8063d5a41db.jpg","text":"TemporaryFile(/tmp/multipartBody3630783961360122524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060993198,"filename":"image_20022025_05_01_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a5f8958d351c49072dba69780b0e210.jpg","text":"TemporaryFile(/tmp/multipartBody8238940673564672568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740060993198,"filename":"image_20022025_04_59_14_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338607613","file1":"1338607612","file0":"1338607609","file4":"1338607617","file5":"1338607618","file3":"1338607615"},"map_files_photo_id_array":[{"photo_id":"1338607618","filename":"file5"},{"photo_id":"1338607613","filename":"file2"},{"photo_id":"1338607617","filename":"file4"},{"photo_id":"1338607612","filename":"file1"},{"photo_id":"1338607609","filename":"file0"},{"photo_id":"1338607615","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338607617":["hashtag1","hashtag2"]},{"1338607613":["hashtag1","hashtag2"]},{"1338607618":["hashtag1","hashtag2"]},{"1338607612":["hashtag1","hashtag2"]},{"1338607615":["hashtag1","hashtag2"]},{"1338607609":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338607617, 1338607613, 1338607618, 1338607612, 1338607615, 1338607609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.866633892059326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:16:32.776462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/01/image_20022025_05_02_04_9406.jpg', '/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_15_10324.jpg', '/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_25_10375.jpg', '/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_35_9402.jpg', '/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_45_10345.jpg', '/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_55_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/01/image_20022025_05_02_04_9406.jpg
/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_15_10324.jpg
/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_25_10375.jpg
/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_35_9402.jpg
/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_45_10345.jpg
/home/pi/Desktop/images/20022025/05/02/image_20022025_05_02_55_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338607647","1338607644","1338607652","1338607649","1338607642","1338607651"],"photo_ids_order":["1338607642","1338607644","1338607647","1338607649","1338607651","1338607652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75c01e3ba38eaf11b8df631f758910f8.jpg","text":"TemporaryFile(/tmp/multipartBody3693115896845282004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061053353,"filename":"image_20022025_05_02_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c8451b423f08f5efac664a1fec965a0b.jpg","text":"TemporaryFile(/tmp/multipartBody3158590824792986151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061053353,"filename":"image_20022025_05_02_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f12314946b5ac4b5dd529388575542db.jpg","text":"TemporaryFile(/tmp/multipartBody5070000041753292127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061053353,"filename":"image_20022025_05_02_55_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60f7ae0860cda1088903ea552bad32e0.jpg","text":"TemporaryFile(/tmp/multipartBody4703297648095162200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061053353,"filename":"image_20022025_05_02_35_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cdf66379c0c6ba181ad6ffe0f0b49100.jpg","text":"TemporaryFile(/tmp/multipartBody2686282795827727282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061053353,"filename":"image_20022025_05_02_04_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b22875b1e08efbf3c09f3bb0820ed44c.jpg","text":"TemporaryFile(/tmp/multipartBody7742891969691656015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061053353,"filename":"image_20022025_05_02_45_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338607647","file1":"1338607644","file0":"1338607642","file4":"1338607651","file5":"1338607652","file3":"1338607649"},"map_files_photo_id_array":[{"photo_id":"1338607652","filename":"file5"},{"photo_id":"1338607647","filename":"file2"},{"photo_id":"1338607651","filename":"file4"},{"photo_id":"1338607644","filename":"file1"},{"photo_id":"1338607642","filename":"file0"},{"photo_id":"1338607649","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338607647":["hashtag1","hashtag2"]},{"1338607644":["hashtag1","hashtag2"]},{"1338607652":["hashtag1","hashtag2"]},{"1338607649":["hashtag1","hashtag2"]},{"1338607642":["hashtag1","hashtag2"]},{"1338607651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338607647, 1338607644, 1338607652, 1338607649, 1338607642, 1338607651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.684528827667236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:17:33.051826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/03/image_20022025_05_03_25_10354.jpg', '/home/pi/Desktop/images/20022025/05/03/image_20022025_05_03_35_9366.jpg', '/home/pi/Desktop/images/20022025/05/03/image_20022025_05_03_55_9420.jpg', '/home/pi/Desktop/images/20022025/05/04/image_20022025_05_04_25_9335.jpg', '/home/pi/Desktop/images/20022025/05/04/image_20022025_05_04_45_10327.jpg', '/home/pi/Desktop/images/20022025/05/05/image_20022025_05_05_15_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/03/image_20022025_05_03_25_10354.jpg
/home/pi/Desktop/images/20022025/05/03/image_20022025_05_03_35_9366.jpg
/home/pi/Desktop/images/20022025/05/03/image_20022025_05_03_55_9420.jpg
/home/pi/Desktop/images/20022025/05/04/image_20022025_05_04_25_9335.jpg
/home/pi/Desktop/images/20022025/05/04/image_20022025_05_04_45_10327.jpg
/home/pi/Desktop/images/20022025/05/05/image_20022025_05_05_15_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338608294","1338608297","1338608251","1338608254","1338608253","1338608262"],"photo_ids_order":["1338608251","1338608253","1338608254","1338608262","1338608294","1338608297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5e06a0a753f11f895fb078c2e2e6b32.jpg","text":"TemporaryFile(/tmp/multipartBody5573820438918207252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061113881,"filename":"image_20022025_05_04_45_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/288857433c90410d08e53a06be7edf9b.jpg","text":"TemporaryFile(/tmp/multipartBody8119359701215843889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061113881,"filename":"image_20022025_05_05_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/51a4efa6947324745ee4f8ea2b3dc0a2.jpg","text":"TemporaryFile(/tmp/multipartBody1359731118151922411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061113881,"filename":"image_20022025_05_03_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a012d83a6fb530e438eca3076f28f1e8.jpg","text":"TemporaryFile(/tmp/multipartBody5115044480514783938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061113881,"filename":"image_20022025_05_03_55_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3339b899be18e66493632726956f2c6b.jpg","text":"TemporaryFile(/tmp/multipartBody2243015375682859990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061113881,"filename":"image_20022025_05_03_35_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e9d24b145f9be9aeeb436116273f5b05.jpg","text":"TemporaryFile(/tmp/multipartBody4202970923125825429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061113881,"filename":"image_20022025_05_04_25_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338608254","file1":"1338608253","file0":"1338608251","file4":"1338608294","file5":"1338608297","file3":"1338608262"},"map_files_photo_id_array":[{"photo_id":"1338608297","filename":"file5"},{"photo_id":"1338608254","filename":"file2"},{"photo_id":"1338608294","filename":"file4"},{"photo_id":"1338608253","filename":"file1"},{"photo_id":"1338608251","filename":"file0"},{"photo_id":"1338608262","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338608294":["hashtag1","hashtag2"]},{"1338608297":["hashtag1","hashtag2"]},{"1338608251":["hashtag1","hashtag2"]},{"1338608254":["hashtag1","hashtag2"]},{"1338608253":["hashtag1","hashtag2"]},{"1338608262":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338608294, 1338608297, 1338608251, 1338608254, 1338608253, 1338608262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.59478974342346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:18:32.170614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/05/image_20022025_05_05_44_9401.jpg', '/home/pi/Desktop/images/20022025/05/05/image_20022025_05_05_55_10425.jpg', '/home/pi/Desktop/images/20022025/05/05/image_20022025_05_06_05_10370.jpg', '/home/pi/Desktop/images/20022025/05/06/image_20022025_05_06_15_9408.jpg', '/home/pi/Desktop/images/20022025/05/06/image_20022025_05_06_25_10381.jpg', '/home/pi/Desktop/images/20022025/05/06/image_20022025_05_06_34_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/05/image_20022025_05_05_44_9401.jpg
/home/pi/Desktop/images/20022025/05/05/image_20022025_05_05_55_10425.jpg
/home/pi/Desktop/images/20022025/05/05/image_20022025_05_06_05_10370.jpg
/home/pi/Desktop/images/20022025/05/06/image_20022025_05_06_15_9408.jpg
/home/pi/Desktop/images/20022025/05/06/image_20022025_05_06_25_10381.jpg
/home/pi/Desktop/images/20022025/05/06/image_20022025_05_06_34_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338608345","1338608341","1338608350","1338608347","1338608349","1338608343"],"photo_ids_order":["1338608341","1338608343","1338608345","1338608347","1338608349","1338608350"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92b8fcb24e770b44ec0b0afe16f19fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1642235608335417817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061172738,"filename":"image_20022025_05_06_05_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9144140dcc1c699a93af902cf88e0fd8.jpg","text":"TemporaryFile(/tmp/multipartBody793813156517543806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061172738,"filename":"image_20022025_05_05_44_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/663a936f422e0e302c8686fe1928ec6d.jpg","text":"TemporaryFile(/tmp/multipartBody4105957623398723968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061172738,"filename":"image_20022025_05_06_34_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/74eb99ec032feb29d034775e82681252.jpg","text":"TemporaryFile(/tmp/multipartBody4409612205056304462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061172738,"filename":"image_20022025_05_06_15_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/752730a47a7ba1caa60bbb8237c73e83.jpg","text":"TemporaryFile(/tmp/multipartBody762580675290974609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061172738,"filename":"image_20022025_05_06_25_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/864aeed43a93b932f3292fd5611e1e3f.jpg","text":"TemporaryFile(/tmp/multipartBody8884276170064374984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061172738,"filename":"image_20022025_05_05_55_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338608345","file1":"1338608343","file0":"1338608341","file4":"1338608349","file5":"1338608350","file3":"1338608347"},"map_files_photo_id_array":[{"photo_id":"1338608350","filename":"file5"},{"photo_id":"1338608345","filename":"file2"},{"photo_id":"1338608349","filename":"file4"},{"photo_id":"1338608343","filename":"file1"},{"photo_id":"1338608341","filename":"file0"},{"photo_id":"1338608347","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338608345":["hashtag1","hashtag2"]},{"1338608341":["hashtag1","hashtag2"]},{"1338608350":["hashtag1","hashtag2"]},{"1338608347":["hashtag1","hashtag2"]},{"1338608349":["hashtag1","hashtag2"]},{"1338608343":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338608345, 1338608341, 1338608350, 1338608347, 1338608349, 1338608343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.46540117263794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:19:32.526502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/06/image_20022025_05_07_05_9428.jpg', '/home/pi/Desktop/images/20022025/05/07/image_20022025_05_07_15_10331.jpg', '/home/pi/Desktop/images/20022025/05/07/image_20022025_05_07_25_10335.jpg', '/home/pi/Desktop/images/20022025/05/07/image_20022025_05_07_35_9390.jpg', '/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_15_10369.jpg', '/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_24_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/06/image_20022025_05_07_05_9428.jpg
/home/pi/Desktop/images/20022025/05/07/image_20022025_05_07_15_10331.jpg
/home/pi/Desktop/images/20022025/05/07/image_20022025_05_07_25_10335.jpg
/home/pi/Desktop/images/20022025/05/07/image_20022025_05_07_35_9390.jpg
/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_15_10369.jpg
/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_24_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338608468","1338608461","1338608455","1338608446","1338608469","1338608448"],"photo_ids_order":["1338608446","1338608448","1338608455","1338608461","1338608468","1338608469"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4cce64244cb4f3cc7aaff6ff61410e2.jpg","text":"TemporaryFile(/tmp/multipartBody2219745059020631218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061233090,"filename":"image_20022025_05_08_15_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/277a86562c0ba55c702e91d319e51e36.jpg","text":"TemporaryFile(/tmp/multipartBody5737673266978617565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061233090,"filename":"image_20022025_05_07_35_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c546cce61ba27a894334e5af85b3b0e5.jpg","text":"TemporaryFile(/tmp/multipartBody418034266900700187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061233090,"filename":"image_20022025_05_07_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f720478fcb88891893cdf90791e816e8.jpg","text":"TemporaryFile(/tmp/multipartBody5166148074171085393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061233090,"filename":"image_20022025_05_07_05_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eaef1ce5f6ee9f99bb1f442468e3b639.jpg","text":"TemporaryFile(/tmp/multipartBody3852496412551199763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061233090,"filename":"image_20022025_05_08_24_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52c543341f35168a4d4bf71ba5237514.jpg","text":"TemporaryFile(/tmp/multipartBody6735622521879968237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061233090,"filename":"image_20022025_05_07_15_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338608455","file1":"1338608448","file0":"1338608446","file4":"1338608468","file5":"1338608469","file3":"1338608461"},"map_files_photo_id_array":[{"photo_id":"1338608469","filename":"file5"},{"photo_id":"1338608455","filename":"file2"},{"photo_id":"1338608468","filename":"file4"},{"photo_id":"1338608448","filename":"file1"},{"photo_id":"1338608446","filename":"file0"},{"photo_id":"1338608461","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338608468":["hashtag1","hashtag2"]},{"1338608461":["hashtag1","hashtag2"]},{"1338608455":["hashtag1","hashtag2"]},{"1338608446":["hashtag1","hashtag2"]},{"1338608469":["hashtag1","hashtag2"]},{"1338608448":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338608468, 1338608461, 1338608455, 1338608446, 1338608469, 1338608448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63787269592285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:20:32.517390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_35_10440.jpg', '/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_45_10354.jpg', '/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_55_9365.jpg', '/home/pi/Desktop/images/20022025/05/08/image_20022025_05_09_05_10360.jpg', '/home/pi/Desktop/images/20022025/05/09/image_20022025_05_09_15_10351.jpg', '/home/pi/Desktop/images/20022025/05/09/image_20022025_05_09_35_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_35_10440.jpg
/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_45_10354.jpg
/home/pi/Desktop/images/20022025/05/08/image_20022025_05_08_55_9365.jpg
/home/pi/Desktop/images/20022025/05/08/image_20022025_05_09_05_10360.jpg
/home/pi/Desktop/images/20022025/05/09/image_20022025_05_09_15_10351.jpg
/home/pi/Desktop/images/20022025/05/09/image_20022025_05_09_35_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338609233","1338609227","1338608828","1338609087","1338609231","1338609225"],"photo_ids_order":["1338608828","1338609087","1338609225","1338609227","1338609231","1338609233"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6514fec3b79ba9d542f47da99af9ff78.jpg","text":"TemporaryFile(/tmp/multipartBody3231564789511075203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061293069,"filename":"image_20022025_05_09_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7b62be006852b44f3372683e5824a341.jpg","text":"TemporaryFile(/tmp/multipartBody354658175852890929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061293069,"filename":"image_20022025_05_09_05_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c28149fc960539d5ea06aeb0fda47d44.jpg","text":"TemporaryFile(/tmp/multipartBody9207166102961360167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061293069,"filename":"image_20022025_05_08_35_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b75418aea3f9ba0c2724adbcd64b98e.jpg","text":"TemporaryFile(/tmp/multipartBody7829423288014238984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061293069,"filename":"image_20022025_05_08_45_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3bb391f719494463c5c7aac7a2be458.jpg","text":"TemporaryFile(/tmp/multipartBody52525013027533856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061293069,"filename":"image_20022025_05_09_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59afb22f4de2020efaf9abd7a047c142.jpg","text":"TemporaryFile(/tmp/multipartBody953892905452718612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061293069,"filename":"image_20022025_05_08_55_9365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338609225","file1":"1338609087","file0":"1338608828","file4":"1338609231","file5":"1338609233","file3":"1338609227"},"map_files_photo_id_array":[{"photo_id":"1338609233","filename":"file5"},{"photo_id":"1338609225","filename":"file2"},{"photo_id":"1338609231","filename":"file4"},{"photo_id":"1338609087","filename":"file1"},{"photo_id":"1338608828","filename":"file0"},{"photo_id":"1338609227","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338609233":["hashtag1","hashtag2"]},{"1338609227":["hashtag1","hashtag2"]},{"1338608828":["hashtag1","hashtag2"]},{"1338609087":["hashtag1","hashtag2"]},{"1338609231":["hashtag1","hashtag2"]},{"1338609225":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338609233, 1338609227, 1338608828, 1338609087, 1338609231, 1338609225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74097728729248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:21:32.832566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/09/image_20022025_05_09_44_9349.jpg', '/home/pi/Desktop/images/20022025/05/09/image_20022025_05_09_55_10349.jpg', '/home/pi/Desktop/images/20022025/05/09/image_20022025_05_10_05_10400.jpg', '/home/pi/Desktop/images/20022025/05/10/image_20022025_05_10_15_9316.jpg', '/home/pi/Desktop/images/20022025/05/10/image_20022025_05_10_25_10362.jpg', '/home/pi/Desktop/images/20022025/05/10/image_20022025_05_10_45_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/09/image_20022025_05_09_44_9349.jpg
/home/pi/Desktop/images/20022025/05/09/image_20022025_05_09_55_10349.jpg
/home/pi/Desktop/images/20022025/05/09/image_20022025_05_10_05_10400.jpg
/home/pi/Desktop/images/20022025/05/10/image_20022025_05_10_15_9316.jpg
/home/pi/Desktop/images/20022025/05/10/image_20022025_05_10_25_10362.jpg
/home/pi/Desktop/images/20022025/05/10/image_20022025_05_10_45_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338609667","1338609526","1338609523","1338609720","1338609528","1338609516"],"photo_ids_order":["1338609516","1338609523","1338609526","1338609528","1338609667","1338609720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ad09cfe74148e8dfb1b0d855b839746a.jpg","text":"TemporaryFile(/tmp/multipartBody1847155574899372790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061353400,"filename":"image_20022025_05_10_25_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d997870c8716bc8f6d5f4e3bd408535a.jpg","text":"TemporaryFile(/tmp/multipartBody6883963667626541191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061353400,"filename":"image_20022025_05_10_05_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4823b4aa2b30e391f0511512368464e3.jpg","text":"TemporaryFile(/tmp/multipartBody4790054313078270668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061353400,"filename":"image_20022025_05_09_55_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/daa5f96cd0eb18ea5b0f24a05b9eff3b.jpg","text":"TemporaryFile(/tmp/multipartBody2339642991892973368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061353400,"filename":"image_20022025_05_10_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4611616e6cb1da9f59ba6db2e9262f45.jpg","text":"TemporaryFile(/tmp/multipartBody401478300504024052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061353400,"filename":"image_20022025_05_10_15_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2a52bdcfb6128913326d4902f1c1559.jpg","text":"TemporaryFile(/tmp/multipartBody7062615237976218843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061353400,"filename":"image_20022025_05_09_44_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338609526","file1":"1338609523","file0":"1338609516","file4":"1338609667","file5":"1338609720","file3":"1338609528"},"map_files_photo_id_array":[{"photo_id":"1338609720","filename":"file5"},{"photo_id":"1338609526","filename":"file2"},{"photo_id":"1338609667","filename":"file4"},{"photo_id":"1338609523","filename":"file1"},{"photo_id":"1338609516","filename":"file0"},{"photo_id":"1338609528","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338609667":["hashtag1","hashtag2"]},{"1338609526":["hashtag1","hashtag2"]},{"1338609523":["hashtag1","hashtag2"]},{"1338609720":["hashtag1","hashtag2"]},{"1338609528":["hashtag1","hashtag2"]},{"1338609516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338609667, 1338609526, 1338609523, 1338609720, 1338609528, 1338609516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50420784950256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:22:32.922474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/10/image_20022025_05_10_55_10356.jpg', '/home/pi/Desktop/images/20022025/05/12/image_20022025_05_12_24_9389.jpg', '/home/pi/Desktop/images/20022025/05/12/image_20022025_05_12_35_10403.jpg', '/home/pi/Desktop/images/20022025/05/12/image_20022025_05_12_45_10361.jpg', '/home/pi/Desktop/images/20022025/05/12/image_20022025_05_12_55_9341.jpg', '/home/pi/Desktop/images/20022025/05/12/image_20022025_05_13_05_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/10/image_20022025_05_10_55_10356.jpg
/home/pi/Desktop/images/20022025/05/12/image_20022025_05_12_24_9389.jpg
/home/pi/Desktop/images/20022025/05/12/image_20022025_05_12_35_10403.jpg
/home/pi/Desktop/images/20022025/05/12/image_20022025_05_12_45_10361.jpg
/home/pi/Desktop/images/20022025/05/12/image_20022025_05_12_55_9341.jpg
/home/pi/Desktop/images/20022025/05/12/image_20022025_05_13_05_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338609809","1338609817","1338609820","1338609819","1338609813","1338609807"],"photo_ids_order":["1338609807","1338609809","1338609813","1338609817","1338609819","1338609820"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/685d1a4e1d41ba2a6292504f2c7498d7.jpg","text":"TemporaryFile(/tmp/multipartBody8152028240663733108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061413489,"filename":"image_20022025_05_12_24_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/264112b39decc5c8cf31153c8edc10d3.jpg","text":"TemporaryFile(/tmp/multipartBody4310028850971515143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061413489,"filename":"image_20022025_05_12_45_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7057c25ec11f6366321bf2026a20c272.jpg","text":"TemporaryFile(/tmp/multipartBody3348015809259410689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061413489,"filename":"image_20022025_05_13_05_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/317964f8c0636788de145440dbe85965.jpg","text":"TemporaryFile(/tmp/multipartBody984025220789137462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061413489,"filename":"image_20022025_05_12_55_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8bd67ee0f8da4b7b81e4c0c39f82e156.jpg","text":"TemporaryFile(/tmp/multipartBody6818596443073270123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061413489,"filename":"image_20022025_05_12_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/463fa3e38a3a51da847973f1f8090cb2.jpg","text":"TemporaryFile(/tmp/multipartBody7333408460090677993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061413489,"filename":"image_20022025_05_10_55_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338609813","file1":"1338609809","file0":"1338609807","file4":"1338609819","file5":"1338609820","file3":"1338609817"},"map_files_photo_id_array":[{"photo_id":"1338609820","filename":"file5"},{"photo_id":"1338609813","filename":"file2"},{"photo_id":"1338609819","filename":"file4"},{"photo_id":"1338609809","filename":"file1"},{"photo_id":"1338609807","filename":"file0"},{"photo_id":"1338609817","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338609809":["hashtag1","hashtag2"]},{"1338609817":["hashtag1","hashtag2"]},{"1338609820":["hashtag1","hashtag2"]},{"1338609819":["hashtag1","hashtag2"]},{"1338609813":["hashtag1","hashtag2"]},{"1338609807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338609809, 1338609817, 1338609820, 1338609819, 1338609813, 1338609807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3759491443634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:23:33.075711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/13/image_20022025_05_13_25_9349.jpg', '/home/pi/Desktop/images/20022025/05/13/image_20022025_05_13_35_10327.jpg', '/home/pi/Desktop/images/20022025/05/13/image_20022025_05_13_45_10335.jpg', '/home/pi/Desktop/images/20022025/05/13/image_20022025_05_13_55_9386.jpg', '/home/pi/Desktop/images/20022025/05/13/image_20022025_05_14_05_10351.jpg', '/home/pi/Desktop/images/20022025/05/14/image_20022025_05_14_14_9378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/13/image_20022025_05_13_25_9349.jpg
/home/pi/Desktop/images/20022025/05/13/image_20022025_05_13_35_10327.jpg
/home/pi/Desktop/images/20022025/05/13/image_20022025_05_13_45_10335.jpg
/home/pi/Desktop/images/20022025/05/13/image_20022025_05_13_55_9386.jpg
/home/pi/Desktop/images/20022025/05/13/image_20022025_05_14_05_10351.jpg
/home/pi/Desktop/images/20022025/05/14/image_20022025_05_14_14_9378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338610379","1338610349","1338610220","1338610291","1338610380","1338610161"],"photo_ids_order":["1338610161","1338610220","1338610291","1338610349","1338610379","1338610380"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e2ec212b3fa78cd85e41f53a5d73a621.jpg","text":"TemporaryFile(/tmp/multipartBody9136535584291743623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061473639,"filename":"image_20022025_05_14_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9f44c3b72097090d875d78bc6d79eee5.jpg","text":"TemporaryFile(/tmp/multipartBody4465463075699795071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061473639,"filename":"image_20022025_05_13_55_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/284abb349f4d6dbadbc197f5958e93e9.jpg","text":"TemporaryFile(/tmp/multipartBody1007930345930514942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061473639,"filename":"image_20022025_05_13_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/674df519a23498a409350563d09d6cce.jpg","text":"TemporaryFile(/tmp/multipartBody8812774293156252672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061473639,"filename":"image_20022025_05_13_45_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c8078f65cf5d7430af0604016bb45476.jpg","text":"TemporaryFile(/tmp/multipartBody5818783162224787522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061473639,"filename":"image_20022025_05_14_14_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc08e5f497b68721f548bf52b0dcd03b.jpg","text":"TemporaryFile(/tmp/multipartBody8608735879655347789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061473639,"filename":"image_20022025_05_13_25_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338610291","file1":"1338610220","file0":"1338610161","file4":"1338610379","file5":"1338610380","file3":"1338610349"},"map_files_photo_id_array":[{"photo_id":"1338610380","filename":"file5"},{"photo_id":"1338610291","filename":"file2"},{"photo_id":"1338610379","filename":"file4"},{"photo_id":"1338610220","filename":"file1"},{"photo_id":"1338610161","filename":"file0"},{"photo_id":"1338610349","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338610379":["hashtag1","hashtag2"]},{"1338610349":["hashtag1","hashtag2"]},{"1338610220":["hashtag1","hashtag2"]},{"1338610291":["hashtag1","hashtag2"]},{"1338610380":["hashtag1","hashtag2"]},{"1338610161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338610379, 1338610349, 1338610220, 1338610291, 1338610380, 1338610161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.621299505233765 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:24:32.384594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/14/image_20022025_05_14_25_10355.jpg', '/home/pi/Desktop/images/20022025/05/14/image_20022025_05_14_55_10351.jpg', '/home/pi/Desktop/images/20022025/05/14/image_20022025_05_15_05_10386.jpg', '/home/pi/Desktop/images/20022025/05/16/image_20022025_05_16_45_10385.jpg', '/home/pi/Desktop/images/20022025/05/16/image_20022025_05_16_55_9408.jpg', '/home/pi/Desktop/images/20022025/05/16/image_20022025_05_17_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/14/image_20022025_05_14_25_10355.jpg
/home/pi/Desktop/images/20022025/05/14/image_20022025_05_14_55_10351.jpg
/home/pi/Desktop/images/20022025/05/14/image_20022025_05_15_05_10386.jpg
/home/pi/Desktop/images/20022025/05/16/image_20022025_05_16_45_10385.jpg
/home/pi/Desktop/images/20022025/05/16/image_20022025_05_16_55_9408.jpg
/home/pi/Desktop/images/20022025/05/16/image_20022025_05_17_05_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338610508","1338610604","1338610552","1338610596","1338610600","1338610440"],"photo_ids_order":["1338610440","1338610508","1338610552","1338610596","1338610600","1338610604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a41200949e727a163339fdb38732412.jpg","text":"TemporaryFile(/tmp/multipartBody4906583690660361357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061534943,"filename":"image_20022025_05_14_55_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe862f924de6bc151b0605c643ef7df5.jpg","text":"TemporaryFile(/tmp/multipartBody1312580229433027373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061534943,"filename":"image_20022025_05_17_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6391a215e73d64e71c977fd86a2752f9.jpg","text":"TemporaryFile(/tmp/multipartBody4070816479346498723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061534943,"filename":"image_20022025_05_15_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6358d16bd32bb092ab52c457562c5119.jpg","text":"TemporaryFile(/tmp/multipartBody3670521499825921247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061534943,"filename":"image_20022025_05_16_45_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/595922551d945bcf9ab00c4e571fe523.jpg","text":"TemporaryFile(/tmp/multipartBody8180877669265220558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061534943,"filename":"image_20022025_05_16_55_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f14039eb62a73865b37867169f9069f8.jpg","text":"TemporaryFile(/tmp/multipartBody7955926576520614654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061534943,"filename":"image_20022025_05_14_25_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338610552","file1":"1338610508","file0":"1338610440","file4":"1338610600","file5":"1338610604","file3":"1338610596"},"map_files_photo_id_array":[{"photo_id":"1338610604","filename":"file5"},{"photo_id":"1338610552","filename":"file2"},{"photo_id":"1338610600","filename":"file4"},{"photo_id":"1338610508","filename":"file1"},{"photo_id":"1338610440","filename":"file0"},{"photo_id":"1338610596","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338610508":["hashtag1","hashtag2"]},{"1338610604":["hashtag1","hashtag2"]},{"1338610552":["hashtag1","hashtag2"]},{"1338610596":["hashtag1","hashtag2"]},{"1338610600":["hashtag1","hashtag2"]},{"1338610440":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338610508, 1338610604, 1338610552, 1338610596, 1338610600, 1338610440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54857015609741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:25:32.494019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/17/image_20022025_05_17_14_9353.jpg', '/home/pi/Desktop/images/20022025/05/17/image_20022025_05_17_25_10369.jpg', '/home/pi/Desktop/images/20022025/05/17/image_20022025_05_17_35_10363.jpg', '/home/pi/Desktop/images/20022025/05/18/image_20022025_05_18_15_9316.jpg', '/home/pi/Desktop/images/20022025/05/18/image_20022025_05_18_25_10620.jpg', '/home/pi/Desktop/images/20022025/05/18/image_20022025_05_18_35_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/17/image_20022025_05_17_14_9353.jpg
/home/pi/Desktop/images/20022025/05/17/image_20022025_05_17_25_10369.jpg
/home/pi/Desktop/images/20022025/05/17/image_20022025_05_17_35_10363.jpg
/home/pi/Desktop/images/20022025/05/18/image_20022025_05_18_15_9316.jpg
/home/pi/Desktop/images/20022025/05/18/image_20022025_05_18_25_10620.jpg
/home/pi/Desktop/images/20022025/05/18/image_20022025_05_18_35_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338610725","1338610742","1338610751","1338610754","1338610748","1338610747"],"photo_ids_order":["1338610725","1338610742","1338610747","1338610748","1338610751","1338610754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e45e14490c5725888a01c786b2329169.jpg","text":"TemporaryFile(/tmp/multipartBody5102218423776112351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061593089,"filename":"image_20022025_05_17_14_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d797912358a6392c9c3b8ad3927b0b4b.jpg","text":"TemporaryFile(/tmp/multipartBody1454271611444134872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061593089,"filename":"image_20022025_05_17_25_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0dfa3f517be8d2a71fcbf2b1de02fbd1.jpg","text":"TemporaryFile(/tmp/multipartBody8849065471222288527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061593089,"filename":"image_20022025_05_18_25_10620.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2013407d792e45942f0cb86475baf48f.jpg","text":"TemporaryFile(/tmp/multipartBody8632263976163495163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061593089,"filename":"image_20022025_05_18_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e4c934135bd6c5894d42d8f975f99c6.jpg","text":"TemporaryFile(/tmp/multipartBody8729948345346457560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061593089,"filename":"image_20022025_05_18_15_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/49c28cfca40e2d104ca01d3c89a41388.jpg","text":"TemporaryFile(/tmp/multipartBody6152262065213645134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061593089,"filename":"image_20022025_05_17_35_10363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338610747","file1":"1338610742","file0":"1338610725","file4":"1338610751","file5":"1338610754","file3":"1338610748"},"map_files_photo_id_array":[{"photo_id":"1338610754","filename":"file5"},{"photo_id":"1338610747","filename":"file2"},{"photo_id":"1338610751","filename":"file4"},{"photo_id":"1338610742","filename":"file1"},{"photo_id":"1338610725","filename":"file0"},{"photo_id":"1338610748","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338610725":["hashtag1","hashtag2"]},{"1338610742":["hashtag1","hashtag2"]},{"1338610751":["hashtag1","hashtag2"]},{"1338610754":["hashtag1","hashtag2"]},{"1338610748":["hashtag1","hashtag2"]},{"1338610747":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338610725, 1338610742, 1338610751, 1338610754, 1338610748, 1338610747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57312059402466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:26:32.560784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/18/image_20022025_05_18_45_10343.jpg', '/home/pi/Desktop/images/20022025/05/18/image_20022025_05_19_05_10135.jpg', '/home/pi/Desktop/images/20022025/05/20/image_20022025_05_20_15_10337.jpg', '/home/pi/Desktop/images/20022025/05/20/image_20022025_05_20_35_9443.jpg', '/home/pi/Desktop/images/20022025/05/20/image_20022025_05_20_45_10358.jpg', '/home/pi/Desktop/images/20022025/05/20/image_20022025_05_20_54_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/18/image_20022025_05_18_45_10343.jpg
/home/pi/Desktop/images/20022025/05/18/image_20022025_05_19_05_10135.jpg
/home/pi/Desktop/images/20022025/05/20/image_20022025_05_20_15_10337.jpg
/home/pi/Desktop/images/20022025/05/20/image_20022025_05_20_35_9443.jpg
/home/pi/Desktop/images/20022025/05/20/image_20022025_05_20_45_10358.jpg
/home/pi/Desktop/images/20022025/05/20/image_20022025_05_20_54_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338610787","1338610783","1338610768","1338610777","1338610785","1338610770"],"photo_ids_order":["1338610768","1338610770","1338610777","1338610783","1338610785","1338610787"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e95a6dd644c7f2116903488aa3539ced.jpg","text":"TemporaryFile(/tmp/multipartBody318482209104601485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061653133,"filename":"image_20022025_05_20_54_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8aedaed415a6d462d8d8b777b916cb04.jpg","text":"TemporaryFile(/tmp/multipartBody2056700528652191675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061653133,"filename":"image_20022025_05_20_35_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b212c0122806704c7362055457f09924.jpg","text":"TemporaryFile(/tmp/multipartBody4694100939861945786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061653133,"filename":"image_20022025_05_18_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/38048494ebe8963fbc36c35d78d25dc5.jpg","text":"TemporaryFile(/tmp/multipartBody6469455240188617622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061653133,"filename":"image_20022025_05_20_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/490341dcfdd7cdda21fb1257602d4085.jpg","text":"TemporaryFile(/tmp/multipartBody6794144231397844096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061653133,"filename":"image_20022025_05_20_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c5dc6de822f4c2dffd2fa9727b62a47.jpg","text":"TemporaryFile(/tmp/multipartBody1281824052345890671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061653133,"filename":"image_20022025_05_19_05_10135.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338610777","file1":"1338610770","file0":"1338610768","file4":"1338610785","file5":"1338610787","file3":"1338610783"},"map_files_photo_id_array":[{"photo_id":"1338610787","filename":"file5"},{"photo_id":"1338610777","filename":"file2"},{"photo_id":"1338610785","filename":"file4"},{"photo_id":"1338610770","filename":"file1"},{"photo_id":"1338610768","filename":"file0"},{"photo_id":"1338610783","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338610787":["hashtag1","hashtag2"]},{"1338610783":["hashtag1","hashtag2"]},{"1338610768":["hashtag1","hashtag2"]},{"1338610777":["hashtag1","hashtag2"]},{"1338610785":["hashtag1","hashtag2"]},{"1338610770":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338610787, 1338610783, 1338610768, 1338610777, 1338610785, 1338610770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75571823120117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:27:32.867955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/20/image_20022025_05_21_05_10328.jpg', '/home/pi/Desktop/images/20022025/05/21/image_20022025_05_21_15_10372.jpg', '/home/pi/Desktop/images/20022025/05/21/image_20022025_05_21_24_9354.jpg', '/home/pi/Desktop/images/20022025/05/21/image_20022025_05_21_55_9342.jpg', '/home/pi/Desktop/images/20022025/05/21/image_20022025_05_22_05_10350.jpg', '/home/pi/Desktop/images/20022025/05/22/image_20022025_05_22_15_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/20/image_20022025_05_21_05_10328.jpg
/home/pi/Desktop/images/20022025/05/21/image_20022025_05_21_15_10372.jpg
/home/pi/Desktop/images/20022025/05/21/image_20022025_05_21_24_9354.jpg
/home/pi/Desktop/images/20022025/05/21/image_20022025_05_21_55_9342.jpg
/home/pi/Desktop/images/20022025/05/21/image_20022025_05_22_05_10350.jpg
/home/pi/Desktop/images/20022025/05/22/image_20022025_05_22_15_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338610818","1338610811","1338610814","1338610816","1338610813","1338610812"],"photo_ids_order":["1338610811","1338610812","1338610813","1338610814","1338610816","1338610818"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/23683c96f153d2138b7d244dce686764.jpg","text":"TemporaryFile(/tmp/multipartBody208914375710739709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061713445,"filename":"image_20022025_05_22_15_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31957ddc1c95501e3ec4b80c6c042261.jpg","text":"TemporaryFile(/tmp/multipartBody1175219067357211734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061713445,"filename":"image_20022025_05_21_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7fa67c24cade4772b75d801703246615.jpg","text":"TemporaryFile(/tmp/multipartBody3733799282531416438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061713445,"filename":"image_20022025_05_21_55_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b60a9ace3ad167fa403939f8ede0bb31.jpg","text":"TemporaryFile(/tmp/multipartBody8807854914939050245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061713445,"filename":"image_20022025_05_22_05_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af5ecd1dbda6f32e686e729bcfa45f84.jpg","text":"TemporaryFile(/tmp/multipartBody5692417447090229988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061713445,"filename":"image_20022025_05_21_24_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f5ecbf0a2eadb614fd5892443f1805db.jpg","text":"TemporaryFile(/tmp/multipartBody4954681554382549056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061713445,"filename":"image_20022025_05_21_15_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338610813","file1":"1338610812","file0":"1338610811","file4":"1338610816","file5":"1338610818","file3":"1338610814"},"map_files_photo_id_array":[{"photo_id":"1338610818","filename":"file5"},{"photo_id":"1338610813","filename":"file2"},{"photo_id":"1338610816","filename":"file4"},{"photo_id":"1338610812","filename":"file1"},{"photo_id":"1338610811","filename":"file0"},{"photo_id":"1338610814","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338610818":["hashtag1","hashtag2"]},{"1338610811":["hashtag1","hashtag2"]},{"1338610814":["hashtag1","hashtag2"]},{"1338610816":["hashtag1","hashtag2"]},{"1338610813":["hashtag1","hashtag2"]},{"1338610812":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338610818, 1338610811, 1338610814, 1338610816, 1338610813, 1338610812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.153419494628906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:28:33.062010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/22/image_20022025_05_22_25_9409.jpg', '/home/pi/Desktop/images/20022025/05/22/image_20022025_05_22_35_10367.jpg', '/home/pi/Desktop/images/20022025/05/23/image_20022025_05_23_15_9417.jpg', '/home/pi/Desktop/images/20022025/05/23/image_20022025_05_24_05_9425.jpg', '/home/pi/Desktop/images/20022025/05/24/image_20022025_05_24_35_9418.jpg', '/home/pi/Desktop/images/20022025/05/24/image_20022025_05_24_45_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/22/image_20022025_05_22_25_9409.jpg
/home/pi/Desktop/images/20022025/05/22/image_20022025_05_22_35_10367.jpg
/home/pi/Desktop/images/20022025/05/23/image_20022025_05_23_15_9417.jpg
/home/pi/Desktop/images/20022025/05/23/image_20022025_05_24_05_9425.jpg
/home/pi/Desktop/images/20022025/05/24/image_20022025_05_24_35_9418.jpg
/home/pi/Desktop/images/20022025/05/24/image_20022025_05_24_45_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338610930","1338610912","1338610938","1338610932","1338610935","1338610920"],"photo_ids_order":["1338610912","1338610920","1338610930","1338610932","1338610935","1338610938"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d310f38cd8bc66b2327a08a3163a46c.jpg","text":"TemporaryFile(/tmp/multipartBody8641997425026072039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061773635,"filename":"image_20022025_05_23_15_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/095bc2791d577776324a4a347d18ff95.jpg","text":"TemporaryFile(/tmp/multipartBody2010474480331526133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061773635,"filename":"image_20022025_05_22_25_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b41340279b1dbd19ddf77350956e04a.jpg","text":"TemporaryFile(/tmp/multipartBody6614111438160072601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061773635,"filename":"image_20022025_05_24_45_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/edc7233a0c87ba8a0fbafe9e2ee43f0b.jpg","text":"TemporaryFile(/tmp/multipartBody7880910030287545114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061773635,"filename":"image_20022025_05_24_05_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9791948061fc6cdc0300564b35e7d9d6.jpg","text":"TemporaryFile(/tmp/multipartBody2461117949064291028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061773635,"filename":"image_20022025_05_24_35_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8e976576607b83d02a59015eaf40831.jpg","text":"TemporaryFile(/tmp/multipartBody7881825964446708221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061773635,"filename":"image_20022025_05_22_35_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338610930","file1":"1338610920","file0":"1338610912","file4":"1338610935","file5":"1338610938","file3":"1338610932"},"map_files_photo_id_array":[{"photo_id":"1338610938","filename":"file5"},{"photo_id":"1338610930","filename":"file2"},{"photo_id":"1338610935","filename":"file4"},{"photo_id":"1338610920","filename":"file1"},{"photo_id":"1338610912","filename":"file0"},{"photo_id":"1338610932","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338610930":["hashtag1","hashtag2"]},{"1338610912":["hashtag1","hashtag2"]},{"1338610938":["hashtag1","hashtag2"]},{"1338610932":["hashtag1","hashtag2"]},{"1338610935":["hashtag1","hashtag2"]},{"1338610920":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338610930, 1338610912, 1338610938, 1338610932, 1338610935, 1338610920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.961894035339355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:29:32.092135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/24/image_20022025_05_25_05_10358.jpg', '/home/pi/Desktop/images/20022025/05/25/image_20022025_05_25_25_9331.jpg', '/home/pi/Desktop/images/20022025/05/25/image_20022025_05_25_35_10345.jpg', '/home/pi/Desktop/images/20022025/05/25/image_20022025_05_25_45_10351.jpg', '/home/pi/Desktop/images/20022025/05/25/image_20022025_05_25_55_9350.jpg', '/home/pi/Desktop/images/20022025/05/25/image_20022025_05_26_05_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/24/image_20022025_05_25_05_10358.jpg
/home/pi/Desktop/images/20022025/05/25/image_20022025_05_25_25_9331.jpg
/home/pi/Desktop/images/20022025/05/25/image_20022025_05_25_35_10345.jpg
/home/pi/Desktop/images/20022025/05/25/image_20022025_05_25_45_10351.jpg
/home/pi/Desktop/images/20022025/05/25/image_20022025_05_25_55_9350.jpg
/home/pi/Desktop/images/20022025/05/25/image_20022025_05_26_05_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338611095","1338611405","1338611344","1338611245","1338611407","1338611172"],"photo_ids_order":["1338611095","1338611172","1338611245","1338611344","1338611405","1338611407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55cb5f1f282389d4eda5aa469b001560.jpg","text":"TemporaryFile(/tmp/multipartBody7436008424366532377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061832647,"filename":"image_20022025_05_25_05_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/108e4108961f45168365af57e68714a1.jpg","text":"TemporaryFile(/tmp/multipartBody5784464532094228267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061832647,"filename":"image_20022025_05_25_55_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c4a7979bb1b6852886649eeca4ea2be.jpg","text":"TemporaryFile(/tmp/multipartBody964355805890522726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061832647,"filename":"image_20022025_05_25_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6594dd05398cea7b36e30da642f7ea8b.jpg","text":"TemporaryFile(/tmp/multipartBody5395923875955466503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061832647,"filename":"image_20022025_05_25_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92d1370b6ed203d79963947e9e8e3342.jpg","text":"TemporaryFile(/tmp/multipartBody6223397084130069479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061832647,"filename":"image_20022025_05_26_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/58c5fabcb139cf926bba6a6d026890e5.jpg","text":"TemporaryFile(/tmp/multipartBody8784302240074477804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061832647,"filename":"image_20022025_05_25_25_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338611245","file1":"1338611172","file0":"1338611095","file4":"1338611405","file5":"1338611407","file3":"1338611344"},"map_files_photo_id_array":[{"photo_id":"1338611407","filename":"file5"},{"photo_id":"1338611245","filename":"file2"},{"photo_id":"1338611405","filename":"file4"},{"photo_id":"1338611172","filename":"file1"},{"photo_id":"1338611095","filename":"file0"},{"photo_id":"1338611344","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338611095":["hashtag1","hashtag2"]},{"1338611405":["hashtag1","hashtag2"]},{"1338611344":["hashtag1","hashtag2"]},{"1338611245":["hashtag1","hashtag2"]},{"1338611407":["hashtag1","hashtag2"]},{"1338611172":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338611095, 1338611405, 1338611344, 1338611245, 1338611407, 1338611172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74656939506531 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:30:32.421673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/27/image_20022025_05_27_25_10364.jpg', '/home/pi/Desktop/images/20022025/05/27/image_20022025_05_27_35_10345.jpg', '/home/pi/Desktop/images/20022025/05/27/image_20022025_05_27_45_9365.jpg', '/home/pi/Desktop/images/20022025/05/27/image_20022025_05_28_05_10376.jpg', '/home/pi/Desktop/images/20022025/05/28/image_20022025_05_28_25_10388.jpg', '/home/pi/Desktop/images/20022025/05/28/image_20022025_05_28_45_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/27/image_20022025_05_27_25_10364.jpg
/home/pi/Desktop/images/20022025/05/27/image_20022025_05_27_35_10345.jpg
/home/pi/Desktop/images/20022025/05/27/image_20022025_05_27_45_9365.jpg
/home/pi/Desktop/images/20022025/05/27/image_20022025_05_28_05_10376.jpg
/home/pi/Desktop/images/20022025/05/28/image_20022025_05_28_25_10388.jpg
/home/pi/Desktop/images/20022025/05/28/image_20022025_05_28_45_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338611459","1338611449","1338611454","1338611439","1338611483","1338611456"],"photo_ids_order":["1338611439","1338611449","1338611454","1338611456","1338611459","1338611483"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e49e67ed2b6d3384d87e23a133a83fb3.jpg","text":"TemporaryFile(/tmp/multipartBody5017789681744757038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061892988,"filename":"image_20022025_05_28_25_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9005a7ab4b3e4a87203795dec90898ff.jpg","text":"TemporaryFile(/tmp/multipartBody1219017656293129578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061892988,"filename":"image_20022025_05_27_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/655252db5a1f230a5ffb1664d6ca7a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8566682199700905161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061892988,"filename":"image_20022025_05_27_45_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ddf59724b856e3c09e2ec69821d96bae.jpg","text":"TemporaryFile(/tmp/multipartBody4295594377325883855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061892988,"filename":"image_20022025_05_27_25_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc81c1a4212f56fbbbc3d6f080f38d1f.jpg","text":"TemporaryFile(/tmp/multipartBody1474155207413888292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061892988,"filename":"image_20022025_05_28_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/afee42a0d55e42a7c8721649372160ee.jpg","text":"TemporaryFile(/tmp/multipartBody9193196719528935280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061892988,"filename":"image_20022025_05_28_05_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338611454","file1":"1338611449","file0":"1338611439","file4":"1338611459","file5":"1338611483","file3":"1338611456"},"map_files_photo_id_array":[{"photo_id":"1338611483","filename":"file5"},{"photo_id":"1338611454","filename":"file2"},{"photo_id":"1338611459","filename":"file4"},{"photo_id":"1338611449","filename":"file1"},{"photo_id":"1338611439","filename":"file0"},{"photo_id":"1338611456","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338611459":["hashtag1","hashtag2"]},{"1338611449":["hashtag1","hashtag2"]},{"1338611454":["hashtag1","hashtag2"]},{"1338611439":["hashtag1","hashtag2"]},{"1338611483":["hashtag1","hashtag2"]},{"1338611456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338611459, 1338611449, 1338611454, 1338611439, 1338611483, 1338611456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71639394760132 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:31:32.576924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/28/image_20022025_05_28_55_10354.jpg', '/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_15_10332.jpg', '/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_25_10351.jpg', '/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_45_10355.jpg', '/home/pi/Desktop/images/20022025/05/30/image_20022025_05_30_35_10377.jpg', '/home/pi/Desktop/images/20022025/05/30/image_20022025_05_31_05_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/28/image_20022025_05_28_55_10354.jpg
/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_15_10332.jpg
/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_25_10351.jpg
/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_45_10355.jpg
/home/pi/Desktop/images/20022025/05/30/image_20022025_05_30_35_10377.jpg
/home/pi/Desktop/images/20022025/05/30/image_20022025_05_31_05_10336.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4821486473083496 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 15:31:42.590528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/28/image_20022025_05_28_55_10354.jpg', '/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_15_10332.jpg', '/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_25_10351.jpg', '/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_45_10355.jpg', '/home/pi/Desktop/images/20022025/05/30/image_20022025_05_30_35_10377.jpg', '/home/pi/Desktop/images/20022025/05/30/image_20022025_05_31_05_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/28/image_20022025_05_28_55_10354.jpg
/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_15_10332.jpg
/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_25_10351.jpg
/home/pi/Desktop/images/20022025/05/29/image_20022025_05_29_45_10355.jpg
/home/pi/Desktop/images/20022025/05/30/image_20022025_05_30_35_10377.jpg
/home/pi/Desktop/images/20022025/05/30/image_20022025_05_31_05_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338611542","1338611536","1338611539","1338611559","1338611532","1338611556"],"photo_ids_order":["1338611532","1338611536","1338611539","1338611542","1338611556","1338611559"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5f1a8633b72a44ff3b04be01d788e56.jpg","text":"TemporaryFile(/tmp/multipartBody825001467616648683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061963076,"filename":"image_20022025_05_29_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1c75190ca4ef882ba7c02b0e7e9a705.jpg","text":"TemporaryFile(/tmp/multipartBody7854816575694794011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061963076,"filename":"image_20022025_05_29_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b3d0424c337a6d75f41f7dcf8c6e9c8.jpg","text":"TemporaryFile(/tmp/multipartBody5576686845460830708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061963076,"filename":"image_20022025_05_29_25_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4921711eb3aa7940359e38f2a5749ea.jpg","text":"TemporaryFile(/tmp/multipartBody7164226222539667688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061963076,"filename":"image_20022025_05_31_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8ec215c178fec34abc3e5e541e93358.jpg","text":"TemporaryFile(/tmp/multipartBody8533100613571067062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061963076,"filename":"image_20022025_05_28_55_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b10e7663bf839a0f491bdc175098da8f.jpg","text":"TemporaryFile(/tmp/multipartBody7559386702971346880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740061963076,"filename":"image_20022025_05_30_35_10377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338611539","file1":"1338611536","file0":"1338611532","file4":"1338611556","file5":"1338611559","file3":"1338611542"},"map_files_photo_id_array":[{"photo_id":"1338611559","filename":"file5"},{"photo_id":"1338611539","filename":"file2"},{"photo_id":"1338611556","filename":"file4"},{"photo_id":"1338611536","filename":"file1"},{"photo_id":"1338611532","filename":"file0"},{"photo_id":"1338611542","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338611542":["hashtag1","hashtag2"]},{"1338611536":["hashtag1","hashtag2"]},{"1338611539":["hashtag1","hashtag2"]},{"1338611559":["hashtag1","hashtag2"]},{"1338611532":["hashtag1","hashtag2"]},{"1338611556":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338611542, 1338611536, 1338611539, 1338611559, 1338611532, 1338611556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80767202377319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:32:32.658045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/31/image_20022025_05_31_25_9347.jpg', '/home/pi/Desktop/images/20022025/05/31/image_20022025_05_31_55_10370.jpg', '/home/pi/Desktop/images/20022025/05/31/image_20022025_05_32_05_10352.jpg', '/home/pi/Desktop/images/20022025/05/32/image_20022025_05_32_25_10375.jpg', '/home/pi/Desktop/images/20022025/05/33/image_20022025_05_33_15_10338.jpg', '/home/pi/Desktop/images/20022025/05/33/image_20022025_05_33_25_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/31/image_20022025_05_31_25_9347.jpg
/home/pi/Desktop/images/20022025/05/31/image_20022025_05_31_55_10370.jpg
/home/pi/Desktop/images/20022025/05/31/image_20022025_05_32_05_10352.jpg
/home/pi/Desktop/images/20022025/05/32/image_20022025_05_32_25_10375.jpg
/home/pi/Desktop/images/20022025/05/33/image_20022025_05_33_15_10338.jpg
/home/pi/Desktop/images/20022025/05/33/image_20022025_05_33_25_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338611587","1338611623","1338611602","1338611598","1338611592","1338611582"],"photo_ids_order":["1338611582","1338611587","1338611592","1338611598","1338611602","1338611623"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ea77f71d57604a19b33af4c70f0e081.jpg","text":"TemporaryFile(/tmp/multipartBody4111448708258980028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062013229,"filename":"image_20022025_05_31_55_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9713fd88b9a5c38372962c7c32d96c36.jpg","text":"TemporaryFile(/tmp/multipartBody4382260033953140673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062013229,"filename":"image_20022025_05_33_25_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bfe054a4f89333c6fc9f22684d6ce5f9.jpg","text":"TemporaryFile(/tmp/multipartBody1502973886797411026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062013229,"filename":"image_20022025_05_33_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2ca6cad5d9a8e27fb4be5c854182f5f4.jpg","text":"TemporaryFile(/tmp/multipartBody8464381455949417570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062013229,"filename":"image_20022025_05_32_25_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29e87b68f75e438816554384220cb257.jpg","text":"TemporaryFile(/tmp/multipartBody176725349922103036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062013229,"filename":"image_20022025_05_32_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/724775d2d6ef9f8e2b87ef5ef1ca2049.jpg","text":"TemporaryFile(/tmp/multipartBody7225871782429983156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062013229,"filename":"image_20022025_05_31_25_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338611592","file1":"1338611587","file0":"1338611582","file4":"1338611602","file5":"1338611623","file3":"1338611598"},"map_files_photo_id_array":[{"photo_id":"1338611623","filename":"file5"},{"photo_id":"1338611592","filename":"file2"},{"photo_id":"1338611602","filename":"file4"},{"photo_id":"1338611587","filename":"file1"},{"photo_id":"1338611582","filename":"file0"},{"photo_id":"1338611598","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338611587":["hashtag1","hashtag2"]},{"1338611623":["hashtag1","hashtag2"]},{"1338611602":["hashtag1","hashtag2"]},{"1338611598":["hashtag1","hashtag2"]},{"1338611592":["hashtag1","hashtag2"]},{"1338611582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338611587, 1338611623, 1338611602, 1338611598, 1338611592, 1338611582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06385803222656 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:33:32.981008
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/33/image_20022025_05_33_45_10347.jpg', '/home/pi/Desktop/images/20022025/05/33/image_20022025_05_34_05_9326.jpg', '/home/pi/Desktop/images/20022025/05/34/image_20022025_05_34_55_10425.jpg', '/home/pi/Desktop/images/20022025/05/34/image_20022025_05_35_05_9399.jpg', '/home/pi/Desktop/images/20022025/05/35/image_20022025_05_35_24_9412.jpg', '/home/pi/Desktop/images/20022025/05/35/image_20022025_05_35_55_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/33/image_20022025_05_33_45_10347.jpg
/home/pi/Desktop/images/20022025/05/33/image_20022025_05_34_05_9326.jpg
/home/pi/Desktop/images/20022025/05/34/image_20022025_05_34_55_10425.jpg
/home/pi/Desktop/images/20022025/05/34/image_20022025_05_35_05_9399.jpg
/home/pi/Desktop/images/20022025/05/35/image_20022025_05_35_24_9412.jpg
/home/pi/Desktop/images/20022025/05/35/image_20022025_05_35_55_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338611708","1338611701","1338611712","1338611715","1338611718","1338611696"],"photo_ids_order":["1338611696","1338611701","1338611708","1338611712","1338611715","1338611718"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0823bb5d961c6a7b1bce5d54a4d66e94.jpg","text":"TemporaryFile(/tmp/multipartBody486910103429989574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062073550,"filename":"image_20022025_05_34_55_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d88dc36416e14db875f95c762a24ca76.jpg","text":"TemporaryFile(/tmp/multipartBody7177252835724897161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062073550,"filename":"image_20022025_05_34_05_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f5651c21d74b4686c887bd282ab43011.jpg","text":"TemporaryFile(/tmp/multipartBody1799348340508220219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062073550,"filename":"image_20022025_05_35_05_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/69639bde90c01f0d1b0692b1197af634.jpg","text":"TemporaryFile(/tmp/multipartBody7697520083885782286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062073550,"filename":"image_20022025_05_35_24_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e24eaf72a0968b5b8ba9676f210a688a.jpg","text":"TemporaryFile(/tmp/multipartBody4634968762199097270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062073550,"filename":"image_20022025_05_35_55_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/298b89ddf5449d13ffb12744f96e7b24.jpg","text":"TemporaryFile(/tmp/multipartBody6805322716679273108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062073550,"filename":"image_20022025_05_33_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338611708","file1":"1338611701","file0":"1338611696","file4":"1338611715","file5":"1338611718","file3":"1338611712"},"map_files_photo_id_array":[{"photo_id":"1338611718","filename":"file5"},{"photo_id":"1338611708","filename":"file2"},{"photo_id":"1338611715","filename":"file4"},{"photo_id":"1338611701","filename":"file1"},{"photo_id":"1338611696","filename":"file0"},{"photo_id":"1338611712","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338611708":["hashtag1","hashtag2"]},{"1338611701":["hashtag1","hashtag2"]},{"1338611712":["hashtag1","hashtag2"]},{"1338611715":["hashtag1","hashtag2"]},{"1338611718":["hashtag1","hashtag2"]},{"1338611696":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338611708, 1338611701, 1338611712, 1338611715, 1338611718, 1338611696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99302005767822 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:34:33.261959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/36/image_20022025_05_36_15_9410.jpg', '/home/pi/Desktop/images/20022025/05/36/image_20022025_05_36_45_9401.jpg', '/home/pi/Desktop/images/20022025/05/36/image_20022025_05_36_55_10336.jpg', '/home/pi/Desktop/images/20022025/05/36/image_20022025_05_37_05_10351.jpg', '/home/pi/Desktop/images/20022025/05/37/image_20022025_05_37_15_9333.jpg', '/home/pi/Desktop/images/20022025/05/37/image_20022025_05_37_25_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/36/image_20022025_05_36_15_9410.jpg
/home/pi/Desktop/images/20022025/05/36/image_20022025_05_36_45_9401.jpg
/home/pi/Desktop/images/20022025/05/36/image_20022025_05_36_55_10336.jpg
/home/pi/Desktop/images/20022025/05/36/image_20022025_05_37_05_10351.jpg
/home/pi/Desktop/images/20022025/05/37/image_20022025_05_37_15_9333.jpg
/home/pi/Desktop/images/20022025/05/37/image_20022025_05_37_25_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338611750","1338611764","1338611758","1338611754","1338611765","1338611747"],"photo_ids_order":["1338611747","1338611750","1338611754","1338611758","1338611764","1338611765"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db1394972e8bd418486eed8a9041f69b.jpg","text":"TemporaryFile(/tmp/multipartBody1472219368472149359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062133837,"filename":"image_20022025_05_36_45_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4ab4358b9306eef5acbc6d3c153d77c.jpg","text":"TemporaryFile(/tmp/multipartBody5665613708362024627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062133837,"filename":"image_20022025_05_37_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24aa98f0f7ac9ee278b7cb43753be45d.jpg","text":"TemporaryFile(/tmp/multipartBody2885153968551063183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062133837,"filename":"image_20022025_05_37_05_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a4758f06927dfae9c709bde80caae28.jpg","text":"TemporaryFile(/tmp/multipartBody5236676276740049446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062133837,"filename":"image_20022025_05_36_55_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe9efdb4fb78b9b3c5941f7d327549b1.jpg","text":"TemporaryFile(/tmp/multipartBody3282944265955935114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062133837,"filename":"image_20022025_05_37_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ab8a89c6e95a088fa4d0ef19bdad6696.jpg","text":"TemporaryFile(/tmp/multipartBody1705337522796128068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062133837,"filename":"image_20022025_05_36_15_9410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338611754","file1":"1338611750","file0":"1338611747","file4":"1338611764","file5":"1338611765","file3":"1338611758"},"map_files_photo_id_array":[{"photo_id":"1338611765","filename":"file5"},{"photo_id":"1338611754","filename":"file2"},{"photo_id":"1338611764","filename":"file4"},{"photo_id":"1338611750","filename":"file1"},{"photo_id":"1338611747","filename":"file0"},{"photo_id":"1338611758","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338611750":["hashtag1","hashtag2"]},{"1338611764":["hashtag1","hashtag2"]},{"1338611758":["hashtag1","hashtag2"]},{"1338611754":["hashtag1","hashtag2"]},{"1338611765":["hashtag1","hashtag2"]},{"1338611747":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338611750, 1338611764, 1338611758, 1338611754, 1338611765, 1338611747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5392644405365 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:35:32.297839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/37/image_20022025_05_37_35_9421.jpg', '/home/pi/Desktop/images/20022025/05/38/image_20022025_05_38_45_10372.jpg', '/home/pi/Desktop/images/20022025/05/38/image_20022025_05_38_55_9438.jpg', '/home/pi/Desktop/images/20022025/05/39/image_20022025_05_39_25_10352.jpg', '/home/pi/Desktop/images/20022025/05/39/image_20022025_05_39_55_10358.jpg', '/home/pi/Desktop/images/20022025/05/40/image_20022025_05_40_25_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/37/image_20022025_05_37_35_9421.jpg
/home/pi/Desktop/images/20022025/05/38/image_20022025_05_38_45_10372.jpg
/home/pi/Desktop/images/20022025/05/38/image_20022025_05_38_55_9438.jpg
/home/pi/Desktop/images/20022025/05/39/image_20022025_05_39_25_10352.jpg
/home/pi/Desktop/images/20022025/05/39/image_20022025_05_39_55_10358.jpg
/home/pi/Desktop/images/20022025/05/40/image_20022025_05_40_25_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338612490","1338612514","1338612430","1338612516","1338612501","1338612494"],"photo_ids_order":["1338612430","1338612490","1338612494","1338612501","1338612514","1338612516"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bfc4dc864fb5d2e518761212a40d10e8.jpg","text":"TemporaryFile(/tmp/multipartBody8509902365112568939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062192871,"filename":"image_20022025_05_38_45_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e94ae5ea779706505c4cc9ce4423166.jpg","text":"TemporaryFile(/tmp/multipartBody7700188108730192557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062192871,"filename":"image_20022025_05_39_55_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c19a842c31f2089002db8cdf7ce49d62.jpg","text":"TemporaryFile(/tmp/multipartBody1657267237818581310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062192871,"filename":"image_20022025_05_37_35_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e36c3327412379fdd06b80a044a262b3.jpg","text":"TemporaryFile(/tmp/multipartBody4050928090046196192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062192871,"filename":"image_20022025_05_40_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d654237166dca69483c19764cc19f197.jpg","text":"TemporaryFile(/tmp/multipartBody8657220435037825763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062192871,"filename":"image_20022025_05_39_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9cab5259088c4f7bc24abba3e0a7bbb4.jpg","text":"TemporaryFile(/tmp/multipartBody864973955036579458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062192871,"filename":"image_20022025_05_38_55_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338612494","file1":"1338612490","file0":"1338612430","file4":"1338612514","file5":"1338612516","file3":"1338612501"},"map_files_photo_id_array":[{"photo_id":"1338612516","filename":"file5"},{"photo_id":"1338612494","filename":"file2"},{"photo_id":"1338612514","filename":"file4"},{"photo_id":"1338612490","filename":"file1"},{"photo_id":"1338612430","filename":"file0"},{"photo_id":"1338612501","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338612490":["hashtag1","hashtag2"]},{"1338612514":["hashtag1","hashtag2"]},{"1338612430":["hashtag1","hashtag2"]},{"1338612516":["hashtag1","hashtag2"]},{"1338612501":["hashtag1","hashtag2"]},{"1338612494":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338612490, 1338612514, 1338612430, 1338612516, 1338612501, 1338612494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73785853385925 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:36:32.430911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/40/image_20022025_05_40_45_10443.jpg', '/home/pi/Desktop/images/20022025/05/40/image_20022025_05_40_55_10445.jpg', '/home/pi/Desktop/images/20022025/05/40/image_20022025_05_41_05_9424.jpg', '/home/pi/Desktop/images/20022025/05/41/image_20022025_05_41_15_10417.jpg', '/home/pi/Desktop/images/20022025/05/41/image_20022025_05_41_35_10431.jpg', '/home/pi/Desktop/images/20022025/05/41/image_20022025_05_41_44_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/40/image_20022025_05_40_45_10443.jpg
/home/pi/Desktop/images/20022025/05/40/image_20022025_05_40_55_10445.jpg
/home/pi/Desktop/images/20022025/05/40/image_20022025_05_41_05_9424.jpg
/home/pi/Desktop/images/20022025/05/41/image_20022025_05_41_15_10417.jpg
/home/pi/Desktop/images/20022025/05/41/image_20022025_05_41_35_10431.jpg
/home/pi/Desktop/images/20022025/05/41/image_20022025_05_41_44_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338612754","1338612742","1338612751","1338612733","1338612747","1338612615"],"photo_ids_order":["1338612615","1338612733","1338612742","1338612747","1338612751","1338612754"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71cb59a38315d5136246bc83461ea076.jpg","text":"TemporaryFile(/tmp/multipartBody4460835651203855458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062253003,"filename":"image_20022025_05_41_44_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14503554eeb6c807efcc7d431d5ef587.jpg","text":"TemporaryFile(/tmp/multipartBody1147106585206337958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062253003,"filename":"image_20022025_05_41_05_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/081c8cac3e2a8c6fca0a048056773335.jpg","text":"TemporaryFile(/tmp/multipartBody129214576859097421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062253003,"filename":"image_20022025_05_41_35_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa8f80547bfd1018382e74a5f2055fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7647759941925126242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062253003,"filename":"image_20022025_05_40_55_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8676002fbc01068d40257f1d2354a9ea.jpg","text":"TemporaryFile(/tmp/multipartBody7062013808004230775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062253003,"filename":"image_20022025_05_41_15_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a85ce42a50451a141063811e908beb1.jpg","text":"TemporaryFile(/tmp/multipartBody249259223617939226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062253003,"filename":"image_20022025_05_40_45_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338612742","file1":"1338612733","file0":"1338612615","file4":"1338612751","file5":"1338612754","file3":"1338612747"},"map_files_photo_id_array":[{"photo_id":"1338612754","filename":"file5"},{"photo_id":"1338612742","filename":"file2"},{"photo_id":"1338612751","filename":"file4"},{"photo_id":"1338612733","filename":"file1"},{"photo_id":"1338612615","filename":"file0"},{"photo_id":"1338612747","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338612754":["hashtag1","hashtag2"]},{"1338612742":["hashtag1","hashtag2"]},{"1338612751":["hashtag1","hashtag2"]},{"1338612733":["hashtag1","hashtag2"]},{"1338612747":["hashtag1","hashtag2"]},{"1338612615":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338612754, 1338612742, 1338612751, 1338612733, 1338612747, 1338612615)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.114935636520386 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:37:32.845680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/41/image_20022025_05_41_55_10342.jpg', '/home/pi/Desktop/images/20022025/05/41/image_20022025_05_42_05_10373.jpg', '/home/pi/Desktop/images/20022025/05/42/image_20022025_05_42_15_9332.jpg', '/home/pi/Desktop/images/20022025/05/42/image_20022025_05_42_25_10372.jpg', '/home/pi/Desktop/images/20022025/05/42/image_20022025_05_42_35_10371.jpg', '/home/pi/Desktop/images/20022025/05/42/image_20022025_05_42_45_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/41/image_20022025_05_41_55_10342.jpg
/home/pi/Desktop/images/20022025/05/41/image_20022025_05_42_05_10373.jpg
/home/pi/Desktop/images/20022025/05/42/image_20022025_05_42_15_9332.jpg
/home/pi/Desktop/images/20022025/05/42/image_20022025_05_42_25_10372.jpg
/home/pi/Desktop/images/20022025/05/42/image_20022025_05_42_35_10371.jpg
/home/pi/Desktop/images/20022025/05/42/image_20022025_05_42_45_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613194","1338613105","1338613284","1338613229","1338613121","1338613282"],"photo_ids_order":["1338613105","1338613121","1338613194","1338613229","1338613282","1338613284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/218446b874fd769db78e37ec8f0ca165.jpg","text":"TemporaryFile(/tmp/multipartBody2036822260075926232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062313423,"filename":"image_20022025_05_42_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/acc77840555f88620ea5fa9c09a25610.jpg","text":"TemporaryFile(/tmp/multipartBody74447977318111978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062313423,"filename":"image_20022025_05_41_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f01ccc556c8ac2d7de953cfd0f9a076.jpg","text":"TemporaryFile(/tmp/multipartBody6100012747472875050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062313423,"filename":"image_20022025_05_42_45_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42fde96c35f585b55a53a66cb9a8ae9e.jpg","text":"TemporaryFile(/tmp/multipartBody3907685067400050116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062313423,"filename":"image_20022025_05_42_25_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7532fa8071539713ce309c95247b99d5.jpg","text":"TemporaryFile(/tmp/multipartBody8029046710189752104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062313423,"filename":"image_20022025_05_42_05_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26c1f601b194980e1f74797abc5a16bd.jpg","text":"TemporaryFile(/tmp/multipartBody4306011501185470508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062313423,"filename":"image_20022025_05_42_35_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613194","file1":"1338613121","file0":"1338613105","file4":"1338613282","file5":"1338613284","file3":"1338613229"},"map_files_photo_id_array":[{"photo_id":"1338613284","filename":"file5"},{"photo_id":"1338613194","filename":"file2"},{"photo_id":"1338613282","filename":"file4"},{"photo_id":"1338613121","filename":"file1"},{"photo_id":"1338613105","filename":"file0"},{"photo_id":"1338613229","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613194":["hashtag1","hashtag2"]},{"1338613105":["hashtag1","hashtag2"]},{"1338613284":["hashtag1","hashtag2"]},{"1338613229":["hashtag1","hashtag2"]},{"1338613121":["hashtag1","hashtag2"]},{"1338613282":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613194, 1338613105, 1338613284, 1338613229, 1338613121, 1338613282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.911904096603394 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:38:32.754004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/42/image_20022025_05_43_04_9384.jpg', '/home/pi/Desktop/images/20022025/05/43/image_20022025_05_43_35_10337.jpg', '/home/pi/Desktop/images/20022025/05/43/image_20022025_05_44_05_10333.jpg', '/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_25_10350.jpg', '/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_35_10359.jpg', '/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_55_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/42/image_20022025_05_43_04_9384.jpg
/home/pi/Desktop/images/20022025/05/43/image_20022025_05_43_35_10337.jpg
/home/pi/Desktop/images/20022025/05/43/image_20022025_05_44_05_10333.jpg
/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_25_10350.jpg
/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_35_10359.jpg
/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_55_10350.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.5194036960601807 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 15:38:42.791179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/42/image_20022025_05_43_04_9384.jpg', '/home/pi/Desktop/images/20022025/05/43/image_20022025_05_43_35_10337.jpg', '/home/pi/Desktop/images/20022025/05/43/image_20022025_05_44_05_10333.jpg', '/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_25_10350.jpg', '/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_35_10359.jpg', '/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_55_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/42/image_20022025_05_43_04_9384.jpg
/home/pi/Desktop/images/20022025/05/43/image_20022025_05_43_35_10337.jpg
/home/pi/Desktop/images/20022025/05/43/image_20022025_05_44_05_10333.jpg
/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_25_10350.jpg
/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_35_10359.jpg
/home/pi/Desktop/images/20022025/05/44/image_20022025_05_44_55_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613429","1338613437","1338613425","1338613433","1338613439","1338613441"],"photo_ids_order":["1338613425","1338613429","1338613433","1338613437","1338613439","1338613441"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f72193b77d70ccdda6f4ecf339ce0a1.jpg","text":"TemporaryFile(/tmp/multipartBody1834683645982569469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062383275,"filename":"image_20022025_05_43_35_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95ff76980c700b7c1a5882cf9f929117.jpg","text":"TemporaryFile(/tmp/multipartBody2709742129294168413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062383275,"filename":"image_20022025_05_44_25_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/84601c7660384a96b67c8fc8e42af222.jpg","text":"TemporaryFile(/tmp/multipartBody8596400743913810469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062383275,"filename":"image_20022025_05_43_04_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be0f16337b9538001ae6daac9e8d4cca.jpg","text":"TemporaryFile(/tmp/multipartBody2101024238954192410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062383275,"filename":"image_20022025_05_44_05_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/372c2f77a9ac6852b187c9068dbfa834.jpg","text":"TemporaryFile(/tmp/multipartBody6953251814477457098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062383275,"filename":"image_20022025_05_44_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e37e34b6ea7055bf73441aea13ed5ba1.jpg","text":"TemporaryFile(/tmp/multipartBody2039336641181856330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062383275,"filename":"image_20022025_05_44_55_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613433","file1":"1338613429","file0":"1338613425","file4":"1338613439","file5":"1338613441","file3":"1338613437"},"map_files_photo_id_array":[{"photo_id":"1338613441","filename":"file5"},{"photo_id":"1338613433","filename":"file2"},{"photo_id":"1338613439","filename":"file4"},{"photo_id":"1338613429","filename":"file1"},{"photo_id":"1338613425","filename":"file0"},{"photo_id":"1338613437","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613429":["hashtag1","hashtag2"]},{"1338613437":["hashtag1","hashtag2"]},{"1338613425":["hashtag1","hashtag2"]},{"1338613433":["hashtag1","hashtag2"]},{"1338613439":["hashtag1","hashtag2"]},{"1338613441":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613429, 1338613437, 1338613425, 1338613433, 1338613439, 1338613441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.581424951553345 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:39:32.921795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/44/image_20022025_05_45_05_10342.jpg', '/home/pi/Desktop/images/20022025/05/45/image_20022025_05_45_15_9424.jpg', '/home/pi/Desktop/images/20022025/05/45/image_20022025_05_45_25_10361.jpg', '/home/pi/Desktop/images/20022025/05/45/image_20022025_05_45_35_9482.jpg', '/home/pi/Desktop/images/20022025/05/45/image_20022025_05_46_05_9428.jpg', '/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_15_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/44/image_20022025_05_45_05_10342.jpg
/home/pi/Desktop/images/20022025/05/45/image_20022025_05_45_15_9424.jpg
/home/pi/Desktop/images/20022025/05/45/image_20022025_05_45_25_10361.jpg
/home/pi/Desktop/images/20022025/05/45/image_20022025_05_45_35_9482.jpg
/home/pi/Desktop/images/20022025/05/45/image_20022025_05_46_05_9428.jpg
/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_15_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613485","1338613473","1338613476","1338613469","1338613480","1338613483"],"photo_ids_order":["1338613469","1338613473","1338613476","1338613480","1338613483","1338613485"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75109a569b1ac121ed5c0c726c0362c9.jpg","text":"TemporaryFile(/tmp/multipartBody7340610167357346118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062433509,"filename":"image_20022025_05_46_15_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00608826897e850c3370939f9e318dde.jpg","text":"TemporaryFile(/tmp/multipartBody1757784721171594712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062433509,"filename":"image_20022025_05_45_15_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8ca18027628ea462d7b07ef134486ab1.jpg","text":"TemporaryFile(/tmp/multipartBody5008491557103830887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062433509,"filename":"image_20022025_05_45_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba2dadbfb96fb55fed4d4f1d7bbf99dd.jpg","text":"TemporaryFile(/tmp/multipartBody4094043087679507082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062433509,"filename":"image_20022025_05_45_05_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a3221ec12813efba5082b98185aa4f3.jpg","text":"TemporaryFile(/tmp/multipartBody700168766119168443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062433509,"filename":"image_20022025_05_45_35_9482.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa5003330765dcaae5e62dcedfde9730.jpg","text":"TemporaryFile(/tmp/multipartBody3164417736379932101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062433509,"filename":"image_20022025_05_46_05_9428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613476","file1":"1338613473","file0":"1338613469","file4":"1338613483","file5":"1338613485","file3":"1338613480"},"map_files_photo_id_array":[{"photo_id":"1338613485","filename":"file5"},{"photo_id":"1338613476","filename":"file2"},{"photo_id":"1338613483","filename":"file4"},{"photo_id":"1338613473","filename":"file1"},{"photo_id":"1338613469","filename":"file0"},{"photo_id":"1338613480","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613485":["hashtag1","hashtag2"]},{"1338613473":["hashtag1","hashtag2"]},{"1338613476":["hashtag1","hashtag2"]},{"1338613469":["hashtag1","hashtag2"]},{"1338613480":["hashtag1","hashtag2"]},{"1338613483":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613485, 1338613473, 1338613476, 1338613469, 1338613480, 1338613483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9574077129364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:40:33.043462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_25_9402.jpg', '/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_35_10344.jpg', '/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_45_10347.jpg', '/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_55_9369.jpg', '/home/pi/Desktop/images/20022025/05/47/image_20022025_05_47_35_10362.jpg', '/home/pi/Desktop/images/20022025/05/47/image_20022025_05_47_45_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_25_9402.jpg
/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_35_10344.jpg
/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_45_10347.jpg
/home/pi/Desktop/images/20022025/05/46/image_20022025_05_46_55_9369.jpg
/home/pi/Desktop/images/20022025/05/47/image_20022025_05_47_35_10362.jpg
/home/pi/Desktop/images/20022025/05/47/image_20022025_05_47_45_9410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613503","1338613500","1338613514","1338613508","1338613511","1338613505"],"photo_ids_order":["1338613500","1338613503","1338613505","1338613508","1338613511","1338613514"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/028323cbf37cd81ff11348874c518bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7321679268698228622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062493589,"filename":"image_20022025_05_46_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a5218e4ffa9a739f3c79c1a84ea25392.jpg","text":"TemporaryFile(/tmp/multipartBody7977736503318142772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062493589,"filename":"image_20022025_05_46_25_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ff4b34701142d3a978f7c9a0ee8c7d4.jpg","text":"TemporaryFile(/tmp/multipartBody7888312038885509995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062493589,"filename":"image_20022025_05_47_45_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d64d949c55352eef9dde86bbbea1ba1.jpg","text":"TemporaryFile(/tmp/multipartBody470751510802193890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062493589,"filename":"image_20022025_05_46_55_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92132c0248503b0110e042814d2352f2.jpg","text":"TemporaryFile(/tmp/multipartBody6391725373795895786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062493589,"filename":"image_20022025_05_47_35_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b581f5bc2fdd33d6cf62205afec3463b.jpg","text":"TemporaryFile(/tmp/multipartBody6927464678111488594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062493589,"filename":"image_20022025_05_46_45_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613505","file1":"1338613503","file0":"1338613500","file4":"1338613511","file5":"1338613514","file3":"1338613508"},"map_files_photo_id_array":[{"photo_id":"1338613514","filename":"file5"},{"photo_id":"1338613505","filename":"file2"},{"photo_id":"1338613511","filename":"file4"},{"photo_id":"1338613503","filename":"file1"},{"photo_id":"1338613500","filename":"file0"},{"photo_id":"1338613508","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613503":["hashtag1","hashtag2"]},{"1338613500":["hashtag1","hashtag2"]},{"1338613514":["hashtag1","hashtag2"]},{"1338613508":["hashtag1","hashtag2"]},{"1338613511":["hashtag1","hashtag2"]},{"1338613505":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613503, 1338613500, 1338613514, 1338613508, 1338613511, 1338613505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.025068521499634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:41:32.241677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/48/image_20022025_05_48_15_10355.jpg', '/home/pi/Desktop/images/20022025/05/48/image_20022025_05_48_35_9415.jpg', '/home/pi/Desktop/images/20022025/05/48/image_20022025_05_48_54_9463.jpg', '/home/pi/Desktop/images/20022025/05/48/image_20022025_05_49_05_10336.jpg', '/home/pi/Desktop/images/20022025/05/49/image_20022025_05_49_35_10356.jpg', '/home/pi/Desktop/images/20022025/05/49/image_20022025_05_49_45_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/48/image_20022025_05_48_15_10355.jpg
/home/pi/Desktop/images/20022025/05/48/image_20022025_05_48_35_9415.jpg
/home/pi/Desktop/images/20022025/05/48/image_20022025_05_48_54_9463.jpg
/home/pi/Desktop/images/20022025/05/48/image_20022025_05_49_05_10336.jpg
/home/pi/Desktop/images/20022025/05/49/image_20022025_05_49_35_10356.jpg
/home/pi/Desktop/images/20022025/05/49/image_20022025_05_49_45_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613552","1338613546","1338613554","1338613542","1338613539","1338613549"],"photo_ids_order":["1338613539","1338613542","1338613546","1338613549","1338613552","1338613554"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26e33501a4846b4cdfc7d93db7d2bfcb.jpg","text":"TemporaryFile(/tmp/multipartBody2023728154838505475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062552838,"filename":"image_20022025_05_49_35_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9379e06171406b19afa5d7e471cd2e5f.jpg","text":"TemporaryFile(/tmp/multipartBody7868899204671936647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062552838,"filename":"image_20022025_05_48_54_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9eaa9eab4f0ea44b1189a3b66aa22e0.jpg","text":"TemporaryFile(/tmp/multipartBody934935139962673072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062552838,"filename":"image_20022025_05_49_45_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ff4f00f8fef88d5135ece1f6030781f.jpg","text":"TemporaryFile(/tmp/multipartBody869550113873288314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062552838,"filename":"image_20022025_05_48_35_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90e9b75aa44af7d1755a2f0f2daa7be4.jpg","text":"TemporaryFile(/tmp/multipartBody8605882251425534326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062552838,"filename":"image_20022025_05_48_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7207ccc84178143633889514d22ff2a5.jpg","text":"TemporaryFile(/tmp/multipartBody8521671396284169557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062552838,"filename":"image_20022025_05_49_05_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613546","file1":"1338613542","file0":"1338613539","file4":"1338613552","file5":"1338613554","file3":"1338613549"},"map_files_photo_id_array":[{"photo_id":"1338613554","filename":"file5"},{"photo_id":"1338613546","filename":"file2"},{"photo_id":"1338613552","filename":"file4"},{"photo_id":"1338613542","filename":"file1"},{"photo_id":"1338613539","filename":"file0"},{"photo_id":"1338613549","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613552":["hashtag1","hashtag2"]},{"1338613546":["hashtag1","hashtag2"]},{"1338613554":["hashtag1","hashtag2"]},{"1338613542":["hashtag1","hashtag2"]},{"1338613539":["hashtag1","hashtag2"]},{"1338613549":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613552, 1338613546, 1338613554, 1338613542, 1338613539, 1338613549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.137807846069336 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:42:32.405080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/49/image_20022025_05_49_55_9401.jpg', '/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_15_9466.jpg', '/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_25_10377.jpg', '/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_35_10353.jpg', '/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_45_9432.jpg', '/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_55_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/49/image_20022025_05_49_55_9401.jpg
/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_15_9466.jpg
/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_25_10377.jpg
/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_35_10353.jpg
/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_45_9432.jpg
/home/pi/Desktop/images/20022025/05/50/image_20022025_05_50_55_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613579","1338613584","1338613587","1338613581","1338613589","1338613576"],"photo_ids_order":["1338613576","1338613579","1338613581","1338613584","1338613587","1338613589"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f5b16be645d307bb95c4241dcb42fbc.jpg","text":"TemporaryFile(/tmp/multipartBody6420965057079324390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062612973,"filename":"image_20022025_05_50_15_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dc8e706d52de0d9f621a4a39a64924d1.jpg","text":"TemporaryFile(/tmp/multipartBody7460502573125533657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062612973,"filename":"image_20022025_05_50_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3731d630e3bc91ba4db5a8261208efaa.jpg","text":"TemporaryFile(/tmp/multipartBody5377372886098944324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062612973,"filename":"image_20022025_05_50_45_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f7880e128eb88f57a9d5a33d35207e6.jpg","text":"TemporaryFile(/tmp/multipartBody8120496602391802838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062612973,"filename":"image_20022025_05_50_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5c70d37334616dc0ea41be60a75f879c.jpg","text":"TemporaryFile(/tmp/multipartBody140064653801459706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062612973,"filename":"image_20022025_05_50_55_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa4bee41bcac4b2aefd19ecec6434cd1.jpg","text":"TemporaryFile(/tmp/multipartBody6397248702414282407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062612973,"filename":"image_20022025_05_49_55_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613581","file1":"1338613579","file0":"1338613576","file4":"1338613587","file5":"1338613589","file3":"1338613584"},"map_files_photo_id_array":[{"photo_id":"1338613589","filename":"file5"},{"photo_id":"1338613581","filename":"file2"},{"photo_id":"1338613587","filename":"file4"},{"photo_id":"1338613579","filename":"file1"},{"photo_id":"1338613576","filename":"file0"},{"photo_id":"1338613584","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613579":["hashtag1","hashtag2"]},{"1338613584":["hashtag1","hashtag2"]},{"1338613587":["hashtag1","hashtag2"]},{"1338613581":["hashtag1","hashtag2"]},{"1338613589":["hashtag1","hashtag2"]},{"1338613576":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613579, 1338613584, 1338613587, 1338613581, 1338613589, 1338613576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94275188446045 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:43:32.650652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/50/image_20022025_05_51_04_9443.jpg', '/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_15_10378.jpg', '/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_25_10421.jpg', '/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_35_9414.jpg', '/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_45_10346.jpg', '/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_54_9389.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/50/image_20022025_05_51_04_9443.jpg
/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_15_10378.jpg
/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_25_10421.jpg
/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_35_9414.jpg
/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_45_10346.jpg
/home/pi/Desktop/images/20022025/05/51/image_20022025_05_51_54_9389.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613614","1338613617","1338613619","1338613613","1338613607","1338613610"],"photo_ids_order":["1338613607","1338613610","1338613613","1338613614","1338613617","1338613619"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c1ddbf14ecaf45031c0b2387479c54a.jpg","text":"TemporaryFile(/tmp/multipartBody2849938134406681281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062673213,"filename":"image_20022025_05_51_35_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c61e1f61780de9b4b79be5107a44aa26.jpg","text":"TemporaryFile(/tmp/multipartBody822990276676470568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062673213,"filename":"image_20022025_05_51_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/909d8d0ac6daee8e1c05cc0ca4b555de.jpg","text":"TemporaryFile(/tmp/multipartBody5338163886986851316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062673213,"filename":"image_20022025_05_51_54_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8679b64f0b3c64bc59e591136d995111.jpg","text":"TemporaryFile(/tmp/multipartBody3834944343326107239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062673213,"filename":"image_20022025_05_51_25_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1aec0d6c98dd827a953b92bd6643621a.jpg","text":"TemporaryFile(/tmp/multipartBody7582016847821748244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062673213,"filename":"image_20022025_05_51_04_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cd5c3d105287b8d9544b9c2e5a6157f.jpg","text":"TemporaryFile(/tmp/multipartBody7835706521144910998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062673213,"filename":"image_20022025_05_51_15_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613613","file1":"1338613610","file0":"1338613607","file4":"1338613617","file5":"1338613619","file3":"1338613614"},"map_files_photo_id_array":[{"photo_id":"1338613619","filename":"file5"},{"photo_id":"1338613613","filename":"file2"},{"photo_id":"1338613617","filename":"file4"},{"photo_id":"1338613610","filename":"file1"},{"photo_id":"1338613607","filename":"file0"},{"photo_id":"1338613614","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613614":["hashtag1","hashtag2"]},{"1338613617":["hashtag1","hashtag2"]},{"1338613619":["hashtag1","hashtag2"]},{"1338613613":["hashtag1","hashtag2"]},{"1338613607":["hashtag1","hashtag2"]},{"1338613610":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613614, 1338613617, 1338613619, 1338613613, 1338613607, 1338613610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.43113565444946 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:44:32.999581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/51/image_20022025_05_52_05_10342.jpg', '/home/pi/Desktop/images/20022025/05/52/image_20022025_05_52_15_10364.jpg', '/home/pi/Desktop/images/20022025/05/52/image_20022025_05_52_25_9401.jpg', '/home/pi/Desktop/images/20022025/05/52/image_20022025_05_52_35_10359.jpg', '/home/pi/Desktop/images/20022025/05/52/image_20022025_05_52_55_9361.jpg', '/home/pi/Desktop/images/20022025/05/52/image_20022025_05_53_05_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/51/image_20022025_05_52_05_10342.jpg
/home/pi/Desktop/images/20022025/05/52/image_20022025_05_52_15_10364.jpg
/home/pi/Desktop/images/20022025/05/52/image_20022025_05_52_25_9401.jpg
/home/pi/Desktop/images/20022025/05/52/image_20022025_05_52_35_10359.jpg
/home/pi/Desktop/images/20022025/05/52/image_20022025_05_52_55_9361.jpg
/home/pi/Desktop/images/20022025/05/52/image_20022025_05_53_05_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613650","1338613647","1338613641","1338613638","1338613643","1338613637"],"photo_ids_order":["1338613637","1338613638","1338613641","1338613643","1338613647","1338613650"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0d2b269199c133ea9d68f5de1dccd3e.jpg","text":"TemporaryFile(/tmp/multipartBody8813098498998865341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062733562,"filename":"image_20022025_05_53_05_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68d49c24dad1b6fe660e1c8aeecd303e.jpg","text":"TemporaryFile(/tmp/multipartBody3909157026873085401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062733562,"filename":"image_20022025_05_52_55_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a615ecc69b5225f625d206e714bf9a85.jpg","text":"TemporaryFile(/tmp/multipartBody1562516706985503047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062733562,"filename":"image_20022025_05_52_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d72af19fdb08acdd100b7bdfa90c428.jpg","text":"TemporaryFile(/tmp/multipartBody2880617173551128151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062733562,"filename":"image_20022025_05_52_15_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b586902eec47759b26625a28213ad4e2.jpg","text":"TemporaryFile(/tmp/multipartBody3186730772912993782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062733562,"filename":"image_20022025_05_52_35_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f81b7c80fce6111df2ee9f21ad7ce35.jpg","text":"TemporaryFile(/tmp/multipartBody4726791249305703479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062733562,"filename":"image_20022025_05_52_05_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613641","file1":"1338613638","file0":"1338613637","file4":"1338613647","file5":"1338613650","file3":"1338613643"},"map_files_photo_id_array":[{"photo_id":"1338613650","filename":"file5"},{"photo_id":"1338613641","filename":"file2"},{"photo_id":"1338613647","filename":"file4"},{"photo_id":"1338613638","filename":"file1"},{"photo_id":"1338613637","filename":"file0"},{"photo_id":"1338613643","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613650":["hashtag1","hashtag2"]},{"1338613647":["hashtag1","hashtag2"]},{"1338613641":["hashtag1","hashtag2"]},{"1338613638":["hashtag1","hashtag2"]},{"1338613643":["hashtag1","hashtag2"]},{"1338613637":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613650, 1338613647, 1338613641, 1338613638, 1338613643, 1338613637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.19190526008606 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:45:33.090716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/53/image_20022025_05_53_15_10350.jpg', '/home/pi/Desktop/images/20022025/05/53/image_20022025_05_53_25_9443.jpg', '/home/pi/Desktop/images/20022025/05/53/image_20022025_05_53_35_10328.jpg', '/home/pi/Desktop/images/20022025/05/53/image_20022025_05_53_45_9389.jpg', '/home/pi/Desktop/images/20022025/05/53/image_20022025_05_54_05_10426.jpg', '/home/pi/Desktop/images/20022025/05/54/image_20022025_05_54_15_9397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/53/image_20022025_05_53_15_10350.jpg
/home/pi/Desktop/images/20022025/05/53/image_20022025_05_53_25_9443.jpg
/home/pi/Desktop/images/20022025/05/53/image_20022025_05_53_35_10328.jpg
/home/pi/Desktop/images/20022025/05/53/image_20022025_05_53_45_9389.jpg
/home/pi/Desktop/images/20022025/05/53/image_20022025_05_54_05_10426.jpg
/home/pi/Desktop/images/20022025/05/54/image_20022025_05_54_15_9397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613664","1338613667","1338613684","1338613687","1338613681","1338613669"],"photo_ids_order":["1338613664","1338613667","1338613669","1338613681","1338613684","1338613687"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a93a9a3856481df9753347aad2201470.jpg","text":"TemporaryFile(/tmp/multipartBody7853725267097141005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062793665,"filename":"image_20022025_05_53_15_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d98870b9cf0cb4fcd228db198554a993.jpg","text":"TemporaryFile(/tmp/multipartBody2657545553162484717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062793665,"filename":"image_20022025_05_53_25_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa5b93cc42e2da09c75aff4c1ee7e84a.jpg","text":"TemporaryFile(/tmp/multipartBody7765646194111784014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062793665,"filename":"image_20022025_05_54_05_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24aae85eeb289789fe7d33aecc314857.jpg","text":"TemporaryFile(/tmp/multipartBody5476107912167833434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062793665,"filename":"image_20022025_05_54_15_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d13e17290f047f6d1ad196a2a662cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2517038152991019073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062793665,"filename":"image_20022025_05_53_45_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/05a1374638a71c9b4402dbf2f172ab1f.jpg","text":"TemporaryFile(/tmp/multipartBody4398885239070220057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062793665,"filename":"image_20022025_05_53_35_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613669","file1":"1338613667","file0":"1338613664","file4":"1338613684","file5":"1338613687","file3":"1338613681"},"map_files_photo_id_array":[{"photo_id":"1338613687","filename":"file5"},{"photo_id":"1338613669","filename":"file2"},{"photo_id":"1338613684","filename":"file4"},{"photo_id":"1338613667","filename":"file1"},{"photo_id":"1338613664","filename":"file0"},{"photo_id":"1338613681","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613664":["hashtag1","hashtag2"]},{"1338613667":["hashtag1","hashtag2"]},{"1338613684":["hashtag1","hashtag2"]},{"1338613687":["hashtag1","hashtag2"]},{"1338613681":["hashtag1","hashtag2"]},{"1338613669":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613664, 1338613667, 1338613684, 1338613687, 1338613681, 1338613669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23066306114197 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:46:32.436515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/54/image_20022025_05_54_45_10336.jpg', '/home/pi/Desktop/images/20022025/05/54/image_20022025_05_54_55_10334.jpg', '/home/pi/Desktop/images/20022025/05/54/image_20022025_05_55_05_9450.jpg', '/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_15_10340.jpg', '/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_25_10361.jpg', '/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_35_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/54/image_20022025_05_54_45_10336.jpg
/home/pi/Desktop/images/20022025/05/54/image_20022025_05_54_55_10334.jpg
/home/pi/Desktop/images/20022025/05/54/image_20022025_05_55_05_9450.jpg
/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_15_10340.jpg
/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_25_10361.jpg
/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_35_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613729","1338613720","1338613723","1338613732","1338613726","1338613716"],"photo_ids_order":["1338613716","1338613720","1338613723","1338613726","1338613729","1338613732"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dadcd946d6de784e2a2c3253b1997894.jpg","text":"TemporaryFile(/tmp/multipartBody8096580035058725109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062853294,"filename":"image_20022025_05_55_25_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1db59edff317e6c727e19db39e985fb3.jpg","text":"TemporaryFile(/tmp/multipartBody1286816261760781944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062853294,"filename":"image_20022025_05_54_55_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6eb156d44ae72aed6ed5ee70b0d869d7.jpg","text":"TemporaryFile(/tmp/multipartBody860689790395855522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062853294,"filename":"image_20022025_05_55_05_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1501687115142b3a650638642695a946.jpg","text":"TemporaryFile(/tmp/multipartBody3776804200533936564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062853294,"filename":"image_20022025_05_55_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6865abcd1450bd61888ca4dcf1091464.jpg","text":"TemporaryFile(/tmp/multipartBody8626540965414899086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062853294,"filename":"image_20022025_05_55_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cdbbc5e997ff443885527f4c90600f9.jpg","text":"TemporaryFile(/tmp/multipartBody5160772654899101388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062853294,"filename":"image_20022025_05_54_45_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613723","file1":"1338613720","file0":"1338613716","file4":"1338613729","file5":"1338613732","file3":"1338613726"},"map_files_photo_id_array":[{"photo_id":"1338613732","filename":"file5"},{"photo_id":"1338613723","filename":"file2"},{"photo_id":"1338613729","filename":"file4"},{"photo_id":"1338613720","filename":"file1"},{"photo_id":"1338613716","filename":"file0"},{"photo_id":"1338613726","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613729":["hashtag1","hashtag2"]},{"1338613720":["hashtag1","hashtag2"]},{"1338613723":["hashtag1","hashtag2"]},{"1338613732":["hashtag1","hashtag2"]},{"1338613726":["hashtag1","hashtag2"]},{"1338613716":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613729, 1338613720, 1338613723, 1338613732, 1338613726, 1338613716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25256848335266 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:47:32.686502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_45_10367.jpg', '/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_55_10353.jpg', '/home/pi/Desktop/images/20022025/05/56/image_20022025_05_56_15_10345.jpg', '/home/pi/Desktop/images/20022025/05/56/image_20022025_05_56_35_10346.jpg', '/home/pi/Desktop/images/20022025/05/56/image_20022025_05_56_45_10358.jpg', '/home/pi/Desktop/images/20022025/05/56/image_20022025_05_56_55_9352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_45_10367.jpg
/home/pi/Desktop/images/20022025/05/55/image_20022025_05_55_55_10353.jpg
/home/pi/Desktop/images/20022025/05/56/image_20022025_05_56_15_10345.jpg
/home/pi/Desktop/images/20022025/05/56/image_20022025_05_56_35_10346.jpg
/home/pi/Desktop/images/20022025/05/56/image_20022025_05_56_45_10358.jpg
/home/pi/Desktop/images/20022025/05/56/image_20022025_05_56_55_9352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613782","1338613761","1338613770","1338613767","1338613754","1338613784"],"photo_ids_order":["1338613754","1338613761","1338613767","1338613770","1338613782","1338613784"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d8acee4d072a70c62d7834796f0572b3.jpg","text":"TemporaryFile(/tmp/multipartBody3507129195911412781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062913267,"filename":"image_20022025_05_56_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50e31226308817798e949689eaf7859d.jpg","text":"TemporaryFile(/tmp/multipartBody5708346333278727947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062913267,"filename":"image_20022025_05_55_55_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6123a1a9d168174dc78616828b064733.jpg","text":"TemporaryFile(/tmp/multipartBody782779385653844466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062913267,"filename":"image_20022025_05_56_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bdbd0db94f7a96ade529b6040c578556.jpg","text":"TemporaryFile(/tmp/multipartBody6058224750478251258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062913267,"filename":"image_20022025_05_56_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b94bdd7cb9258f9fa35b7deb47bde08.jpg","text":"TemporaryFile(/tmp/multipartBody5225789280917428295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062913267,"filename":"image_20022025_05_55_45_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dece291a6580892b82a16daaaaf55f2f.jpg","text":"TemporaryFile(/tmp/multipartBody1623134382537919004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062913267,"filename":"image_20022025_05_56_55_9352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613767","file1":"1338613761","file0":"1338613754","file4":"1338613782","file5":"1338613784","file3":"1338613770"},"map_files_photo_id_array":[{"photo_id":"1338613784","filename":"file5"},{"photo_id":"1338613767","filename":"file2"},{"photo_id":"1338613782","filename":"file4"},{"photo_id":"1338613761","filename":"file1"},{"photo_id":"1338613754","filename":"file0"},{"photo_id":"1338613770","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613782":["hashtag1","hashtag2"]},{"1338613761":["hashtag1","hashtag2"]},{"1338613770":["hashtag1","hashtag2"]},{"1338613767":["hashtag1","hashtag2"]},{"1338613754":["hashtag1","hashtag2"]},{"1338613784":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613782, 1338613761, 1338613770, 1338613767, 1338613754, 1338613784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.105345010757446 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:48:32.585263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/56/image_20022025_05_57_05_10395.jpg', '/home/pi/Desktop/images/20022025/05/57/image_20022025_05_57_15_10414.jpg', '/home/pi/Desktop/images/20022025/05/57/image_20022025_05_57_25_9332.jpg', '/home/pi/Desktop/images/20022025/05/57/image_20022025_05_57_44_9407.jpg', '/home/pi/Desktop/images/20022025/05/57/image_20022025_05_57_55_10380.jpg', '/home/pi/Desktop/images/20022025/05/57/image_20022025_05_58_05_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/56/image_20022025_05_57_05_10395.jpg
/home/pi/Desktop/images/20022025/05/57/image_20022025_05_57_15_10414.jpg
/home/pi/Desktop/images/20022025/05/57/image_20022025_05_57_25_9332.jpg
/home/pi/Desktop/images/20022025/05/57/image_20022025_05_57_44_9407.jpg
/home/pi/Desktop/images/20022025/05/57/image_20022025_05_57_55_10380.jpg
/home/pi/Desktop/images/20022025/05/57/image_20022025_05_58_05_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613816","1338613831","1338613819","1338613836","1338613821","1338613818"],"photo_ids_order":["1338613816","1338613818","1338613819","1338613821","1338613831","1338613836"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cf4dcb618fcc88d4149651d30419fd04.jpg","text":"TemporaryFile(/tmp/multipartBody662806029743792422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062973162,"filename":"image_20022025_05_57_05_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9d3339c972f6b01e3e7f48e6399efcd.jpg","text":"TemporaryFile(/tmp/multipartBody3039276097686695306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062973162,"filename":"image_20022025_05_57_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08aa1e852396cec0c50c19f1eb1576f1.jpg","text":"TemporaryFile(/tmp/multipartBody1323636355591752152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062973162,"filename":"image_20022025_05_57_25_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e068fc13aa5390eddfdd69bf9f2b092.jpg","text":"TemporaryFile(/tmp/multipartBody6563072466371969042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062973162,"filename":"image_20022025_05_58_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db9873906e15c94667e32614d8c5f786.jpg","text":"TemporaryFile(/tmp/multipartBody1337346696827266127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062973162,"filename":"image_20022025_05_57_44_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7fbbe8297805d7415e7cc39b6e946707.jpg","text":"TemporaryFile(/tmp/multipartBody1969358087088150583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740062973162,"filename":"image_20022025_05_57_15_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613819","file1":"1338613818","file0":"1338613816","file4":"1338613831","file5":"1338613836","file3":"1338613821"},"map_files_photo_id_array":[{"photo_id":"1338613836","filename":"file5"},{"photo_id":"1338613819","filename":"file2"},{"photo_id":"1338613831","filename":"file4"},{"photo_id":"1338613818","filename":"file1"},{"photo_id":"1338613816","filename":"file0"},{"photo_id":"1338613821","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613816":["hashtag1","hashtag2"]},{"1338613831":["hashtag1","hashtag2"]},{"1338613819":["hashtag1","hashtag2"]},{"1338613836":["hashtag1","hashtag2"]},{"1338613821":["hashtag1","hashtag2"]},{"1338613818":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613816, 1338613831, 1338613819, 1338613836, 1338613821, 1338613818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.233043909072876 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:49:32.950359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_15_9368.jpg', '/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_25_10428.jpg', '/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_35_10351.jpg', '/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_45_9412.jpg', '/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_55_10416.jpg', '/home/pi/Desktop/images/20022025/05/58/image_20022025_05_59_05_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_15_9368.jpg
/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_25_10428.jpg
/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_35_10351.jpg
/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_45_9412.jpg
/home/pi/Desktop/images/20022025/05/58/image_20022025_05_58_55_10416.jpg
/home/pi/Desktop/images/20022025/05/58/image_20022025_05_59_05_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613868","1338613862","1338613856","1338613865","1338613859","1338613870"],"photo_ids_order":["1338613856","1338613859","1338613862","1338613865","1338613868","1338613870"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7bc9ba7ddf7ea99a9e8db611b2490edf.jpg","text":"TemporaryFile(/tmp/multipartBody5527916807493181716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063033791,"filename":"image_20022025_05_58_55_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f80ca6ff308b5654739136ea4960a94.jpg","text":"TemporaryFile(/tmp/multipartBody1155370972966873911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063033791,"filename":"image_20022025_05_58_35_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f35c89e5a2733f9793462600dde61be.jpg","text":"TemporaryFile(/tmp/multipartBody4037527104104514600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063033791,"filename":"image_20022025_05_58_15_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46157f86e64aa121c19d601042110d5e.jpg","text":"TemporaryFile(/tmp/multipartBody3521206788083203592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063033791,"filename":"image_20022025_05_58_45_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/653926184b9a9dbfa69c5519998a118b.jpg","text":"TemporaryFile(/tmp/multipartBody8636585889622452765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063033791,"filename":"image_20022025_05_58_25_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8d989d78db62fe2c6bea5f0b9a3e55f.jpg","text":"TemporaryFile(/tmp/multipartBody9027982735959837407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063033791,"filename":"image_20022025_05_59_05_9451.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613862","file1":"1338613859","file0":"1338613856","file4":"1338613868","file5":"1338613870","file3":"1338613865"},"map_files_photo_id_array":[{"photo_id":"1338613870","filename":"file5"},{"photo_id":"1338613862","filename":"file2"},{"photo_id":"1338613868","filename":"file4"},{"photo_id":"1338613859","filename":"file1"},{"photo_id":"1338613856","filename":"file0"},{"photo_id":"1338613865","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613868":["hashtag1","hashtag2"]},{"1338613862":["hashtag1","hashtag2"]},{"1338613856":["hashtag1","hashtag2"]},{"1338613865":["hashtag1","hashtag2"]},{"1338613859":["hashtag1","hashtag2"]},{"1338613870":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613868, 1338613862, 1338613856, 1338613865, 1338613859, 1338613870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4935884475708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:50:33.019355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/05/59/image_20022025_05_59_25_10377.jpg', '/home/pi/Desktop/images/20022025/05/59/image_20022025_05_59_35_9376.jpg', '/home/pi/Desktop/images/20022025/05/59/image_20022025_05_59_45_10364.jpg', '/home/pi/Desktop/images/20022025/05/59/image_20022025_05_59_55_9434.jpg', '/home/pi/Desktop/images/20022025/06/00/image_20022025_06_00_15_10072.jpg', '/home/pi/Desktop/images/20022025/06/00/image_20022025_06_00_26_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/05/59/image_20022025_05_59_25_10377.jpg
/home/pi/Desktop/images/20022025/05/59/image_20022025_05_59_35_9376.jpg
/home/pi/Desktop/images/20022025/05/59/image_20022025_05_59_45_10364.jpg
/home/pi/Desktop/images/20022025/05/59/image_20022025_05_59_55_9434.jpg
/home/pi/Desktop/images/20022025/06/00/image_20022025_06_00_15_10072.jpg
/home/pi/Desktop/images/20022025/06/00/image_20022025_06_00_26_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613911","1338613920","1338613914","1338613898","1338613917","1338613902"],"photo_ids_order":["1338613898","1338613902","1338613911","1338613914","1338613917","1338613920"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2539411499004630be0ad10ddd358e88.jpg","text":"TemporaryFile(/tmp/multipartBody3922632099444103164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063093594,"filename":"image_20022025_05_59_45_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56775751ebddc1010e012a3eb1f0f660.jpg","text":"TemporaryFile(/tmp/multipartBody126721227415762738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063093594,"filename":"image_20022025_06_00_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46a815c30eb082d24108cafd70192a4e.jpg","text":"TemporaryFile(/tmp/multipartBody7823882305475865715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063093594,"filename":"image_20022025_05_59_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c52f141fb434b67cbf65c1bff8fe662b.jpg","text":"TemporaryFile(/tmp/multipartBody8544793910269770573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063093594,"filename":"image_20022025_05_59_25_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d45ff497f28f86b9e24d8ac0316fbe9b.jpg","text":"TemporaryFile(/tmp/multipartBody30826409685550584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063093594,"filename":"image_20022025_06_00_15_10072.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/17f53f60425c348a542d12ab0883bd15.jpg","text":"TemporaryFile(/tmp/multipartBody6938765482224435466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063093594,"filename":"image_20022025_05_59_35_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613911","file1":"1338613902","file0":"1338613898","file4":"1338613917","file5":"1338613920","file3":"1338613914"},"map_files_photo_id_array":[{"photo_id":"1338613920","filename":"file5"},{"photo_id":"1338613911","filename":"file2"},{"photo_id":"1338613917","filename":"file4"},{"photo_id":"1338613902","filename":"file1"},{"photo_id":"1338613898","filename":"file0"},{"photo_id":"1338613914","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613911":["hashtag1","hashtag2"]},{"1338613920":["hashtag1","hashtag2"]},{"1338613914":["hashtag1","hashtag2"]},{"1338613898":["hashtag1","hashtag2"]},{"1338613917":["hashtag1","hashtag2"]},{"1338613902":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613911, 1338613920, 1338613914, 1338613898, 1338613917, 1338613902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08518624305725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:51:33.114340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/00/image_20022025_06_00_36_10338.jpg', '/home/pi/Desktop/images/20022025/06/00/image_20022025_06_00_56_10344.jpg', '/home/pi/Desktop/images/20022025/06/00/image_20022025_06_01_06_10343.jpg', '/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_26_10352.jpg', '/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_36_10339.jpg', '/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_45_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/00/image_20022025_06_00_36_10338.jpg
/home/pi/Desktop/images/20022025/06/00/image_20022025_06_00_56_10344.jpg
/home/pi/Desktop/images/20022025/06/00/image_20022025_06_01_06_10343.jpg
/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_26_10352.jpg
/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_36_10339.jpg
/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_45_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613948","1338613944","1338613953","1338613940","1338613946","1338613951"],"photo_ids_order":["1338613940","1338613944","1338613946","1338613948","1338613951","1338613953"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b2f41700a9abbec74f4391b48d934d9.jpg","text":"TemporaryFile(/tmp/multipartBody112264846080700585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063153702,"filename":"image_20022025_06_01_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16cfab6a3b948c222892c3cbc25f734c.jpg","text":"TemporaryFile(/tmp/multipartBody2484350741185068706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063153702,"filename":"image_20022025_06_00_56_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/714ab22084c804c0352f6dde5260eed5.jpg","text":"TemporaryFile(/tmp/multipartBody1046941379371816279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063153702,"filename":"image_20022025_06_01_45_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50c45989e8d9af5d82e0cadbb5c2d4ab.jpg","text":"TemporaryFile(/tmp/multipartBody8187516255906764353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063153702,"filename":"image_20022025_06_00_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9efbdede590effb3d710355859ae529d.jpg","text":"TemporaryFile(/tmp/multipartBody1108257661413226594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063153702,"filename":"image_20022025_06_01_06_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1400ef105f27844fbe232784f0ebf14.jpg","text":"TemporaryFile(/tmp/multipartBody5847505232154248497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063153702,"filename":"image_20022025_06_01_36_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613946","file1":"1338613944","file0":"1338613940","file4":"1338613951","file5":"1338613953","file3":"1338613948"},"map_files_photo_id_array":[{"photo_id":"1338613953","filename":"file5"},{"photo_id":"1338613946","filename":"file2"},{"photo_id":"1338613951","filename":"file4"},{"photo_id":"1338613944","filename":"file1"},{"photo_id":"1338613940","filename":"file0"},{"photo_id":"1338613948","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613948":["hashtag1","hashtag2"]},{"1338613944":["hashtag1","hashtag2"]},{"1338613953":["hashtag1","hashtag2"]},{"1338613940":["hashtag1","hashtag2"]},{"1338613946":["hashtag1","hashtag2"]},{"1338613951":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613948, 1338613944, 1338613953, 1338613940, 1338613946, 1338613951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4418420791626 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:52:32.236499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_56_10350.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_15_10355.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_26_10345.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_35_9401.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_46_10363.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_03_05_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_56_10350.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_15_10355.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_26_10345.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_35_9401.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_46_10363.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_03_05_9331.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.46063733100891113 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 15:52:42.282303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_56_10350.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_15_10355.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_26_10345.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_35_9401.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_46_10363.jpg', '/home/pi/Desktop/images/20022025/06/02/image_20022025_06_03_05_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/01/image_20022025_06_01_56_10350.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_15_10355.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_26_10345.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_35_9401.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_02_46_10363.jpg
/home/pi/Desktop/images/20022025/06/02/image_20022025_06_03_05_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338613974","1338613983","1338613977","1338614003","1338613993","1338613990"],"photo_ids_order":["1338613974","1338613977","1338613983","1338613990","1338613993","1338614003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e14392f8399f314c525f5b16823367c9.jpg","text":"TemporaryFile(/tmp/multipartBody1884934110261388714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063222776,"filename":"image_20022025_06_01_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5c5ff270d3448d0d22e64e390922f709.jpg","text":"TemporaryFile(/tmp/multipartBody8659496171884875544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063222776,"filename":"image_20022025_06_02_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/489bb84360e8856342f8c6f38b5b4bbf.jpg","text":"TemporaryFile(/tmp/multipartBody4759051469728270628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063222776,"filename":"image_20022025_06_02_15_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c5756afe6231d8b66ec8d03b46f2f437.jpg","text":"TemporaryFile(/tmp/multipartBody4267887428527747735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063222776,"filename":"image_20022025_06_03_05_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/74310f45622ba968c8a0b0e7c3b3183e.jpg","text":"TemporaryFile(/tmp/multipartBody2781486486353873855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063222776,"filename":"image_20022025_06_02_46_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a25451a3a8c24437bcef0581608ce7db.jpg","text":"TemporaryFile(/tmp/multipartBody980885348526742372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063222776,"filename":"image_20022025_06_02_35_9401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338613983","file1":"1338613977","file0":"1338613974","file4":"1338613993","file5":"1338614003","file3":"1338613990"},"map_files_photo_id_array":[{"photo_id":"1338614003","filename":"file5"},{"photo_id":"1338613983","filename":"file2"},{"photo_id":"1338613993","filename":"file4"},{"photo_id":"1338613977","filename":"file1"},{"photo_id":"1338613974","filename":"file0"},{"photo_id":"1338613990","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338613974":["hashtag1","hashtag2"]},{"1338613983":["hashtag1","hashtag2"]},{"1338613977":["hashtag1","hashtag2"]},{"1338614003":["hashtag1","hashtag2"]},{"1338613993":["hashtag1","hashtag2"]},{"1338613990":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338613974, 1338613983, 1338613977, 1338614003, 1338613993, 1338613990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40848183631897 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:53:32.448067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/03/image_20022025_06_03_46_10472.jpg', '/home/pi/Desktop/images/20022025/06/03/image_20022025_06_04_06_10399.jpg', '/home/pi/Desktop/images/20022025/06/04/image_20022025_06_04_16_10334.jpg', '/home/pi/Desktop/images/20022025/06/04/image_20022025_06_04_26_9474.jpg', '/home/pi/Desktop/images/20022025/06/04/image_20022025_06_04_56_10339.jpg', '/home/pi/Desktop/images/20022025/06/04/image_20022025_06_05_06_10320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/03/image_20022025_06_03_46_10472.jpg
/home/pi/Desktop/images/20022025/06/03/image_20022025_06_04_06_10399.jpg
/home/pi/Desktop/images/20022025/06/04/image_20022025_06_04_16_10334.jpg
/home/pi/Desktop/images/20022025/06/04/image_20022025_06_04_26_9474.jpg
/home/pi/Desktop/images/20022025/06/04/image_20022025_06_04_56_10339.jpg
/home/pi/Desktop/images/20022025/06/04/image_20022025_06_05_06_10320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338614949","1338614727","1338614942","1338614941","1338614944","1338614947"],"photo_ids_order":["1338614727","1338614941","1338614942","1338614944","1338614947","1338614949"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0dd7518b0a857c6fa61a41b68046eef.jpg","text":"TemporaryFile(/tmp/multipartBody2507340624642779869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063273029,"filename":"image_20022025_06_05_06_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bbd80fc94cca3c4da0921e73952788f2.jpg","text":"TemporaryFile(/tmp/multipartBody5060674957626102756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063273029,"filename":"image_20022025_06_03_46_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d4b89e592f9985f433154503e95cf84.jpg","text":"TemporaryFile(/tmp/multipartBody7210616174239406690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063273029,"filename":"image_20022025_06_04_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2bd74a1c3751ac49126bf1f98aec6d1e.jpg","text":"TemporaryFile(/tmp/multipartBody2935124047323336859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063273029,"filename":"image_20022025_06_04_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ccfda6b3985f008f3628b74a4229f7b.jpg","text":"TemporaryFile(/tmp/multipartBody3350776391138841701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063273029,"filename":"image_20022025_06_04_26_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36d37920ae642c07aac39e6b6e6cde1e.jpg","text":"TemporaryFile(/tmp/multipartBody3875890970898375576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063273029,"filename":"image_20022025_06_04_56_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338614942","file1":"1338614941","file0":"1338614727","file4":"1338614947","file5":"1338614949","file3":"1338614944"},"map_files_photo_id_array":[{"photo_id":"1338614949","filename":"file5"},{"photo_id":"1338614942","filename":"file2"},{"photo_id":"1338614947","filename":"file4"},{"photo_id":"1338614941","filename":"file1"},{"photo_id":"1338614727","filename":"file0"},{"photo_id":"1338614944","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338614949":["hashtag1","hashtag2"]},{"1338614727":["hashtag1","hashtag2"]},{"1338614942":["hashtag1","hashtag2"]},{"1338614941":["hashtag1","hashtag2"]},{"1338614944":["hashtag1","hashtag2"]},{"1338614947":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338614949, 1338614727, 1338614942, 1338614941, 1338614944, 1338614947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04885005950928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:54:32.645253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/05/image_20022025_06_05_15_9398.jpg', '/home/pi/Desktop/images/20022025/06/05/image_20022025_06_05_26_10359.jpg', '/home/pi/Desktop/images/20022025/06/05/image_20022025_06_05_36_10361.jpg', '/home/pi/Desktop/images/20022025/06/05/image_20022025_06_05_45_9332.jpg', '/home/pi/Desktop/images/20022025/06/06/image_20022025_06_06_16_10414.jpg', '/home/pi/Desktop/images/20022025/06/06/image_20022025_06_06_35_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/05/image_20022025_06_05_15_9398.jpg
/home/pi/Desktop/images/20022025/06/05/image_20022025_06_05_26_10359.jpg
/home/pi/Desktop/images/20022025/06/05/image_20022025_06_05_36_10361.jpg
/home/pi/Desktop/images/20022025/06/05/image_20022025_06_05_45_9332.jpg
/home/pi/Desktop/images/20022025/06/06/image_20022025_06_06_16_10414.jpg
/home/pi/Desktop/images/20022025/06/06/image_20022025_06_06_35_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338615060","1338615057","1338615047","1338615002","1338615010","1338615004"],"photo_ids_order":["1338615002","1338615004","1338615010","1338615047","1338615057","1338615060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4d1a583fdc83d4899d38c0582b60b02.jpg","text":"TemporaryFile(/tmp/multipartBody573299971349785991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063333211,"filename":"image_20022025_06_06_35_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/305b3ee73e8c7305a2cd84eacc367059.jpg","text":"TemporaryFile(/tmp/multipartBody3542180137565073675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063333211,"filename":"image_20022025_06_06_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4851a66698505afa6482fe4ccc8ad7a.jpg","text":"TemporaryFile(/tmp/multipartBody5461971016682143756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063333211,"filename":"image_20022025_06_05_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5cfe4b2c237eb3b7b68eccb772ba621.jpg","text":"TemporaryFile(/tmp/multipartBody692818592014667579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063333211,"filename":"image_20022025_06_05_15_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd0c3b045fdfe2b4f62ae7aea06e6239.jpg","text":"TemporaryFile(/tmp/multipartBody868322754039346798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063333211,"filename":"image_20022025_06_05_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e59c04667459ca0270cc330a578a23fa.jpg","text":"TemporaryFile(/tmp/multipartBody5715873602826993793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063333211,"filename":"image_20022025_06_05_26_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338615010","file1":"1338615004","file0":"1338615002","file4":"1338615057","file5":"1338615060","file3":"1338615047"},"map_files_photo_id_array":[{"photo_id":"1338615060","filename":"file5"},{"photo_id":"1338615010","filename":"file2"},{"photo_id":"1338615057","filename":"file4"},{"photo_id":"1338615004","filename":"file1"},{"photo_id":"1338615002","filename":"file0"},{"photo_id":"1338615047","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338615060":["hashtag1","hashtag2"]},{"1338615057":["hashtag1","hashtag2"]},{"1338615047":["hashtag1","hashtag2"]},{"1338615002":["hashtag1","hashtag2"]},{"1338615010":["hashtag1","hashtag2"]},{"1338615004":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338615060, 1338615057, 1338615047, 1338615002, 1338615010, 1338615004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.846375703811646 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:55:32.740180
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/06/image_20022025_06_06_56_10348.jpg', '/home/pi/Desktop/images/20022025/06/06/image_20022025_06_07_05_9377.jpg', '/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_16_10328.jpg', '/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_25_9351.jpg', '/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_36_10406.jpg', '/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_46_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/06/image_20022025_06_06_56_10348.jpg
/home/pi/Desktop/images/20022025/06/06/image_20022025_06_07_05_9377.jpg
/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_16_10328.jpg
/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_25_9351.jpg
/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_36_10406.jpg
/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_46_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338615651","1338615593","1338615595","1338615562","1338615472","1338615585"],"photo_ids_order":["1338615472","1338615562","1338615585","1338615593","1338615595","1338615651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40c73414c38b49a3adbd72c3148404b8.jpg","text":"TemporaryFile(/tmp/multipartBody5106015018239045177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063393345,"filename":"image_20022025_06_07_46_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a0ca46537d6f388897f8458669cea334.jpg","text":"TemporaryFile(/tmp/multipartBody1887318829588265723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063393345,"filename":"image_20022025_06_07_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31fc8cdc4d52b33461add352caa76b38.jpg","text":"TemporaryFile(/tmp/multipartBody6206237036545319603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063393345,"filename":"image_20022025_06_07_36_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/818bf5637c9fc915fcf8fe71aad364a7.jpg","text":"TemporaryFile(/tmp/multipartBody4507470264371238709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063393345,"filename":"image_20022025_06_07_05_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c1619c4f3575e77b1faef505a782fbe2.jpg","text":"TemporaryFile(/tmp/multipartBody830990503868385711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063393345,"filename":"image_20022025_06_06_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe2af284afa5ee7f2e8fdcb7ea6b6539.jpg","text":"TemporaryFile(/tmp/multipartBody1480383352260902709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063393345,"filename":"image_20022025_06_07_16_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338615585","file1":"1338615562","file0":"1338615472","file4":"1338615595","file5":"1338615651","file3":"1338615593"},"map_files_photo_id_array":[{"photo_id":"1338615651","filename":"file5"},{"photo_id":"1338615585","filename":"file2"},{"photo_id":"1338615595","filename":"file4"},{"photo_id":"1338615562","filename":"file1"},{"photo_id":"1338615472","filename":"file0"},{"photo_id":"1338615593","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338615651":["hashtag1","hashtag2"]},{"1338615593":["hashtag1","hashtag2"]},{"1338615595":["hashtag1","hashtag2"]},{"1338615562":["hashtag1","hashtag2"]},{"1338615472":["hashtag1","hashtag2"]},{"1338615585":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338615651, 1338615593, 1338615595, 1338615562, 1338615472, 1338615585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.99236798286438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:56:32.926029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_55_9359.jpg', '/home/pi/Desktop/images/20022025/06/07/image_20022025_06_08_06_10403.jpg', '/home/pi/Desktop/images/20022025/06/08/image_20022025_06_08_16_10334.jpg', '/home/pi/Desktop/images/20022025/06/08/image_20022025_06_08_25_9437.jpg', '/home/pi/Desktop/images/20022025/06/08/image_20022025_06_09_06_10327.jpg', '/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_15_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/07/image_20022025_06_07_55_9359.jpg
/home/pi/Desktop/images/20022025/06/07/image_20022025_06_08_06_10403.jpg
/home/pi/Desktop/images/20022025/06/08/image_20022025_06_08_16_10334.jpg
/home/pi/Desktop/images/20022025/06/08/image_20022025_06_08_25_9437.jpg
/home/pi/Desktop/images/20022025/06/08/image_20022025_06_09_06_10327.jpg
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_15_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338615776","1338615770","1338615764","1338615773","1338615780","1338615768"],"photo_ids_order":["1338615764","1338615768","1338615770","1338615773","1338615776","1338615780"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b05460f95352dd04583adbed07c2ad7.jpg","text":"TemporaryFile(/tmp/multipartBody2929734286774723101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063453498,"filename":"image_20022025_06_09_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/496d25c383f4f932c9034e614161c267.jpg","text":"TemporaryFile(/tmp/multipartBody3184332444589217644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063453498,"filename":"image_20022025_06_08_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3c39e28bc7aac42847fc342425ec91a.jpg","text":"TemporaryFile(/tmp/multipartBody4610679149490807240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063453498,"filename":"image_20022025_06_07_55_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e8c5456cc97ede181ffdcdab388c9eff.jpg","text":"TemporaryFile(/tmp/multipartBody4306257601750776361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063453498,"filename":"image_20022025_06_08_25_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08d2db971360e13de28c5cf8d25525c4.jpg","text":"TemporaryFile(/tmp/multipartBody7183903651524132995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063453498,"filename":"image_20022025_06_09_15_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a1d8ad3c08a96ae8eef6c7a398ef31e.jpg","text":"TemporaryFile(/tmp/multipartBody1193859428814876218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063453498,"filename":"image_20022025_06_08_06_10403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338615770","file1":"1338615768","file0":"1338615764","file4":"1338615776","file5":"1338615780","file3":"1338615773"},"map_files_photo_id_array":[{"photo_id":"1338615780","filename":"file5"},{"photo_id":"1338615770","filename":"file2"},{"photo_id":"1338615776","filename":"file4"},{"photo_id":"1338615768","filename":"file1"},{"photo_id":"1338615764","filename":"file0"},{"photo_id":"1338615773","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338615776":["hashtag1","hashtag2"]},{"1338615770":["hashtag1","hashtag2"]},{"1338615764":["hashtag1","hashtag2"]},{"1338615773":["hashtag1","hashtag2"]},{"1338615780":["hashtag1","hashtag2"]},{"1338615768":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338615776, 1338615770, 1338615764, 1338615773, 1338615780, 1338615768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56157732009888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 15:57:33.182894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_26_10342.jpg', '/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_36_10343.jpg', '/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_45_9467.jpg', '/home/pi/Desktop/images/20022025/06/09/image_20022025_06_10_05_9332.jpg', '/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_26_10341.jpg', '/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_35_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_26_10342.jpg
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_36_10343.jpg
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_45_9467.jpg
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_10_05_9332.jpg
/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_26_10341.jpg
/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_35_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 15:59:04.606806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_26_10342.jpg', '/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_36_10343.jpg', '/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_45_9467.jpg', '/home/pi/Desktop/images/20022025/06/09/image_20022025_06_10_05_9332.jpg', '/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_26_10341.jpg', '/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_35_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_26_10342.jpg
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_36_10343.jpg
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_09_45_9467.jpg
/home/pi/Desktop/images/20022025/06/09/image_20022025_06_10_05_9332.jpg
/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_26_10341.jpg
/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_35_9350.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338617015","1338617000","1338617005","1338616936","1338617010","1338616997"],"photo_ids_order":["1338616936","1338616997","1338617000","1338617005","1338617010","1338617015"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b108afc0fa9494318b64273694c93e8.jpg","text":"TemporaryFile(/tmp/multipartBody5528975047210215270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063605233,"filename":"image_20022025_06_10_35_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eeb50ffdf6ec995dc8c5a90ed30453be.jpg","text":"TemporaryFile(/tmp/multipartBody7642119582756752208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063605233,"filename":"image_20022025_06_09_45_9467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2dce6712ac2254a2a2b80320fc841374.jpg","text":"TemporaryFile(/tmp/multipartBody9053746453827130692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063605233,"filename":"image_20022025_06_10_05_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8bae9952682f11e41fe3db41331186dc.jpg","text":"TemporaryFile(/tmp/multipartBody6889855127095020596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063605233,"filename":"image_20022025_06_09_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e58d39d21fcdedb95a8cb634dea8f58c.jpg","text":"TemporaryFile(/tmp/multipartBody3313872597733558233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063605233,"filename":"image_20022025_06_10_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/215c30c1ec59345c8b1690507eef04b8.jpg","text":"TemporaryFile(/tmp/multipartBody6638900072016539222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063605233,"filename":"image_20022025_06_09_36_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338617000","file1":"1338616997","file0":"1338616936","file4":"1338617010","file5":"1338617015","file3":"1338617005"},"map_files_photo_id_array":[{"photo_id":"1338617015","filename":"file5"},{"photo_id":"1338617000","filename":"file2"},{"photo_id":"1338617010","filename":"file4"},{"photo_id":"1338616997","filename":"file1"},{"photo_id":"1338616936","filename":"file0"},{"photo_id":"1338617005","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338617015":["hashtag1","hashtag2"]},{"1338617000":["hashtag1","hashtag2"]},{"1338617005":["hashtag1","hashtag2"]},{"1338616936":["hashtag1","hashtag2"]},{"1338617010":["hashtag1","hashtag2"]},{"1338616997":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338617015, 1338617000, 1338617005, 1338616936, 1338617010, 1338616997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57870364189148 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 15:59:42.759553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_46_10419.jpg', '/home/pi/Desktop/images/20022025/06/10/image_20022025_06_11_05_9326.jpg', '/home/pi/Desktop/images/20022025/06/11/image_20022025_06_11_16_10349.jpg', '/home/pi/Desktop/images/20022025/06/11/image_20022025_06_11_26_10356.jpg', '/home/pi/Desktop/images/20022025/06/11/image_20022025_06_11_35_9389.jpg', '/home/pi/Desktop/images/20022025/06/11/image_20022025_06_11_46_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/10/image_20022025_06_10_46_10419.jpg
/home/pi/Desktop/images/20022025/06/10/image_20022025_06_11_05_9326.jpg
/home/pi/Desktop/images/20022025/06/11/image_20022025_06_11_16_10349.jpg
/home/pi/Desktop/images/20022025/06/11/image_20022025_06_11_26_10356.jpg
/home/pi/Desktop/images/20022025/06/11/image_20022025_06_11_35_9389.jpg
/home/pi/Desktop/images/20022025/06/11/image_20022025_06_11_46_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338617027","1338617026","1338617029","1338617031","1338617025","1338617028"],"photo_ids_order":["1338617025","1338617026","1338617027","1338617028","1338617029","1338617031"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42a36c3dc7f2b678936c065c75cf7ff5.jpg","text":"TemporaryFile(/tmp/multipartBody4123187611146902955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063643337,"filename":"image_20022025_06_11_16_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6fe1c8c6c41997cb6323613bd6895db.jpg","text":"TemporaryFile(/tmp/multipartBody8563081670681945562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063643337,"filename":"image_20022025_06_11_05_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1de45c8fba47b1f66c2ee1f540c06acf.jpg","text":"TemporaryFile(/tmp/multipartBody5462825120163434218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063643337,"filename":"image_20022025_06_11_35_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4fa33ec611170948ef9b5933564ccee.jpg","text":"TemporaryFile(/tmp/multipartBody4460137978809421266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063643337,"filename":"image_20022025_06_11_46_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2bfb4e9291f35cd19b0a8d617323640c.jpg","text":"TemporaryFile(/tmp/multipartBody4213340726309573566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063643337,"filename":"image_20022025_06_10_46_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b65ef935d978aa57255e5ac738422e9.jpg","text":"TemporaryFile(/tmp/multipartBody3841949838355029095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063643337,"filename":"image_20022025_06_11_26_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338617027","file1":"1338617026","file0":"1338617025","file4":"1338617029","file5":"1338617031","file3":"1338617028"},"map_files_photo_id_array":[{"photo_id":"1338617031","filename":"file5"},{"photo_id":"1338617027","filename":"file2"},{"photo_id":"1338617029","filename":"file4"},{"photo_id":"1338617026","filename":"file1"},{"photo_id":"1338617025","filename":"file0"},{"photo_id":"1338617028","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338617027":["hashtag1","hashtag2"]},{"1338617026":["hashtag1","hashtag2"]},{"1338617029":["hashtag1","hashtag2"]},{"1338617031":["hashtag1","hashtag2"]},{"1338617025":["hashtag1","hashtag2"]},{"1338617028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338617027, 1338617026, 1338617029, 1338617031, 1338617025, 1338617028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33665347099304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:00:32.860904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/12/image_20022025_06_12_16_10324.jpg', '/home/pi/Desktop/images/20022025/06/12/image_20022025_06_12_46_10373.jpg', '/home/pi/Desktop/images/20022025/06/12/image_20022025_06_13_06_10352.jpg', '/home/pi/Desktop/images/20022025/06/13/image_20022025_06_13_45_9334.jpg', '/home/pi/Desktop/images/20022025/06/13/image_20022025_06_13_56_10415.jpg', '/home/pi/Desktop/images/20022025/06/14/image_20022025_06_14_15_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/12/image_20022025_06_12_16_10324.jpg
/home/pi/Desktop/images/20022025/06/12/image_20022025_06_12_46_10373.jpg
/home/pi/Desktop/images/20022025/06/12/image_20022025_06_13_06_10352.jpg
/home/pi/Desktop/images/20022025/06/13/image_20022025_06_13_45_9334.jpg
/home/pi/Desktop/images/20022025/06/13/image_20022025_06_13_56_10415.jpg
/home/pi/Desktop/images/20022025/06/14/image_20022025_06_14_15_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338617060","1338617204","1338617134","1338617268","1338617055","1338617066"],"photo_ids_order":["1338617055","1338617060","1338617066","1338617134","1338617204","1338617268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c6e4bc27101af0673b03c68847a25572.jpg","text":"TemporaryFile(/tmp/multipartBody6258912113161893769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063693433,"filename":"image_20022025_06_12_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2b1aa134af335c17f5e8c8e8e21b16e.jpg","text":"TemporaryFile(/tmp/multipartBody6715842527642217771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063693433,"filename":"image_20022025_06_13_56_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/17e1617a52140d8dfb66a45bc25d0a47.jpg","text":"TemporaryFile(/tmp/multipartBody678828164142633386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063693433,"filename":"image_20022025_06_13_45_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8fe33ffacc5da726f0004f5c905c1f6f.jpg","text":"TemporaryFile(/tmp/multipartBody523497618860984207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063693433,"filename":"image_20022025_06_14_15_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/32c2b12e11543835b9fde6cd00244c37.jpg","text":"TemporaryFile(/tmp/multipartBody2220146614831830568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063693433,"filename":"image_20022025_06_12_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8bcffab83272260d6504c123d793cca8.jpg","text":"TemporaryFile(/tmp/multipartBody3930352115601761363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063693433,"filename":"image_20022025_06_13_06_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338617066","file1":"1338617060","file0":"1338617055","file4":"1338617204","file5":"1338617268","file3":"1338617134"},"map_files_photo_id_array":[{"photo_id":"1338617268","filename":"file5"},{"photo_id":"1338617066","filename":"file2"},{"photo_id":"1338617204","filename":"file4"},{"photo_id":"1338617060","filename":"file1"},{"photo_id":"1338617055","filename":"file0"},{"photo_id":"1338617134","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338617060":["hashtag1","hashtag2"]},{"1338617204":["hashtag1","hashtag2"]},{"1338617134":["hashtag1","hashtag2"]},{"1338617268":["hashtag1","hashtag2"]},{"1338617055":["hashtag1","hashtag2"]},{"1338617066":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338617060, 1338617204, 1338617134, 1338617268, 1338617055, 1338617066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85385775566101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:01:33.058853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/14/image_20022025_06_14_35_9383.jpg', '/home/pi/Desktop/images/20022025/06/14/image_20022025_06_15_05_9311.jpg', '/home/pi/Desktop/images/20022025/06/15/image_20022025_06_15_16_10340.jpg', '/home/pi/Desktop/images/20022025/06/15/image_20022025_06_15_26_10344.jpg', '/home/pi/Desktop/images/20022025/06/16/image_20022025_06_16_26_10353.jpg', '/home/pi/Desktop/images/20022025/06/16/image_20022025_06_16_35_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/14/image_20022025_06_14_35_9383.jpg
/home/pi/Desktop/images/20022025/06/14/image_20022025_06_15_05_9311.jpg
/home/pi/Desktop/images/20022025/06/15/image_20022025_06_15_16_10340.jpg
/home/pi/Desktop/images/20022025/06/15/image_20022025_06_15_26_10344.jpg
/home/pi/Desktop/images/20022025/06/16/image_20022025_06_16_26_10353.jpg
/home/pi/Desktop/images/20022025/06/16/image_20022025_06_16_35_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338617986","1338617737","1338617742","1338617739","1338617750","1338617846"],"photo_ids_order":["1338617737","1338617739","1338617742","1338617750","1338617846","1338617986"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c183376a6d1e5f6ca1eaaeb34541f5e7.jpg","text":"TemporaryFile(/tmp/multipartBody5605390088845005305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063753640,"filename":"image_20022025_06_16_35_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c1f3144d6f3ac990e285b714a5bc2287.jpg","text":"TemporaryFile(/tmp/multipartBody2121080268449021346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063753640,"filename":"image_20022025_06_14_35_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b051c7b78916f6b99cf0e8965712f6c.jpg","text":"TemporaryFile(/tmp/multipartBody1093812340791375269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063753640,"filename":"image_20022025_06_15_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/713bfcb8e626303ff805031a498c7d5b.jpg","text":"TemporaryFile(/tmp/multipartBody5788503369011085019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063753640,"filename":"image_20022025_06_15_05_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7c7f68661c213be413db537c8b15ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1754666182999698789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063753640,"filename":"image_20022025_06_15_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8b8675474d1bfc5c9822c5dc5b6b793.jpg","text":"TemporaryFile(/tmp/multipartBody1654234020852366722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063753640,"filename":"image_20022025_06_16_26_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338617742","file1":"1338617739","file0":"1338617737","file4":"1338617846","file5":"1338617986","file3":"1338617750"},"map_files_photo_id_array":[{"photo_id":"1338617986","filename":"file5"},{"photo_id":"1338617742","filename":"file2"},{"photo_id":"1338617846","filename":"file4"},{"photo_id":"1338617739","filename":"file1"},{"photo_id":"1338617737","filename":"file0"},{"photo_id":"1338617750","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338617986":["hashtag1","hashtag2"]},{"1338617737":["hashtag1","hashtag2"]},{"1338617742":["hashtag1","hashtag2"]},{"1338617739":["hashtag1","hashtag2"]},{"1338617750":["hashtag1","hashtag2"]},{"1338617846":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338617986, 1338617737, 1338617742, 1338617739, 1338617750, 1338617846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.720635652542114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:02:32.218416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/16/image_20022025_06_16_46_10457.jpg', '/home/pi/Desktop/images/20022025/06/16/image_20022025_06_17_05_9358.jpg', '/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_16_10346.jpg', '/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_25_9351.jpg', '/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_36_10339.jpg', '/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_46_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/16/image_20022025_06_16_46_10457.jpg
/home/pi/Desktop/images/20022025/06/16/image_20022025_06_17_05_9358.jpg
/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_16_10346.jpg
/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_25_9351.jpg
/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_36_10339.jpg
/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_46_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338618777","1338618786","1338618603","1338618782","1338618770","1338618790"],"photo_ids_order":["1338618603","1338618770","1338618777","1338618782","1338618786","1338618790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/465490cf50e8ec6c2b1eee38ecc59ddf.jpg","text":"TemporaryFile(/tmp/multipartBody1538149434708846134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063812840,"filename":"image_20022025_06_17_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5b93214ac3f94f5b9a0d49a2a7d8d82b.jpg","text":"TemporaryFile(/tmp/multipartBody2376691667199331285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063812840,"filename":"image_20022025_06_17_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee7ed921ffa2bb124efefac813ecfb52.jpg","text":"TemporaryFile(/tmp/multipartBody798640429115688304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063812840,"filename":"image_20022025_06_16_46_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5163858a1296e3a8d2d0f24ada966cf0.jpg","text":"TemporaryFile(/tmp/multipartBody6961059468028718603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063812840,"filename":"image_20022025_06_17_25_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/daec3d0ab5162f357390c903821cff00.jpg","text":"TemporaryFile(/tmp/multipartBody8790518124924638941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063812840,"filename":"image_20022025_06_17_05_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eddb95f752f461b39072d08d2bc82b02.jpg","text":"TemporaryFile(/tmp/multipartBody724117630389174590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063812840,"filename":"image_20022025_06_17_46_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338618777","file1":"1338618770","file0":"1338618603","file4":"1338618786","file5":"1338618790","file3":"1338618782"},"map_files_photo_id_array":[{"photo_id":"1338618790","filename":"file5"},{"photo_id":"1338618777","filename":"file2"},{"photo_id":"1338618786","filename":"file4"},{"photo_id":"1338618770","filename":"file1"},{"photo_id":"1338618603","filename":"file0"},{"photo_id":"1338618782","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338618777":["hashtag1","hashtag2"]},{"1338618786":["hashtag1","hashtag2"]},{"1338618603":["hashtag1","hashtag2"]},{"1338618782":["hashtag1","hashtag2"]},{"1338618770":["hashtag1","hashtag2"]},{"1338618790":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338618777, 1338618786, 1338618603, 1338618782, 1338618770, 1338618790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14198160171509 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:03:32.511399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_55_9354.jpg', '/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_16_10447.jpg', '/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_26_9473.jpg', '/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_36_10323.jpg', '/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_45_9363.jpg', '/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_56_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/17/image_20022025_06_17_55_9354.jpg
/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_16_10447.jpg
/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_26_9473.jpg
/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_36_10323.jpg
/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_45_9363.jpg
/home/pi/Desktop/images/20022025/06/18/image_20022025_06_18_56_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338619132","1338619333","1338619458","1338619293","1338619281","1338619396"],"photo_ids_order":["1338619132","1338619281","1338619293","1338619333","1338619396","1338619458"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4dfdd8e57cabd551d26f2f2351880539.jpg","text":"TemporaryFile(/tmp/multipartBody8014316651899768910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063873075,"filename":"image_20022025_06_17_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5dbcb48350079a995c3b57565249ab0.jpg","text":"TemporaryFile(/tmp/multipartBody7125739583243883748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063873075,"filename":"image_20022025_06_18_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9a69ce0049b53ee31ba39dbdaa20846.jpg","text":"TemporaryFile(/tmp/multipartBody7826270967316670950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063873075,"filename":"image_20022025_06_18_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd86129a87c7ae48ab478499f7af4183.jpg","text":"TemporaryFile(/tmp/multipartBody1022261382004531610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063873075,"filename":"image_20022025_06_18_26_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3d6040f2d7147b38bec930806ccc2d04.jpg","text":"TemporaryFile(/tmp/multipartBody1953106723061243614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063873075,"filename":"image_20022025_06_18_16_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9ed97b11d81aa22d4e67b62155bb43f.jpg","text":"TemporaryFile(/tmp/multipartBody3270586861869358822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063873075,"filename":"image_20022025_06_18_45_9363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338619293","file1":"1338619281","file0":"1338619132","file4":"1338619396","file5":"1338619458","file3":"1338619333"},"map_files_photo_id_array":[{"photo_id":"1338619458","filename":"file5"},{"photo_id":"1338619293","filename":"file2"},{"photo_id":"1338619396","filename":"file4"},{"photo_id":"1338619281","filename":"file1"},{"photo_id":"1338619132","filename":"file0"},{"photo_id":"1338619333","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338619132":["hashtag1","hashtag2"]},{"1338619333":["hashtag1","hashtag2"]},{"1338619458":["hashtag1","hashtag2"]},{"1338619293":["hashtag1","hashtag2"]},{"1338619281":["hashtag1","hashtag2"]},{"1338619396":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338619132, 1338619333, 1338619458, 1338619293, 1338619281, 1338619396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.180450201034546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:04:32.576534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/18/image_20022025_06_19_06_10327.jpg', '/home/pi/Desktop/images/20022025/06/19/image_20022025_06_19_15_9318.jpg', '/home/pi/Desktop/images/20022025/06/19/image_20022025_06_19_26_10404.jpg', '/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_15_9333.jpg', '/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_26_10350.jpg', '/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_36_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/18/image_20022025_06_19_06_10327.jpg
/home/pi/Desktop/images/20022025/06/19/image_20022025_06_19_15_9318.jpg
/home/pi/Desktop/images/20022025/06/19/image_20022025_06_19_26_10404.jpg
/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_15_9333.jpg
/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_26_10350.jpg
/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_36_10412.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.46300315856933594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 16:04:42.589673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/18/image_20022025_06_19_06_10327.jpg', '/home/pi/Desktop/images/20022025/06/19/image_20022025_06_19_15_9318.jpg', '/home/pi/Desktop/images/20022025/06/19/image_20022025_06_19_26_10404.jpg', '/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_15_9333.jpg', '/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_26_10350.jpg', '/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_36_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/18/image_20022025_06_19_06_10327.jpg
/home/pi/Desktop/images/20022025/06/19/image_20022025_06_19_15_9318.jpg
/home/pi/Desktop/images/20022025/06/19/image_20022025_06_19_26_10404.jpg
/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_15_9333.jpg
/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_26_10350.jpg
/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_36_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338619533","1338619536","1338619524","1338619541","1338619538","1338619529"],"photo_ids_order":["1338619524","1338619529","1338619533","1338619536","1338619538","1338619541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94a876e5d1765167a1295e02527cd519.jpg","text":"TemporaryFile(/tmp/multipartBody6368860955741348429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063943078,"filename":"image_20022025_06_19_26_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc0e9a0edc99c2cb091b0cf725ae1d56.jpg","text":"TemporaryFile(/tmp/multipartBody8033635845544097582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063943078,"filename":"image_20022025_06_20_15_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57b295fcbdfd3e6d6a1739a9ca0d204b.jpg","text":"TemporaryFile(/tmp/multipartBody7680521975355210501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063943078,"filename":"image_20022025_06_19_06_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/39b5d380aad0eac85c45feabfee7b50a.jpg","text":"TemporaryFile(/tmp/multipartBody4728692999389630455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063943078,"filename":"image_20022025_06_20_36_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4eb471a92226fc9dd35e329a1bd052a.jpg","text":"TemporaryFile(/tmp/multipartBody3201874148670987397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063943078,"filename":"image_20022025_06_20_26_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9173c236248faca98b4ce2d8d6e988fb.jpg","text":"TemporaryFile(/tmp/multipartBody1798941657866947200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063943078,"filename":"image_20022025_06_19_15_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338619533","file1":"1338619529","file0":"1338619524","file4":"1338619538","file5":"1338619541","file3":"1338619536"},"map_files_photo_id_array":[{"photo_id":"1338619541","filename":"file5"},{"photo_id":"1338619533","filename":"file2"},{"photo_id":"1338619538","filename":"file4"},{"photo_id":"1338619529","filename":"file1"},{"photo_id":"1338619524","filename":"file0"},{"photo_id":"1338619536","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338619533":["hashtag1","hashtag2"]},{"1338619536":["hashtag1","hashtag2"]},{"1338619524":["hashtag1","hashtag2"]},{"1338619541":["hashtag1","hashtag2"]},{"1338619538":["hashtag1","hashtag2"]},{"1338619529":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338619533, 1338619536, 1338619524, 1338619541, 1338619538, 1338619529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.912923097610474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:05:32.751652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_56_10362.jpg', '/home/pi/Desktop/images/20022025/06/20/image_20022025_06_21_05_9304.jpg', '/home/pi/Desktop/images/20022025/06/21/image_20022025_06_21_16_10368.jpg', '/home/pi/Desktop/images/20022025/06/21/image_20022025_06_21_26_10362.jpg', '/home/pi/Desktop/images/20022025/06/21/image_20022025_06_21_46_10346.jpg', '/home/pi/Desktop/images/20022025/06/21/image_20022025_06_21_56_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/20/image_20022025_06_20_56_10362.jpg
/home/pi/Desktop/images/20022025/06/20/image_20022025_06_21_05_9304.jpg
/home/pi/Desktop/images/20022025/06/21/image_20022025_06_21_16_10368.jpg
/home/pi/Desktop/images/20022025/06/21/image_20022025_06_21_26_10362.jpg
/home/pi/Desktop/images/20022025/06/21/image_20022025_06_21_46_10346.jpg
/home/pi/Desktop/images/20022025/06/21/image_20022025_06_21_56_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338619560","1338619556","1338619585","1338619579","1338619570","1338619582"],"photo_ids_order":["1338619556","1338619560","1338619570","1338619579","1338619582","1338619585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65d7700a33d361e510715f41c687b0ca.jpg","text":"TemporaryFile(/tmp/multipartBody407561110215142227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063993316,"filename":"image_20022025_06_21_05_9304.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40f41cf4f803289e6c571e2019660c18.jpg","text":"TemporaryFile(/tmp/multipartBody6294159059888100044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063993316,"filename":"image_20022025_06_20_56_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7e9560d6fd4a355b92e94d6fb64630a.jpg","text":"TemporaryFile(/tmp/multipartBody8405466497791946086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063993316,"filename":"image_20022025_06_21_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/066e67750a6ddf8553b3a4e813f7f1b4.jpg","text":"TemporaryFile(/tmp/multipartBody8109065631996536066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063993316,"filename":"image_20022025_06_21_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/98fcbcb77e0c579cecbed322a95b4c04.jpg","text":"TemporaryFile(/tmp/multipartBody3137408657788964273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063993316,"filename":"image_20022025_06_21_16_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/21bdc6615acf5b2cab2219d9b73ef8bf.jpg","text":"TemporaryFile(/tmp/multipartBody4102815601333897348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740063993316,"filename":"image_20022025_06_21_46_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338619570","file1":"1338619560","file0":"1338619556","file4":"1338619582","file5":"1338619585","file3":"1338619579"},"map_files_photo_id_array":[{"photo_id":"1338619585","filename":"file5"},{"photo_id":"1338619570","filename":"file2"},{"photo_id":"1338619582","filename":"file4"},{"photo_id":"1338619560","filename":"file1"},{"photo_id":"1338619556","filename":"file0"},{"photo_id":"1338619579","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338619560":["hashtag1","hashtag2"]},{"1338619556":["hashtag1","hashtag2"]},{"1338619585":["hashtag1","hashtag2"]},{"1338619579":["hashtag1","hashtag2"]},{"1338619570":["hashtag1","hashtag2"]},{"1338619582":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338619560, 1338619556, 1338619585, 1338619579, 1338619570, 1338619582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02546811103821 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:06:32.899418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/22/image_20022025_06_22_16_10411.jpg', '/home/pi/Desktop/images/20022025/06/22/image_20022025_06_22_25_9369.jpg', '/home/pi/Desktop/images/20022025/06/22/image_20022025_06_22_55_9345.jpg', '/home/pi/Desktop/images/20022025/06/22/image_20022025_06_23_06_10352.jpg', '/home/pi/Desktop/images/20022025/06/23/image_20022025_06_23_16_10338.jpg', '/home/pi/Desktop/images/20022025/06/23/image_20022025_06_23_25_9457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/22/image_20022025_06_22_16_10411.jpg
/home/pi/Desktop/images/20022025/06/22/image_20022025_06_22_25_9369.jpg
/home/pi/Desktop/images/20022025/06/22/image_20022025_06_22_55_9345.jpg
/home/pi/Desktop/images/20022025/06/22/image_20022025_06_23_06_10352.jpg
/home/pi/Desktop/images/20022025/06/23/image_20022025_06_23_16_10338.jpg
/home/pi/Desktop/images/20022025/06/23/image_20022025_06_23_25_9457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338620155","1338619887","1338619860","1338619937","1338619795","1338620021"],"photo_ids_order":["1338619795","1338619860","1338619887","1338619937","1338620021","1338620155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff18739a8c3ae66acf76761c4f668e47.jpg","text":"TemporaryFile(/tmp/multipartBody2795611804944893795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064053456,"filename":"image_20022025_06_23_25_9457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ccc6f95806b9cafb3eba04ff31ebaa3b.jpg","text":"TemporaryFile(/tmp/multipartBody4684807331129516063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064053456,"filename":"image_20022025_06_22_55_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56be54174ccecb9ca1ca77fc68819d54.jpg","text":"TemporaryFile(/tmp/multipartBody8605053210351984102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064053456,"filename":"image_20022025_06_22_25_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/269476f98c995760f5d1d0b2d1fe9a27.jpg","text":"TemporaryFile(/tmp/multipartBody4175118998835015578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064053456,"filename":"image_20022025_06_23_06_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b0d640474775dc4808f437418d91e409.jpg","text":"TemporaryFile(/tmp/multipartBody971873187348655043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064053456,"filename":"image_20022025_06_22_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8eeede00c35b7996cd7bd851b65822a0.jpg","text":"TemporaryFile(/tmp/multipartBody5381179501247837161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064053456,"filename":"image_20022025_06_23_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338619887","file1":"1338619860","file0":"1338619795","file4":"1338620021","file5":"1338620155","file3":"1338619937"},"map_files_photo_id_array":[{"photo_id":"1338620155","filename":"file5"},{"photo_id":"1338619887","filename":"file2"},{"photo_id":"1338620021","filename":"file4"},{"photo_id":"1338619860","filename":"file1"},{"photo_id":"1338619795","filename":"file0"},{"photo_id":"1338619937","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338620155":["hashtag1","hashtag2"]},{"1338619887":["hashtag1","hashtag2"]},{"1338619860":["hashtag1","hashtag2"]},{"1338619937":["hashtag1","hashtag2"]},{"1338619795":["hashtag1","hashtag2"]},{"1338620021":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338620155, 1338619887, 1338619860, 1338619937, 1338619795, 1338620021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.591336488723755 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:07:33.062632
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/23/image_20022025_06_23_36_10351.jpg', '/home/pi/Desktop/images/20022025/06/23/image_20022025_06_23_56_10453.jpg', '/home/pi/Desktop/images/20022025/06/23/image_20022025_06_24_06_10329.jpg', '/home/pi/Desktop/images/20022025/06/24/image_20022025_06_24_15_9484.jpg', '/home/pi/Desktop/images/20022025/06/24/image_20022025_06_24_26_10341.jpg', '/home/pi/Desktop/images/20022025/06/24/image_20022025_06_24_46_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/23/image_20022025_06_23_36_10351.jpg
/home/pi/Desktop/images/20022025/06/23/image_20022025_06_23_56_10453.jpg
/home/pi/Desktop/images/20022025/06/23/image_20022025_06_24_06_10329.jpg
/home/pi/Desktop/images/20022025/06/24/image_20022025_06_24_15_9484.jpg
/home/pi/Desktop/images/20022025/06/24/image_20022025_06_24_26_10341.jpg
/home/pi/Desktop/images/20022025/06/24/image_20022025_06_24_46_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338620440","1338620434","1338620437","1338620419","1338620442","1338620426"],"photo_ids_order":["1338620419","1338620426","1338620434","1338620437","1338620440","1338620442"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28d431961461e75f70ab3c9c4e72c41b.jpg","text":"TemporaryFile(/tmp/multipartBody963408779922792886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064113617,"filename":"image_20022025_06_24_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48ad78e12f2a8bbc7daf407b0582c8ab.jpg","text":"TemporaryFile(/tmp/multipartBody168482656806883968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064113617,"filename":"image_20022025_06_24_06_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fca77098d789d3bc714c77193bda544a.jpg","text":"TemporaryFile(/tmp/multipartBody5866954519236858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064113617,"filename":"image_20022025_06_24_15_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68ae8d264c683a793005b44722dd645a.jpg","text":"TemporaryFile(/tmp/multipartBody591350175852148810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064113617,"filename":"image_20022025_06_23_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a85816660c71a2c22dfdb56d2128033.jpg","text":"TemporaryFile(/tmp/multipartBody2677800326854052025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064113617,"filename":"image_20022025_06_24_46_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/234b4ade630a4a921cbebdd79ca0b013.jpg","text":"TemporaryFile(/tmp/multipartBody8714123604990114417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064113617,"filename":"image_20022025_06_23_56_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338620434","file1":"1338620426","file0":"1338620419","file4":"1338620440","file5":"1338620442","file3":"1338620437"},"map_files_photo_id_array":[{"photo_id":"1338620442","filename":"file5"},{"photo_id":"1338620434","filename":"file2"},{"photo_id":"1338620440","filename":"file4"},{"photo_id":"1338620426","filename":"file1"},{"photo_id":"1338620419","filename":"file0"},{"photo_id":"1338620437","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338620440":["hashtag1","hashtag2"]},{"1338620434":["hashtag1","hashtag2"]},{"1338620437":["hashtag1","hashtag2"]},{"1338620419":["hashtag1","hashtag2"]},{"1338620442":["hashtag1","hashtag2"]},{"1338620426":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338620440, 1338620434, 1338620437, 1338620419, 1338620442, 1338620426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.423025131225586 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:08:32.173560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/24/image_20022025_06_24_56_10355.jpg', '/home/pi/Desktop/images/20022025/06/24/image_20022025_06_25_05_9325.jpg', '/home/pi/Desktop/images/20022025/06/25/image_20022025_06_25_26_10370.jpg', '/home/pi/Desktop/images/20022025/06/25/image_20022025_06_25_35_9311.jpg', '/home/pi/Desktop/images/20022025/06/25/image_20022025_06_25_56_10349.jpg', '/home/pi/Desktop/images/20022025/06/26/image_20022025_06_26_16_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/24/image_20022025_06_24_56_10355.jpg
/home/pi/Desktop/images/20022025/06/24/image_20022025_06_25_05_9325.jpg
/home/pi/Desktop/images/20022025/06/25/image_20022025_06_25_26_10370.jpg
/home/pi/Desktop/images/20022025/06/25/image_20022025_06_25_35_9311.jpg
/home/pi/Desktop/images/20022025/06/25/image_20022025_06_25_56_10349.jpg
/home/pi/Desktop/images/20022025/06/26/image_20022025_06_26_16_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338620746","1338620809","1338620737","1338620811","1338620798","1338620741"],"photo_ids_order":["1338620737","1338620741","1338620746","1338620798","1338620809","1338620811"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e788218ff049f43c0a5c7a81cd840f38.jpg","text":"TemporaryFile(/tmp/multipartBody502550891473455155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064172771,"filename":"image_20022025_06_25_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ee4d1ca6134ff97b78752562b6355da.jpg","text":"TemporaryFile(/tmp/multipartBody7861006851310810690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064172771,"filename":"image_20022025_06_25_56_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b2d051d7b728d2c3f13c849ad3f58f2.jpg","text":"TemporaryFile(/tmp/multipartBody6288725043341851728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064172771,"filename":"image_20022025_06_24_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd46ef844f25592813f561ee81ebcbd6.jpg","text":"TemporaryFile(/tmp/multipartBody1645023107299922140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064172771,"filename":"image_20022025_06_26_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/459fc65efea1fd9296a3503c0267ead3.jpg","text":"TemporaryFile(/tmp/multipartBody5065917331284863641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064172771,"filename":"image_20022025_06_25_35_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c90254afb472e38f0410b3b5af618ac.jpg","text":"TemporaryFile(/tmp/multipartBody4662589424010912755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064172771,"filename":"image_20022025_06_25_05_9325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338620746","file1":"1338620741","file0":"1338620737","file4":"1338620809","file5":"1338620811","file3":"1338620798"},"map_files_photo_id_array":[{"photo_id":"1338620811","filename":"file5"},{"photo_id":"1338620746","filename":"file2"},{"photo_id":"1338620809","filename":"file4"},{"photo_id":"1338620741","filename":"file1"},{"photo_id":"1338620737","filename":"file0"},{"photo_id":"1338620798","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338620746":["hashtag1","hashtag2"]},{"1338620809":["hashtag1","hashtag2"]},{"1338620737":["hashtag1","hashtag2"]},{"1338620811":["hashtag1","hashtag2"]},{"1338620798":["hashtag1","hashtag2"]},{"1338620741":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338620746, 1338620809, 1338620737, 1338620811, 1338620798, 1338620741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.226945638656616 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:09:32.366766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/26/image_20022025_06_26_25_9408.jpg', '/home/pi/Desktop/images/20022025/06/26/image_20022025_06_26_46_10340.jpg', '/home/pi/Desktop/images/20022025/06/26/image_20022025_06_26_56_9468.jpg', '/home/pi/Desktop/images/20022025/06/26/image_20022025_06_27_06_10324.jpg', '/home/pi/Desktop/images/20022025/06/27/image_20022025_06_27_15_9332.jpg', '/home/pi/Desktop/images/20022025/06/27/image_20022025_06_27_26_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/26/image_20022025_06_26_25_9408.jpg
/home/pi/Desktop/images/20022025/06/26/image_20022025_06_26_46_10340.jpg
/home/pi/Desktop/images/20022025/06/26/image_20022025_06_26_56_9468.jpg
/home/pi/Desktop/images/20022025/06/26/image_20022025_06_27_06_10324.jpg
/home/pi/Desktop/images/20022025/06/27/image_20022025_06_27_15_9332.jpg
/home/pi/Desktop/images/20022025/06/27/image_20022025_06_27_26_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338621189","1338621112","1338620965","1338621036","1338620897","1338621268"],"photo_ids_order":["1338620897","1338620965","1338621036","1338621112","1338621189","1338621268"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20d158bf234f10db08e5475b5a12ac47.jpg","text":"TemporaryFile(/tmp/multipartBody8731040260989485758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064232921,"filename":"image_20022025_06_27_15_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2065e75cd33f7fd0eb18ca9870e4aabd.jpg","text":"TemporaryFile(/tmp/multipartBody6212550402275146666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064232921,"filename":"image_20022025_06_27_06_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0445a7c8957bee43bde841873a30be0a.jpg","text":"TemporaryFile(/tmp/multipartBody1124057658014240228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064232921,"filename":"image_20022025_06_26_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81d7e45676345e0d48886dccbde008bb.jpg","text":"TemporaryFile(/tmp/multipartBody4011032536492596560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064232921,"filename":"image_20022025_06_26_56_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a8d1a05dc8ef7c0f61f164512ec46a11.jpg","text":"TemporaryFile(/tmp/multipartBody6510397738024497261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064232921,"filename":"image_20022025_06_26_25_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/709547fef7a968a1bb02e0d4793fa2d4.jpg","text":"TemporaryFile(/tmp/multipartBody4431985901004328956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064232921,"filename":"image_20022025_06_27_26_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338621036","file1":"1338620965","file0":"1338620897","file4":"1338621189","file5":"1338621268","file3":"1338621112"},"map_files_photo_id_array":[{"photo_id":"1338621268","filename":"file5"},{"photo_id":"1338621036","filename":"file2"},{"photo_id":"1338621189","filename":"file4"},{"photo_id":"1338620965","filename":"file1"},{"photo_id":"1338620897","filename":"file0"},{"photo_id":"1338621112","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338621189":["hashtag1","hashtag2"]},{"1338621112":["hashtag1","hashtag2"]},{"1338620965":["hashtag1","hashtag2"]},{"1338621036":["hashtag1","hashtag2"]},{"1338620897":["hashtag1","hashtag2"]},{"1338621268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338621189, 1338621112, 1338620965, 1338621036, 1338620897, 1338621268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.459911823272705 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:10:32.612143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/27/image_20022025_06_27_46_9481.jpg', '/home/pi/Desktop/images/20022025/06/27/image_20022025_06_28_05_9335.jpg', '/home/pi/Desktop/images/20022025/06/28/image_20022025_06_28_26_10348.jpg', '/home/pi/Desktop/images/20022025/06/28/image_20022025_06_28_35_9423.jpg', '/home/pi/Desktop/images/20022025/06/28/image_20022025_06_28_46_10427.jpg', '/home/pi/Desktop/images/20022025/06/28/image_20022025_06_28_55_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/27/image_20022025_06_27_46_9481.jpg
/home/pi/Desktop/images/20022025/06/27/image_20022025_06_28_05_9335.jpg
/home/pi/Desktop/images/20022025/06/28/image_20022025_06_28_26_10348.jpg
/home/pi/Desktop/images/20022025/06/28/image_20022025_06_28_35_9423.jpg
/home/pi/Desktop/images/20022025/06/28/image_20022025_06_28_46_10427.jpg
/home/pi/Desktop/images/20022025/06/28/image_20022025_06_28_55_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338621505","1338621381","1338621441","1338621342","1338621339","1338621346"],"photo_ids_order":["1338621339","1338621342","1338621346","1338621381","1338621441","1338621505"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d7104de4420fad393f017076a0ef43ea.jpg","text":"TemporaryFile(/tmp/multipartBody8218853387788877424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064293183,"filename":"image_20022025_06_28_55_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc748f53d22db39890808f39cf0bff07.jpg","text":"TemporaryFile(/tmp/multipartBody8214702882347585048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064293183,"filename":"image_20022025_06_28_35_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d1f06803539ee6f49cb01d0046b04e6.jpg","text":"TemporaryFile(/tmp/multipartBody768164242319453243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064293183,"filename":"image_20022025_06_28_46_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b3360658120410b8715714afd8ffdf9.jpg","text":"TemporaryFile(/tmp/multipartBody6006307344729769000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064293183,"filename":"image_20022025_06_28_05_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88b6a66ad9d95a1da32093178c4acd60.jpg","text":"TemporaryFile(/tmp/multipartBody2622370097709110146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064293183,"filename":"image_20022025_06_27_46_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/541d1bb1d5cba4215e5fb1d0605e7e9f.jpg","text":"TemporaryFile(/tmp/multipartBody6559866082324109473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064293183,"filename":"image_20022025_06_28_26_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338621346","file1":"1338621342","file0":"1338621339","file4":"1338621441","file5":"1338621505","file3":"1338621381"},"map_files_photo_id_array":[{"photo_id":"1338621505","filename":"file5"},{"photo_id":"1338621346","filename":"file2"},{"photo_id":"1338621441","filename":"file4"},{"photo_id":"1338621342","filename":"file1"},{"photo_id":"1338621339","filename":"file0"},{"photo_id":"1338621381","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338621505":["hashtag1","hashtag2"]},{"1338621381":["hashtag1","hashtag2"]},{"1338621441":["hashtag1","hashtag2"]},{"1338621342":["hashtag1","hashtag2"]},{"1338621339":["hashtag1","hashtag2"]},{"1338621346":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338621505, 1338621381, 1338621441, 1338621342, 1338621339, 1338621346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.501155853271484 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:11:32.681934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/29/image_20022025_06_29_25_9368.jpg', '/home/pi/Desktop/images/20022025/06/29/image_20022025_06_29_46_10448.jpg', '/home/pi/Desktop/images/20022025/06/29/image_20022025_06_29_56_9484.jpg', '/home/pi/Desktop/images/20022025/06/30/image_20022025_06_30_26_10411.jpg', '/home/pi/Desktop/images/20022025/06/32/image_20022025_06_32_35_9386.jpg', '/home/pi/Desktop/images/20022025/06/32/image_20022025_06_32_46_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/29/image_20022025_06_29_25_9368.jpg
/home/pi/Desktop/images/20022025/06/29/image_20022025_06_29_46_10448.jpg
/home/pi/Desktop/images/20022025/06/29/image_20022025_06_29_56_9484.jpg
/home/pi/Desktop/images/20022025/06/30/image_20022025_06_30_26_10411.jpg
/home/pi/Desktop/images/20022025/06/32/image_20022025_06_32_35_9386.jpg
/home/pi/Desktop/images/20022025/06/32/image_20022025_06_32_46_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338621942","1338621855","1338621875","1338621898","1338621871","1338621868"],"photo_ids_order":["1338621855","1338621868","1338621871","1338621875","1338621898","1338621942"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/99bacf0685e3de9c3cf58be5de144b28.jpg","text":"TemporaryFile(/tmp/multipartBody514436038131001082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064353264,"filename":"image_20022025_06_32_46_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/80755d4862c18602482c4763a18ccd8e.jpg","text":"TemporaryFile(/tmp/multipartBody4310136847993409124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064353264,"filename":"image_20022025_06_29_25_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e12d4e33539ba082fb2868b8816b633c.jpg","text":"TemporaryFile(/tmp/multipartBody3326325473249453093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064353264,"filename":"image_20022025_06_30_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3af2d6757c06a070f39436fe933a4a53.jpg","text":"TemporaryFile(/tmp/multipartBody8933114006731652309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064353264,"filename":"image_20022025_06_32_35_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71ef54ce73f9f235f8f0e88e972c8376.jpg","text":"TemporaryFile(/tmp/multipartBody6275280434135937736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064353264,"filename":"image_20022025_06_29_56_9484.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6339eb782c1b034551afd79ac11eece0.jpg","text":"TemporaryFile(/tmp/multipartBody792622987422955876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064353264,"filename":"image_20022025_06_29_46_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338621871","file1":"1338621868","file0":"1338621855","file4":"1338621898","file5":"1338621942","file3":"1338621875"},"map_files_photo_id_array":[{"photo_id":"1338621942","filename":"file5"},{"photo_id":"1338621871","filename":"file2"},{"photo_id":"1338621898","filename":"file4"},{"photo_id":"1338621868","filename":"file1"},{"photo_id":"1338621855","filename":"file0"},{"photo_id":"1338621875","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338621942":["hashtag1","hashtag2"]},{"1338621855":["hashtag1","hashtag2"]},{"1338621875":["hashtag1","hashtag2"]},{"1338621898":["hashtag1","hashtag2"]},{"1338621871":["hashtag1","hashtag2"]},{"1338621868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338621942, 1338621855, 1338621875, 1338621898, 1338621871, 1338621868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.075358152389526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:12:32.905317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/32/image_20022025_06_33_06_10436.jpg', '/home/pi/Desktop/images/20022025/06/33/image_20022025_06_33_15_9349.jpg', '/home/pi/Desktop/images/20022025/06/33/image_20022025_06_33_26_10407.jpg', '/home/pi/Desktop/images/20022025/06/33/image_20022025_06_33_36_10343.jpg', '/home/pi/Desktop/images/20022025/06/33/image_20022025_06_33_45_9333.jpg', '/home/pi/Desktop/images/20022025/06/34/image_20022025_06_34_26_10359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/32/image_20022025_06_33_06_10436.jpg
/home/pi/Desktop/images/20022025/06/33/image_20022025_06_33_15_9349.jpg
/home/pi/Desktop/images/20022025/06/33/image_20022025_06_33_26_10407.jpg
/home/pi/Desktop/images/20022025/06/33/image_20022025_06_33_36_10343.jpg
/home/pi/Desktop/images/20022025/06/33/image_20022025_06_33_45_9333.jpg
/home/pi/Desktop/images/20022025/06/34/image_20022025_06_34_26_10359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622179","1338622172","1338622166","1338622175","1338622118","1338622177"],"photo_ids_order":["1338622118","1338622166","1338622172","1338622175","1338622177","1338622179"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/939f31a9fe4400a5cfebb1fb3b6180fb.jpg","text":"TemporaryFile(/tmp/multipartBody2556072141507841881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064413462,"filename":"image_20022025_06_34_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a9e4a05f51e230b7eb2572cc8db6249.jpg","text":"TemporaryFile(/tmp/multipartBody3888188278841170926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064413462,"filename":"image_20022025_06_33_26_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cf1bae74c16b53973c6766813a50dadf.jpg","text":"TemporaryFile(/tmp/multipartBody7930341606424036856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064413462,"filename":"image_20022025_06_33_15_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e0033a04e8bc3ee15f5e651e84586d8.jpg","text":"TemporaryFile(/tmp/multipartBody8388863815836997111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064413462,"filename":"image_20022025_06_33_36_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1b53ad62af452d89498e4523096734f1.jpg","text":"TemporaryFile(/tmp/multipartBody6356148280757357832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064413462,"filename":"image_20022025_06_33_06_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fb1bb638aafd4f44c41f5e9bb0430d61.jpg","text":"TemporaryFile(/tmp/multipartBody5479166626135952431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064413462,"filename":"image_20022025_06_33_45_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622172","file1":"1338622166","file0":"1338622118","file4":"1338622177","file5":"1338622179","file3":"1338622175"},"map_files_photo_id_array":[{"photo_id":"1338622179","filename":"file5"},{"photo_id":"1338622172","filename":"file2"},{"photo_id":"1338622177","filename":"file4"},{"photo_id":"1338622166","filename":"file1"},{"photo_id":"1338622118","filename":"file0"},{"photo_id":"1338622175","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622179":["hashtag1","hashtag2"]},{"1338622172":["hashtag1","hashtag2"]},{"1338622166":["hashtag1","hashtag2"]},{"1338622175":["hashtag1","hashtag2"]},{"1338622118":["hashtag1","hashtag2"]},{"1338622177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622179, 1338622172, 1338622166, 1338622175, 1338622118, 1338622177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.642804861068726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:13:33.074206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/34/image_20022025_06_34_36_10339.jpg', '/home/pi/Desktop/images/20022025/06/34/image_20022025_06_34_45_9355.jpg', '/home/pi/Desktop/images/20022025/06/34/image_20022025_06_34_56_10344.jpg', '/home/pi/Desktop/images/20022025/06/35/image_20022025_06_35_26_10478.jpg', '/home/pi/Desktop/images/20022025/06/35/image_20022025_06_35_36_10345.jpg', '/home/pi/Desktop/images/20022025/06/35/image_20022025_06_35_46_9491.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/34/image_20022025_06_34_36_10339.jpg
/home/pi/Desktop/images/20022025/06/34/image_20022025_06_34_45_9355.jpg
/home/pi/Desktop/images/20022025/06/34/image_20022025_06_34_56_10344.jpg
/home/pi/Desktop/images/20022025/06/35/image_20022025_06_35_26_10478.jpg
/home/pi/Desktop/images/20022025/06/35/image_20022025_06_35_36_10345.jpg
/home/pi/Desktop/images/20022025/06/35/image_20022025_06_35_46_9491.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622210","1338622204","1338622212","1338622200","1338622223","1338622207"],"photo_ids_order":["1338622200","1338622204","1338622207","1338622210","1338622212","1338622223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b95cd3b28ecafac2742443fe1eb7c655.jpg","text":"TemporaryFile(/tmp/multipartBody4172846852834761928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064473649,"filename":"image_20022025_06_35_26_10478.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/570f731c9e0b4bb7d679940f0bf088ec.jpg","text":"TemporaryFile(/tmp/multipartBody7254984145499610338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064473649,"filename":"image_20022025_06_34_45_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9efb5072684989342a52be8431e7f12a.jpg","text":"TemporaryFile(/tmp/multipartBody7101128709588241461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064473649,"filename":"image_20022025_06_35_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8ef5bf83268d7c68efcb96abd818fee6.jpg","text":"TemporaryFile(/tmp/multipartBody3978796288706803458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064473649,"filename":"image_20022025_06_34_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a392c56e4eaa84f833b383dbc552105a.jpg","text":"TemporaryFile(/tmp/multipartBody8313838848392311297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064473649,"filename":"image_20022025_06_35_46_9491.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1e92327b16e54220b750da62ac4b6024.jpg","text":"TemporaryFile(/tmp/multipartBody4785560722368138175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064473649,"filename":"image_20022025_06_34_56_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622207","file1":"1338622204","file0":"1338622200","file4":"1338622212","file5":"1338622223","file3":"1338622210"},"map_files_photo_id_array":[{"photo_id":"1338622223","filename":"file5"},{"photo_id":"1338622207","filename":"file2"},{"photo_id":"1338622212","filename":"file4"},{"photo_id":"1338622204","filename":"file1"},{"photo_id":"1338622200","filename":"file0"},{"photo_id":"1338622210","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622210":["hashtag1","hashtag2"]},{"1338622204":["hashtag1","hashtag2"]},{"1338622212":["hashtag1","hashtag2"]},{"1338622200":["hashtag1","hashtag2"]},{"1338622223":["hashtag1","hashtag2"]},{"1338622207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622210, 1338622204, 1338622212, 1338622200, 1338622223, 1338622207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26115608215332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:14:32.293697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/35/image_20022025_06_35_56_10353.jpg', '/home/pi/Desktop/images/20022025/06/35/image_20022025_06_36_05_9471.jpg', '/home/pi/Desktop/images/20022025/06/36/image_20022025_06_36_16_10332.jpg', '/home/pi/Desktop/images/20022025/06/36/image_20022025_06_36_25_9343.jpg', '/home/pi/Desktop/images/20022025/06/36/image_20022025_06_36_55_9470.jpg', '/home/pi/Desktop/images/20022025/06/37/image_20022025_06_37_26_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/35/image_20022025_06_35_56_10353.jpg
/home/pi/Desktop/images/20022025/06/35/image_20022025_06_36_05_9471.jpg
/home/pi/Desktop/images/20022025/06/36/image_20022025_06_36_16_10332.jpg
/home/pi/Desktop/images/20022025/06/36/image_20022025_06_36_25_9343.jpg
/home/pi/Desktop/images/20022025/06/36/image_20022025_06_36_55_9470.jpg
/home/pi/Desktop/images/20022025/06/37/image_20022025_06_37_26_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622271","1338622268","1338622273","1338622282","1338622285","1338622270"],"photo_ids_order":["1338622268","1338622270","1338622271","1338622273","1338622282","1338622285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/898ff7cde4165bb895be84ee8a00de6a.jpg","text":"TemporaryFile(/tmp/multipartBody1244237729451771388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064532880,"filename":"image_20022025_06_36_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cef6ef4a6f9e752e22fcea02421a5625.jpg","text":"TemporaryFile(/tmp/multipartBody8038747967842499931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064532880,"filename":"image_20022025_06_35_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7cc7d1d095565a4fd8839bb5091024bc.jpg","text":"TemporaryFile(/tmp/multipartBody1541411662777182983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064532880,"filename":"image_20022025_06_36_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2bfbff9ce7904657a32a2d70ad72b08d.jpg","text":"TemporaryFile(/tmp/multipartBody4940733108236975863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064532880,"filename":"image_20022025_06_36_55_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52614a11d8e3989b63153d1daafa5561.jpg","text":"TemporaryFile(/tmp/multipartBody2932325590652093437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064532880,"filename":"image_20022025_06_37_26_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ca52b8018ce345cdced95bb65ebe55a.jpg","text":"TemporaryFile(/tmp/multipartBody2160358486978009586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064532880,"filename":"image_20022025_06_36_05_9471.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622271","file1":"1338622270","file0":"1338622268","file4":"1338622282","file5":"1338622285","file3":"1338622273"},"map_files_photo_id_array":[{"photo_id":"1338622285","filename":"file5"},{"photo_id":"1338622271","filename":"file2"},{"photo_id":"1338622282","filename":"file4"},{"photo_id":"1338622270","filename":"file1"},{"photo_id":"1338622268","filename":"file0"},{"photo_id":"1338622273","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622271":["hashtag1","hashtag2"]},{"1338622268":["hashtag1","hashtag2"]},{"1338622273":["hashtag1","hashtag2"]},{"1338622282":["hashtag1","hashtag2"]},{"1338622285":["hashtag1","hashtag2"]},{"1338622270":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622271, 1338622268, 1338622273, 1338622282, 1338622285, 1338622270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.21188139915466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:15:32.483853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/37/image_20022025_06_37_35_9432.jpg', '/home/pi/Desktop/images/20022025/06/38/image_20022025_06_38_16_10339.jpg', '/home/pi/Desktop/images/20022025/06/38/image_20022025_06_38_35_9330.jpg', '/home/pi/Desktop/images/20022025/06/38/image_20022025_06_38_55_9392.jpg', '/home/pi/Desktop/images/20022025/06/38/image_20022025_06_39_06_10432.jpg', '/home/pi/Desktop/images/20022025/06/39/image_20022025_06_39_16_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/37/image_20022025_06_37_35_9432.jpg
/home/pi/Desktop/images/20022025/06/38/image_20022025_06_38_16_10339.jpg
/home/pi/Desktop/images/20022025/06/38/image_20022025_06_38_35_9330.jpg
/home/pi/Desktop/images/20022025/06/38/image_20022025_06_38_55_9392.jpg
/home/pi/Desktop/images/20022025/06/38/image_20022025_06_39_06_10432.jpg
/home/pi/Desktop/images/20022025/06/39/image_20022025_06_39_16_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622353","1338622305","1338622301","1338622336","1338622324","1338622321"],"photo_ids_order":["1338622301","1338622305","1338622321","1338622324","1338622336","1338622353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b91a20a341e6846dddfd1f37bdcdd5b.jpg","text":"TemporaryFile(/tmp/multipartBody4293882073800359614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064593091,"filename":"image_20022025_06_39_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4bf94ee362f4a96e0f61afd239a78416.jpg","text":"TemporaryFile(/tmp/multipartBody1042042708589324899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064593091,"filename":"image_20022025_06_38_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1347fbae5a55ff710841a041f93193dc.jpg","text":"TemporaryFile(/tmp/multipartBody5047212771903145465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064593091,"filename":"image_20022025_06_37_35_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/45068799a41fe465cbf42cf148444bd0.jpg","text":"TemporaryFile(/tmp/multipartBody5016220074928705412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064593091,"filename":"image_20022025_06_39_06_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/80d1744d8b957950c9485b2ba7fe5f14.jpg","text":"TemporaryFile(/tmp/multipartBody6099558705965614529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064593091,"filename":"image_20022025_06_38_55_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0c6e7a6e7ca2d58b3d1c9b2a2c7e0ec.jpg","text":"TemporaryFile(/tmp/multipartBody4439762583099757645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064593091,"filename":"image_20022025_06_38_35_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622321","file1":"1338622305","file0":"1338622301","file4":"1338622336","file5":"1338622353","file3":"1338622324"},"map_files_photo_id_array":[{"photo_id":"1338622353","filename":"file5"},{"photo_id":"1338622321","filename":"file2"},{"photo_id":"1338622336","filename":"file4"},{"photo_id":"1338622305","filename":"file1"},{"photo_id":"1338622301","filename":"file0"},{"photo_id":"1338622324","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622353":["hashtag1","hashtag2"]},{"1338622305":["hashtag1","hashtag2"]},{"1338622301":["hashtag1","hashtag2"]},{"1338622336":["hashtag1","hashtag2"]},{"1338622324":["hashtag1","hashtag2"]},{"1338622321":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622353, 1338622305, 1338622301, 1338622336, 1338622324, 1338622321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81044363975525 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:16:32.658472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/39/image_20022025_06_39_36_10361.jpg', '/home/pi/Desktop/images/20022025/06/39/image_20022025_06_39_46_10348.jpg', '/home/pi/Desktop/images/20022025/06/39/image_20022025_06_39_55_9339.jpg', '/home/pi/Desktop/images/20022025/06/40/image_20022025_06_40_45_9353.jpg', '/home/pi/Desktop/images/20022025/06/40/image_20022025_06_40_56_10366.jpg', '/home/pi/Desktop/images/20022025/06/41/image_20022025_06_41_26_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/39/image_20022025_06_39_36_10361.jpg
/home/pi/Desktop/images/20022025/06/39/image_20022025_06_39_46_10348.jpg
/home/pi/Desktop/images/20022025/06/39/image_20022025_06_39_55_9339.jpg
/home/pi/Desktop/images/20022025/06/40/image_20022025_06_40_45_9353.jpg
/home/pi/Desktop/images/20022025/06/40/image_20022025_06_40_56_10366.jpg
/home/pi/Desktop/images/20022025/06/41/image_20022025_06_41_26_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622401","1338622404","1338622394","1338622388","1338622407","1338622397"],"photo_ids_order":["1338622388","1338622394","1338622397","1338622401","1338622404","1338622407"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57e365aff03daa894b73a8d1b50fe489.jpg","text":"TemporaryFile(/tmp/multipartBody8414958994600959245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064653252,"filename":"image_20022025_06_40_45_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/47f07ede11c3c1a2f29474d34e9b23a9.jpg","text":"TemporaryFile(/tmp/multipartBody7319487795206549757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064653252,"filename":"image_20022025_06_40_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a419b07b0d9f40d275dabf37f6f7d80a.jpg","text":"TemporaryFile(/tmp/multipartBody8726344658718070081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064653252,"filename":"image_20022025_06_39_46_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/37280c75bd1c74aad236a6d768d59288.jpg","text":"TemporaryFile(/tmp/multipartBody8361629398820324745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064653252,"filename":"image_20022025_06_39_36_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52e1203d2ca314c85d9512b13e977f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8804220631134922714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064653252,"filename":"image_20022025_06_41_26_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/211ee1e713c14c3bb27ed9009172c471.jpg","text":"TemporaryFile(/tmp/multipartBody5523335223542093599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064653252,"filename":"image_20022025_06_39_55_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622397","file1":"1338622394","file0":"1338622388","file4":"1338622404","file5":"1338622407","file3":"1338622401"},"map_files_photo_id_array":[{"photo_id":"1338622407","filename":"file5"},{"photo_id":"1338622397","filename":"file2"},{"photo_id":"1338622404","filename":"file4"},{"photo_id":"1338622394","filename":"file1"},{"photo_id":"1338622388","filename":"file0"},{"photo_id":"1338622401","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622401":["hashtag1","hashtag2"]},{"1338622404":["hashtag1","hashtag2"]},{"1338622394":["hashtag1","hashtag2"]},{"1338622388":["hashtag1","hashtag2"]},{"1338622407":["hashtag1","hashtag2"]},{"1338622397":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622401, 1338622404, 1338622394, 1338622388, 1338622407, 1338622397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.708711624145508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:17:32.940894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/41/image_20022025_06_41_35_9349.jpg', '/home/pi/Desktop/images/20022025/06/41/image_20022025_06_41_46_10350.jpg', '/home/pi/Desktop/images/20022025/06/41/image_20022025_06_41_56_10361.jpg', '/home/pi/Desktop/images/20022025/06/41/image_20022025_06_42_05_9317.jpg', '/home/pi/Desktop/images/20022025/06/42/image_20022025_06_42_16_10443.jpg', '/home/pi/Desktop/images/20022025/06/42/image_20022025_06_42_46_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/41/image_20022025_06_41_35_9349.jpg
/home/pi/Desktop/images/20022025/06/41/image_20022025_06_41_46_10350.jpg
/home/pi/Desktop/images/20022025/06/41/image_20022025_06_41_56_10361.jpg
/home/pi/Desktop/images/20022025/06/41/image_20022025_06_42_05_9317.jpg
/home/pi/Desktop/images/20022025/06/42/image_20022025_06_42_16_10443.jpg
/home/pi/Desktop/images/20022025/06/42/image_20022025_06_42_46_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622501","1338622506","1338622508","1338622510","1338622504","1338622497"],"photo_ids_order":["1338622497","1338622501","1338622504","1338622506","1338622508","1338622510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ae95a36e2f92576e13d640c718aa64e.jpg","text":"TemporaryFile(/tmp/multipartBody6204192977947126975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064713501,"filename":"image_20022025_06_41_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/33b54d768b3fccfc4a6beafcbbe2f4ab.jpg","text":"TemporaryFile(/tmp/multipartBody1731942697140479698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064713501,"filename":"image_20022025_06_42_05_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/126de98eb54a24b6481f23902fffc489.jpg","text":"TemporaryFile(/tmp/multipartBody7725740158860449064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064713501,"filename":"image_20022025_06_42_16_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a0b9bb2eaf641014dffdc961bdd372c0.jpg","text":"TemporaryFile(/tmp/multipartBody8116265295617868942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064713501,"filename":"image_20022025_06_42_46_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c206d6e0fc0e0a8cd9757abe8bdc0942.jpg","text":"TemporaryFile(/tmp/multipartBody6025885577191159298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064713501,"filename":"image_20022025_06_41_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9956c36143b783c6bf8d24823d87efd2.jpg","text":"TemporaryFile(/tmp/multipartBody3418576888716214877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064713501,"filename":"image_20022025_06_41_35_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622504","file1":"1338622501","file0":"1338622497","file4":"1338622508","file5":"1338622510","file3":"1338622506"},"map_files_photo_id_array":[{"photo_id":"1338622510","filename":"file5"},{"photo_id":"1338622504","filename":"file2"},{"photo_id":"1338622508","filename":"file4"},{"photo_id":"1338622501","filename":"file1"},{"photo_id":"1338622497","filename":"file0"},{"photo_id":"1338622506","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622501":["hashtag1","hashtag2"]},{"1338622506":["hashtag1","hashtag2"]},{"1338622508":["hashtag1","hashtag2"]},{"1338622510":["hashtag1","hashtag2"]},{"1338622504":["hashtag1","hashtag2"]},{"1338622497":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622501, 1338622506, 1338622508, 1338622510, 1338622504, 1338622497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84647536277771 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:18:33.000860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/42/image_20022025_06_42_55_9339.jpg', '/home/pi/Desktop/images/20022025/06/43/image_20022025_06_43_16_10317.jpg', '/home/pi/Desktop/images/20022025/06/43/image_20022025_06_43_46_10373.jpg', '/home/pi/Desktop/images/20022025/06/44/image_20022025_06_44_26_10353.jpg', '/home/pi/Desktop/images/20022025/06/44/image_20022025_06_44_45_9328.jpg', '/home/pi/Desktop/images/20022025/06/45/image_20022025_06_45_36_9443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/42/image_20022025_06_42_55_9339.jpg
/home/pi/Desktop/images/20022025/06/43/image_20022025_06_43_16_10317.jpg
/home/pi/Desktop/images/20022025/06/43/image_20022025_06_43_46_10373.jpg
/home/pi/Desktop/images/20022025/06/44/image_20022025_06_44_26_10353.jpg
/home/pi/Desktop/images/20022025/06/44/image_20022025_06_44_45_9328.jpg
/home/pi/Desktop/images/20022025/06/45/image_20022025_06_45_36_9443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622532","1338622552","1338622555","1338622522","1338622546","1338622525"],"photo_ids_order":["1338622522","1338622525","1338622532","1338622546","1338622552","1338622555"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24f4970515e9b2091224c318f7321364.jpg","text":"TemporaryFile(/tmp/multipartBody7766375907465140957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064773558,"filename":"image_20022025_06_43_46_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e340c2f10155919bd03a2e2f8bb2a78.jpg","text":"TemporaryFile(/tmp/multipartBody3444587705451899034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064773558,"filename":"image_20022025_06_44_45_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a902593af30a00b79f7787713d607622.jpg","text":"TemporaryFile(/tmp/multipartBody6285432480290743189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064773558,"filename":"image_20022025_06_45_36_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec785d4e5bfe4ed2cda077fe082b90e9.jpg","text":"TemporaryFile(/tmp/multipartBody6581263090795567376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064773558,"filename":"image_20022025_06_42_55_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa32ff366952f646db812547dd88368c.jpg","text":"TemporaryFile(/tmp/multipartBody38519760758348330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064773558,"filename":"image_20022025_06_44_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/11eec180ce24de2935d2ebf468ce54ed.jpg","text":"TemporaryFile(/tmp/multipartBody6445489272952281915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064773558,"filename":"image_20022025_06_43_16_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622532","file1":"1338622525","file0":"1338622522","file4":"1338622552","file5":"1338622555","file3":"1338622546"},"map_files_photo_id_array":[{"photo_id":"1338622555","filename":"file5"},{"photo_id":"1338622532","filename":"file2"},{"photo_id":"1338622552","filename":"file4"},{"photo_id":"1338622525","filename":"file1"},{"photo_id":"1338622522","filename":"file0"},{"photo_id":"1338622546","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622532":["hashtag1","hashtag2"]},{"1338622552":["hashtag1","hashtag2"]},{"1338622555":["hashtag1","hashtag2"]},{"1338622522":["hashtag1","hashtag2"]},{"1338622546":["hashtag1","hashtag2"]},{"1338622525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622532, 1338622552, 1338622555, 1338622522, 1338622546, 1338622525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07748985290527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:19:32.114423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/45/image_20022025_06_45_46_10352.jpg', '/home/pi/Desktop/images/20022025/06/45/image_20022025_06_46_06_10399.jpg', '/home/pi/Desktop/images/20022025/06/46/image_20022025_06_46_16_10324.jpg', '/home/pi/Desktop/images/20022025/06/46/image_20022025_06_46_55_9405.jpg', '/home/pi/Desktop/images/20022025/06/46/image_20022025_06_47_06_10339.jpg', '/home/pi/Desktop/images/20022025/06/47/image_20022025_06_47_26_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/45/image_20022025_06_45_46_10352.jpg
/home/pi/Desktop/images/20022025/06/45/image_20022025_06_46_06_10399.jpg
/home/pi/Desktop/images/20022025/06/46/image_20022025_06_46_16_10324.jpg
/home/pi/Desktop/images/20022025/06/46/image_20022025_06_46_55_9405.jpg
/home/pi/Desktop/images/20022025/06/46/image_20022025_06_47_06_10339.jpg
/home/pi/Desktop/images/20022025/06/47/image_20022025_06_47_26_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622587","1338622602","1338622604","1338622594","1338622582","1338622606"],"photo_ids_order":["1338622582","1338622587","1338622594","1338622602","1338622604","1338622606"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f35ee39c1f006caaa2a850cd24a77e64.jpg","text":"TemporaryFile(/tmp/multipartBody3662044175192598156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064832701,"filename":"image_20022025_06_46_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b53d5333f58af2ff778eecb38e789734.jpg","text":"TemporaryFile(/tmp/multipartBody4634902926582096018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064832701,"filename":"image_20022025_06_46_55_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ecbc3e0f1852f0869937ab8736f15742.jpg","text":"TemporaryFile(/tmp/multipartBody6292084450516080014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064832701,"filename":"image_20022025_06_47_06_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2206d31b765bf8f025308f675c2ee2a6.jpg","text":"TemporaryFile(/tmp/multipartBody7607138214984893687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064832701,"filename":"image_20022025_06_46_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b0010be9e508c8b2dda2ffe758014c9.jpg","text":"TemporaryFile(/tmp/multipartBody1670205478619476235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064832701,"filename":"image_20022025_06_45_46_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb0c61da1b71bdcfbbc1efebaf7001ed.jpg","text":"TemporaryFile(/tmp/multipartBody7370410292139750406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064832701,"filename":"image_20022025_06_47_26_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622594","file1":"1338622587","file0":"1338622582","file4":"1338622604","file5":"1338622606","file3":"1338622602"},"map_files_photo_id_array":[{"photo_id":"1338622606","filename":"file5"},{"photo_id":"1338622594","filename":"file2"},{"photo_id":"1338622604","filename":"file4"},{"photo_id":"1338622587","filename":"file1"},{"photo_id":"1338622582","filename":"file0"},{"photo_id":"1338622602","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622587":["hashtag1","hashtag2"]},{"1338622602":["hashtag1","hashtag2"]},{"1338622604":["hashtag1","hashtag2"]},{"1338622594":["hashtag1","hashtag2"]},{"1338622582":["hashtag1","hashtag2"]},{"1338622606":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622587, 1338622602, 1338622604, 1338622594, 1338622582, 1338622606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56929540634155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:20:32.294390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/47/image_20022025_06_47_56_10356.jpg', '/home/pi/Desktop/images/20022025/06/48/image_20022025_06_48_26_10345.jpg', '/home/pi/Desktop/images/20022025/06/48/image_20022025_06_49_05_9435.jpg', '/home/pi/Desktop/images/20022025/06/49/image_20022025_06_49_16_10343.jpg', '/home/pi/Desktop/images/20022025/06/49/image_20022025_06_49_46_10360.jpg', '/home/pi/Desktop/images/20022025/06/49/image_20022025_06_49_55_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/47/image_20022025_06_47_56_10356.jpg
/home/pi/Desktop/images/20022025/06/48/image_20022025_06_48_26_10345.jpg
/home/pi/Desktop/images/20022025/06/48/image_20022025_06_49_05_9435.jpg
/home/pi/Desktop/images/20022025/06/49/image_20022025_06_49_16_10343.jpg
/home/pi/Desktop/images/20022025/06/49/image_20022025_06_49_46_10360.jpg
/home/pi/Desktop/images/20022025/06/49/image_20022025_06_49_55_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338622653","1338622647","1338622626","1338622641","1338622622","1338622619"],"photo_ids_order":["1338622619","1338622622","1338622626","1338622641","1338622647","1338622653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9710fb3d24226a83ddb1134b778f98a7.jpg","text":"TemporaryFile(/tmp/multipartBody6059400078217239963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064892878,"filename":"image_20022025_06_49_55_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09bf52cc5a6f204b7f478879d400547c.jpg","text":"TemporaryFile(/tmp/multipartBody1160125020311159268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064892878,"filename":"image_20022025_06_49_46_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3d46620906aea7a064953849df2b625.jpg","text":"TemporaryFile(/tmp/multipartBody8086928899719645309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064892878,"filename":"image_20022025_06_49_05_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0b88d11558011d74e36df3cb2de4d59.jpg","text":"TemporaryFile(/tmp/multipartBody5952614893950157447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064892878,"filename":"image_20022025_06_49_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2bbcf350ddbbbfa1da03dfc5c1baf64a.jpg","text":"TemporaryFile(/tmp/multipartBody2664699735863374979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064892878,"filename":"image_20022025_06_48_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9246788fd99c076fc1ecbc873dc03a2.jpg","text":"TemporaryFile(/tmp/multipartBody2209421323085170875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064892878,"filename":"image_20022025_06_47_56_10356.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338622626","file1":"1338622622","file0":"1338622619","file4":"1338622647","file5":"1338622653","file3":"1338622641"},"map_files_photo_id_array":[{"photo_id":"1338622653","filename":"file5"},{"photo_id":"1338622626","filename":"file2"},{"photo_id":"1338622647","filename":"file4"},{"photo_id":"1338622622","filename":"file1"},{"photo_id":"1338622619","filename":"file0"},{"photo_id":"1338622641","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338622653":["hashtag1","hashtag2"]},{"1338622647":["hashtag1","hashtag2"]},{"1338622626":["hashtag1","hashtag2"]},{"1338622641":["hashtag1","hashtag2"]},{"1338622622":["hashtag1","hashtag2"]},{"1338622619":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338622653, 1338622647, 1338622626, 1338622641, 1338622622, 1338622619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.821770906448364 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:21:32.436826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/50/image_20022025_06_50_15_9423.jpg', '/home/pi/Desktop/images/20022025/06/50/image_20022025_06_50_36_10102.jpg', '/home/pi/Desktop/images/20022025/06/50/image_20022025_06_51_05_9393.jpg', '/home/pi/Desktop/images/20022025/06/51/image_20022025_06_51_25_9408.jpg', '/home/pi/Desktop/images/20022025/06/51/image_20022025_06_51_36_10338.jpg', '/home/pi/Desktop/images/20022025/06/51/image_20022025_06_51_46_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/50/image_20022025_06_50_15_9423.jpg
/home/pi/Desktop/images/20022025/06/50/image_20022025_06_50_36_10102.jpg
/home/pi/Desktop/images/20022025/06/50/image_20022025_06_51_05_9393.jpg
/home/pi/Desktop/images/20022025/06/51/image_20022025_06_51_25_9408.jpg
/home/pi/Desktop/images/20022025/06/51/image_20022025_06_51_36_10338.jpg
/home/pi/Desktop/images/20022025/06/51/image_20022025_06_51_46_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338623727","1338623612","1338623725","1338623719","1338623722","1338623413"],"photo_ids_order":["1338623413","1338623612","1338623719","1338623722","1338623725","1338623727"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1123cc38a4fdbdd3423cffe05982e11c.jpg","text":"TemporaryFile(/tmp/multipartBody2947379927090060156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064953012,"filename":"image_20022025_06_51_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ceb694df8e82272b0fa3e2e77ca0f6d0.jpg","text":"TemporaryFile(/tmp/multipartBody4223508224875436043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064953012,"filename":"image_20022025_06_50_36_10102.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/875194e12702670fbaf074abff469f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5750695325705160866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064953012,"filename":"image_20022025_06_51_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59350f1e8181fb604c5ad09721e01ced.jpg","text":"TemporaryFile(/tmp/multipartBody7818373550752773785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064953012,"filename":"image_20022025_06_51_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e9c2c69f0c02015d0e7c2eea7725f42b.jpg","text":"TemporaryFile(/tmp/multipartBody3514357500646683316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064953012,"filename":"image_20022025_06_51_25_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4527d2f76d9a0a6b77a27597b7a74209.jpg","text":"TemporaryFile(/tmp/multipartBody233426386963999748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740064953012,"filename":"image_20022025_06_50_15_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338623719","file1":"1338623612","file0":"1338623413","file4":"1338623725","file5":"1338623727","file3":"1338623722"},"map_files_photo_id_array":[{"photo_id":"1338623727","filename":"file5"},{"photo_id":"1338623719","filename":"file2"},{"photo_id":"1338623725","filename":"file4"},{"photo_id":"1338623612","filename":"file1"},{"photo_id":"1338623413","filename":"file0"},{"photo_id":"1338623722","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338623727":["hashtag1","hashtag2"]},{"1338623612":["hashtag1","hashtag2"]},{"1338623725":["hashtag1","hashtag2"]},{"1338623719":["hashtag1","hashtag2"]},{"1338623722":["hashtag1","hashtag2"]},{"1338623413":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338623727, 1338623612, 1338623725, 1338623719, 1338623722, 1338623413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.267457723617554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:22:32.838961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/51/image_20022025_06_52_06_10357.jpg', '/home/pi/Desktop/images/20022025/06/52/image_20022025_06_52_46_10354.jpg', '/home/pi/Desktop/images/20022025/06/52/image_20022025_06_53_06_10426.jpg', '/home/pi/Desktop/images/20022025/06/53/image_20022025_06_53_15_9372.jpg', '/home/pi/Desktop/images/20022025/06/53/image_20022025_06_53_26_10360.jpg', '/home/pi/Desktop/images/20022025/06/53/image_20022025_06_53_36_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/51/image_20022025_06_52_06_10357.jpg
/home/pi/Desktop/images/20022025/06/52/image_20022025_06_52_46_10354.jpg
/home/pi/Desktop/images/20022025/06/52/image_20022025_06_53_06_10426.jpg
/home/pi/Desktop/images/20022025/06/53/image_20022025_06_53_15_9372.jpg
/home/pi/Desktop/images/20022025/06/53/image_20022025_06_53_26_10360.jpg
/home/pi/Desktop/images/20022025/06/53/image_20022025_06_53_36_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338623910","1338624082","1338623903","1338624121","1338624118","1338624114"],"photo_ids_order":["1338623903","1338623910","1338624082","1338624114","1338624118","1338624121"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f08383823230cdbf33b1f767537f627b.jpg","text":"TemporaryFile(/tmp/multipartBody2157501290392340155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065013397,"filename":"image_20022025_06_52_46_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/969aca9b45ed9be7cdf81f9d7d22e126.jpg","text":"TemporaryFile(/tmp/multipartBody461687095537462627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065013397,"filename":"image_20022025_06_53_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57fd945a776ba280f53b67f1b056d885.jpg","text":"TemporaryFile(/tmp/multipartBody2546789718510929685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065013397,"filename":"image_20022025_06_52_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/19f3abef7564c429ef6d6e877e6b4ad4.jpg","text":"TemporaryFile(/tmp/multipartBody7568468911528048604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065013397,"filename":"image_20022025_06_53_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10f2644733dc01c9c004af63f41bbe38.jpg","text":"TemporaryFile(/tmp/multipartBody6643105875913768392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065013397,"filename":"image_20022025_06_53_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1d4ddab056c2383ef2ade87551a0887e.jpg","text":"TemporaryFile(/tmp/multipartBody6404242840833902725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065013397,"filename":"image_20022025_06_53_15_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624082","file1":"1338623910","file0":"1338623903","file4":"1338624118","file5":"1338624121","file3":"1338624114"},"map_files_photo_id_array":[{"photo_id":"1338624121","filename":"file5"},{"photo_id":"1338624082","filename":"file2"},{"photo_id":"1338624118","filename":"file4"},{"photo_id":"1338623910","filename":"file1"},{"photo_id":"1338623903","filename":"file0"},{"photo_id":"1338624114","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338623910":["hashtag1","hashtag2"]},{"1338624082":["hashtag1","hashtag2"]},{"1338623903":["hashtag1","hashtag2"]},{"1338624121":["hashtag1","hashtag2"]},{"1338624118":["hashtag1","hashtag2"]},{"1338624114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338623910, 1338624082, 1338623903, 1338624121, 1338624118, 1338624114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40442442893982 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:23:33.185254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/53/image_20022025_06_53_45_9342.jpg', '/home/pi/Desktop/images/20022025/06/53/image_20022025_06_54_06_10332.jpg', '/home/pi/Desktop/images/20022025/06/54/image_20022025_06_54_15_9454.jpg', '/home/pi/Desktop/images/20022025/06/54/image_20022025_06_54_26_10438.jpg', '/home/pi/Desktop/images/20022025/06/54/image_20022025_06_54_35_9341.jpg', '/home/pi/Desktop/images/20022025/06/54/image_20022025_06_55_05_9471.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/53/image_20022025_06_53_45_9342.jpg
/home/pi/Desktop/images/20022025/06/53/image_20022025_06_54_06_10332.jpg
/home/pi/Desktop/images/20022025/06/54/image_20022025_06_54_15_9454.jpg
/home/pi/Desktop/images/20022025/06/54/image_20022025_06_54_26_10438.jpg
/home/pi/Desktop/images/20022025/06/54/image_20022025_06_54_35_9341.jpg
/home/pi/Desktop/images/20022025/06/54/image_20022025_06_55_05_9471.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338624275","1338624310","1338624294","1338624285","1338624312","1338624300"],"photo_ids_order":["1338624275","1338624285","1338624294","1338624300","1338624310","1338624312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aff4b635a7a55a727cdd69fc33e1a57d.jpg","text":"TemporaryFile(/tmp/multipartBody4759153740488373277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065073760,"filename":"image_20022025_06_53_45_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59e16687d601bc4e7d779e49d86fb05e.jpg","text":"TemporaryFile(/tmp/multipartBody2225505414044585177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065073760,"filename":"image_20022025_06_54_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec26438b83a545e43e606dd1527d022e.jpg","text":"TemporaryFile(/tmp/multipartBody239761199963214884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065073760,"filename":"image_20022025_06_54_15_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6855b3f707d9d474df47727b84d87948.jpg","text":"TemporaryFile(/tmp/multipartBody1913306911275511305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065073760,"filename":"image_20022025_06_54_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a13a5b6380b59f082485d528144444c5.jpg","text":"TemporaryFile(/tmp/multipartBody7791048394391845779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065073760,"filename":"image_20022025_06_55_05_9471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3835c54b96d6eb1f9d613c94b7f51e68.jpg","text":"TemporaryFile(/tmp/multipartBody1717138110454789406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065073760,"filename":"image_20022025_06_54_26_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624294","file1":"1338624285","file0":"1338624275","file4":"1338624310","file5":"1338624312","file3":"1338624300"},"map_files_photo_id_array":[{"photo_id":"1338624312","filename":"file5"},{"photo_id":"1338624294","filename":"file2"},{"photo_id":"1338624310","filename":"file4"},{"photo_id":"1338624285","filename":"file1"},{"photo_id":"1338624275","filename":"file0"},{"photo_id":"1338624300","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338624275":["hashtag1","hashtag2"]},{"1338624310":["hashtag1","hashtag2"]},{"1338624294":["hashtag1","hashtag2"]},{"1338624285":["hashtag1","hashtag2"]},{"1338624312":["hashtag1","hashtag2"]},{"1338624300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338624275, 1338624310, 1338624294, 1338624285, 1338624312, 1338624300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14581513404846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:24:32.187232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/55/image_20022025_06_55_16_10397.jpg', '/home/pi/Desktop/images/20022025/06/55/image_20022025_06_55_25_9329.jpg', '/home/pi/Desktop/images/20022025/06/55/image_20022025_06_55_46_10347.jpg', '/home/pi/Desktop/images/20022025/06/55/image_20022025_06_55_55_9341.jpg', '/home/pi/Desktop/images/20022025/06/56/image_20022025_06_56_16_10380.jpg', '/home/pi/Desktop/images/20022025/06/56/image_20022025_06_56_25_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/55/image_20022025_06_55_16_10397.jpg
/home/pi/Desktop/images/20022025/06/55/image_20022025_06_55_25_9329.jpg
/home/pi/Desktop/images/20022025/06/55/image_20022025_06_55_46_10347.jpg
/home/pi/Desktop/images/20022025/06/55/image_20022025_06_55_55_9341.jpg
/home/pi/Desktop/images/20022025/06/56/image_20022025_06_56_16_10380.jpg
/home/pi/Desktop/images/20022025/06/56/image_20022025_06_56_25_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338624374","1338624372","1338624381","1338624384","1338624378","1338624377"],"photo_ids_order":["1338624372","1338624374","1338624377","1338624378","1338624381","1338624384"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2c18ff363fa999408208f21cd1a789f.jpg","text":"TemporaryFile(/tmp/multipartBody8702322471911172676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065132987,"filename":"image_20022025_06_55_25_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8d25881fee3bf49c33f3acdfa4be32dc.jpg","text":"TemporaryFile(/tmp/multipartBody8181615052416052776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065132987,"filename":"image_20022025_06_55_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12a7d9ee1d74e1442688f547e11418f9.jpg","text":"TemporaryFile(/tmp/multipartBody4178346660473709950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065132987,"filename":"image_20022025_06_56_16_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4af47e84a88656204808598ec70d67b.jpg","text":"TemporaryFile(/tmp/multipartBody1498102059265095894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065132987,"filename":"image_20022025_06_56_25_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b5dae7075bbd34cc465ed64c1c00a6a.jpg","text":"TemporaryFile(/tmp/multipartBody5405808769969971359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065132987,"filename":"image_20022025_06_55_55_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f6af829e7ced00fe60f1aa408ce4d1fe.jpg","text":"TemporaryFile(/tmp/multipartBody6707340357081297903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065132987,"filename":"image_20022025_06_55_46_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624377","file1":"1338624374","file0":"1338624372","file4":"1338624381","file5":"1338624384","file3":"1338624378"},"map_files_photo_id_array":[{"photo_id":"1338624384","filename":"file5"},{"photo_id":"1338624377","filename":"file2"},{"photo_id":"1338624381","filename":"file4"},{"photo_id":"1338624374","filename":"file1"},{"photo_id":"1338624372","filename":"file0"},{"photo_id":"1338624378","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338624374":["hashtag1","hashtag2"]},{"1338624372":["hashtag1","hashtag2"]},{"1338624381":["hashtag1","hashtag2"]},{"1338624384":["hashtag1","hashtag2"]},{"1338624378":["hashtag1","hashtag2"]},{"1338624377":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338624374, 1338624372, 1338624381, 1338624384, 1338624378, 1338624377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.72252583503723 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:25:33.219045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/56/image_20022025_06_56_36_10431.jpg', '/home/pi/Desktop/images/20022025/06/56/image_20022025_06_56_46_10340.jpg', '/home/pi/Desktop/images/20022025/06/57/image_20022025_06_57_26_10342.jpg', '/home/pi/Desktop/images/20022025/06/57/image_20022025_06_57_36_10420.jpg', '/home/pi/Desktop/images/20022025/06/57/image_20022025_06_57_45_9434.jpg', '/home/pi/Desktop/images/20022025/06/57/image_20022025_06_57_56_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/56/image_20022025_06_56_36_10431.jpg
/home/pi/Desktop/images/20022025/06/56/image_20022025_06_56_46_10340.jpg
/home/pi/Desktop/images/20022025/06/57/image_20022025_06_57_26_10342.jpg
/home/pi/Desktop/images/20022025/06/57/image_20022025_06_57_36_10420.jpg
/home/pi/Desktop/images/20022025/06/57/image_20022025_06_57_45_9434.jpg
/home/pi/Desktop/images/20022025/06/57/image_20022025_06_57_56_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338624518","1338624484","1338624415","1338624564","1338624543","1338624516"],"photo_ids_order":["1338624415","1338624484","1338624516","1338624518","1338624543","1338624564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/581fb1b89908ff6440a1fe2e06f2d4fa.jpg","text":"TemporaryFile(/tmp/multipartBody7910346442772527175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065193798,"filename":"image_20022025_06_57_36_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e8a5fa5e7d91c4d09fb6d1f278bfd596.jpg","text":"TemporaryFile(/tmp/multipartBody7650328905425973460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065193798,"filename":"image_20022025_06_56_46_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/526b96a8ef4192d1cd7338969b180dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8278596605307898910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065193798,"filename":"image_20022025_06_56_36_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55a5b7e86e92ad335ea5616a08b8a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody2696414956480392109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065193798,"filename":"image_20022025_06_57_56_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb4e0a0f6a47a320e989f62543247735.jpg","text":"TemporaryFile(/tmp/multipartBody6327327641637381264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065193798,"filename":"image_20022025_06_57_45_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f606f7101751aa14c0099e0d11865b51.jpg","text":"TemporaryFile(/tmp/multipartBody3760796629556621082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065193798,"filename":"image_20022025_06_57_26_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624516","file1":"1338624484","file0":"1338624415","file4":"1338624543","file5":"1338624564","file3":"1338624518"},"map_files_photo_id_array":[{"photo_id":"1338624564","filename":"file5"},{"photo_id":"1338624516","filename":"file2"},{"photo_id":"1338624543","filename":"file4"},{"photo_id":"1338624484","filename":"file1"},{"photo_id":"1338624415","filename":"file0"},{"photo_id":"1338624518","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338624518":["hashtag1","hashtag2"]},{"1338624484":["hashtag1","hashtag2"]},{"1338624415":["hashtag1","hashtag2"]},{"1338624564":["hashtag1","hashtag2"]},{"1338624543":["hashtag1","hashtag2"]},{"1338624516":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338624518, 1338624484, 1338624415, 1338624564, 1338624543, 1338624516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84718370437622 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:26:32.270371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/57/image_20022025_06_58_05_9316.jpg', '/home/pi/Desktop/images/20022025/06/58/image_20022025_06_58_16_10445.jpg', '/home/pi/Desktop/images/20022025/06/58/image_20022025_06_58_26_10352.jpg', '/home/pi/Desktop/images/20022025/06/58/image_20022025_06_58_35_9312.jpg', '/home/pi/Desktop/images/20022025/06/58/image_20022025_06_58_46_10437.jpg', '/home/pi/Desktop/images/20022025/06/59/image_20022025_06_59_25_9354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/57/image_20022025_06_58_05_9316.jpg
/home/pi/Desktop/images/20022025/06/58/image_20022025_06_58_16_10445.jpg
/home/pi/Desktop/images/20022025/06/58/image_20022025_06_58_26_10352.jpg
/home/pi/Desktop/images/20022025/06/58/image_20022025_06_58_35_9312.jpg
/home/pi/Desktop/images/20022025/06/58/image_20022025_06_58_46_10437.jpg
/home/pi/Desktop/images/20022025/06/59/image_20022025_06_59_25_9354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338624620","1338624640","1338624631","1338624625","1338624628","1338624636"],"photo_ids_order":["1338624620","1338624625","1338624628","1338624631","1338624636","1338624640"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5168f029c677068d75195f0e3396dc28.jpg","text":"TemporaryFile(/tmp/multipartBody8267853523031635978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065252843,"filename":"image_20022025_06_58_05_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4730b055671f4bb18ab7233bc6add7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1303563735075503636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065252843,"filename":"image_20022025_06_59_25_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3ae794529daad753e11f005c9f4ea92.jpg","text":"TemporaryFile(/tmp/multipartBody1532837638444553221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065252843,"filename":"image_20022025_06_58_35_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/21d3cf6449f9de1b6d51f448f149c5e6.jpg","text":"TemporaryFile(/tmp/multipartBody6589012835667786581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065252843,"filename":"image_20022025_06_58_16_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7893c1b2491c2c5a2b5cd9ad5166db3.jpg","text":"TemporaryFile(/tmp/multipartBody6148263830127213535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065252843,"filename":"image_20022025_06_58_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88b012d17c97dc2df191c4c940d76bd1.jpg","text":"TemporaryFile(/tmp/multipartBody2425131854296566619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065252843,"filename":"image_20022025_06_58_46_10437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624628","file1":"1338624625","file0":"1338624620","file4":"1338624636","file5":"1338624640","file3":"1338624631"},"map_files_photo_id_array":[{"photo_id":"1338624640","filename":"file5"},{"photo_id":"1338624628","filename":"file2"},{"photo_id":"1338624636","filename":"file4"},{"photo_id":"1338624625","filename":"file1"},{"photo_id":"1338624620","filename":"file0"},{"photo_id":"1338624631","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338624620":["hashtag1","hashtag2"]},{"1338624640":["hashtag1","hashtag2"]},{"1338624631":["hashtag1","hashtag2"]},{"1338624625":["hashtag1","hashtag2"]},{"1338624628":["hashtag1","hashtag2"]},{"1338624636":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338624620, 1338624640, 1338624631, 1338624625, 1338624628, 1338624636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.975685596466064 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:27:32.544416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/06/59/image_20022025_06_59_36_10439.jpg', '/home/pi/Desktop/images/20022025/06/59/image_20022025_06_59_45_9354.jpg', '/home/pi/Desktop/images/20022025/06/59/image_20022025_06_59_56_10368.jpg', '/home/pi/Desktop/images/20022025/07/00/image_20022025_07_00_47_9337.jpg', '/home/pi/Desktop/images/20022025/07/00/image_20022025_07_00_57_10331.jpg', '/home/pi/Desktop/images/20022025/07/01/image_20022025_07_01_17_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/06/59/image_20022025_06_59_36_10439.jpg
/home/pi/Desktop/images/20022025/06/59/image_20022025_06_59_45_9354.jpg
/home/pi/Desktop/images/20022025/06/59/image_20022025_06_59_56_10368.jpg
/home/pi/Desktop/images/20022025/07/00/image_20022025_07_00_47_9337.jpg
/home/pi/Desktop/images/20022025/07/00/image_20022025_07_00_57_10331.jpg
/home/pi/Desktop/images/20022025/07/01/image_20022025_07_01_17_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338624731","1338624710","1338624691","1338624685","1338624688","1338624693"],"photo_ids_order":["1338624685","1338624688","1338624691","1338624693","1338624710","1338624731"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8caeb7be41be3bb161fe6e18d354b221.jpg","text":"TemporaryFile(/tmp/multipartBody6912807450883469367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065313115,"filename":"image_20022025_07_01_17_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0a088b4cf67dd59e4002308f4eaa108.jpg","text":"TemporaryFile(/tmp/multipartBody4735622626113554966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065313115,"filename":"image_20022025_07_00_57_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ae91ae4cf29abd1135601a205842ad83.jpg","text":"TemporaryFile(/tmp/multipartBody3354720302109080428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065313115,"filename":"image_20022025_06_59_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4d37fc57d9cf8c678a516621e9b806b.jpg","text":"TemporaryFile(/tmp/multipartBody8257502856831421172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065313115,"filename":"image_20022025_06_59_36_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/829fa4ec627c06c6553b1718278fff35.jpg","text":"TemporaryFile(/tmp/multipartBody1349870487382436082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065313115,"filename":"image_20022025_06_59_45_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d1891b07c7b26ea5fb5624042e6726f.jpg","text":"TemporaryFile(/tmp/multipartBody701930431569194885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065313115,"filename":"image_20022025_07_00_47_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624691","file1":"1338624688","file0":"1338624685","file4":"1338624710","file5":"1338624731","file3":"1338624693"},"map_files_photo_id_array":[{"photo_id":"1338624731","filename":"file5"},{"photo_id":"1338624691","filename":"file2"},{"photo_id":"1338624710","filename":"file4"},{"photo_id":"1338624688","filename":"file1"},{"photo_id":"1338624685","filename":"file0"},{"photo_id":"1338624693","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338624731":["hashtag1","hashtag2"]},{"1338624710":["hashtag1","hashtag2"]},{"1338624691":["hashtag1","hashtag2"]},{"1338624685":["hashtag1","hashtag2"]},{"1338624688":["hashtag1","hashtag2"]},{"1338624693":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338624731, 1338624710, 1338624691, 1338624685, 1338624688, 1338624693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.72054576873779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:28:32.672451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/01/image_20022025_07_01_27_10346.jpg', '/home/pi/Desktop/images/20022025/07/01/image_20022025_07_01_36_9341.jpg', '/home/pi/Desktop/images/20022025/07/01/image_20022025_07_01_57_10351.jpg', '/home/pi/Desktop/images/20022025/07/01/image_20022025_07_02_06_9386.jpg', '/home/pi/Desktop/images/20022025/07/02/image_20022025_07_02_27_10334.jpg', '/home/pi/Desktop/images/20022025/07/02/image_20022025_07_02_37_9474.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/01/image_20022025_07_01_27_10346.jpg
/home/pi/Desktop/images/20022025/07/01/image_20022025_07_01_36_9341.jpg
/home/pi/Desktop/images/20022025/07/01/image_20022025_07_01_57_10351.jpg
/home/pi/Desktop/images/20022025/07/01/image_20022025_07_02_06_9386.jpg
/home/pi/Desktop/images/20022025/07/02/image_20022025_07_02_27_10334.jpg
/home/pi/Desktop/images/20022025/07/02/image_20022025_07_02_37_9474.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338624779","1338624796","1338624790","1338624783","1338624792","1338624786"],"photo_ids_order":["1338624779","1338624783","1338624786","1338624790","1338624792","1338624796"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9eea85ef8113af50f8d8c76cedb0dec2.jpg","text":"TemporaryFile(/tmp/multipartBody6824722784308159166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065373255,"filename":"image_20022025_07_01_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/754a87c1e8058992bb8d80403f97bafd.jpg","text":"TemporaryFile(/tmp/multipartBody2003474112785698733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065373255,"filename":"image_20022025_07_02_37_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78186f7e113af337a79af358b547d42e.jpg","text":"TemporaryFile(/tmp/multipartBody8729077055622657278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065373255,"filename":"image_20022025_07_02_06_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd36bfa2996e2f8ef9a9e5900a25a65b.jpg","text":"TemporaryFile(/tmp/multipartBody7856178089577266758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065373255,"filename":"image_20022025_07_01_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25640cd14c4e2f6464b0ef1ac71ab48a.jpg","text":"TemporaryFile(/tmp/multipartBody5569027378421990186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065373255,"filename":"image_20022025_07_02_27_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f800249121f92f0bbbdde90f19b735b.jpg","text":"TemporaryFile(/tmp/multipartBody1730059114538139329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065373255,"filename":"image_20022025_07_01_57_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624786","file1":"1338624783","file0":"1338624779","file4":"1338624792","file5":"1338624796","file3":"1338624790"},"map_files_photo_id_array":[{"photo_id":"1338624796","filename":"file5"},{"photo_id":"1338624786","filename":"file2"},{"photo_id":"1338624792","filename":"file4"},{"photo_id":"1338624783","filename":"file1"},{"photo_id":"1338624779","filename":"file0"},{"photo_id":"1338624790","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338624779":["hashtag1","hashtag2"]},{"1338624796":["hashtag1","hashtag2"]},{"1338624790":["hashtag1","hashtag2"]},{"1338624783":["hashtag1","hashtag2"]},{"1338624792":["hashtag1","hashtag2"]},{"1338624786":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338624779, 1338624796, 1338624790, 1338624783, 1338624792, 1338624786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.57491946220398 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:29:32.868739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/02/image_20022025_07_02_47_10337.jpg', '/home/pi/Desktop/images/20022025/07/02/image_20022025_07_02_57_10352.jpg', '/home/pi/Desktop/images/20022025/07/02/image_20022025_07_03_07_9321.jpg', '/home/pi/Desktop/images/20022025/07/03/image_20022025_07_03_37_9333.jpg', '/home/pi/Desktop/images/20022025/07/03/image_20022025_07_03_47_10362.jpg', '/home/pi/Desktop/images/20022025/07/03/image_20022025_07_03_56_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/02/image_20022025_07_02_47_10337.jpg
/home/pi/Desktop/images/20022025/07/02/image_20022025_07_02_57_10352.jpg
/home/pi/Desktop/images/20022025/07/02/image_20022025_07_03_07_9321.jpg
/home/pi/Desktop/images/20022025/07/03/image_20022025_07_03_37_9333.jpg
/home/pi/Desktop/images/20022025/07/03/image_20022025_07_03_47_10362.jpg
/home/pi/Desktop/images/20022025/07/03/image_20022025_07_03_56_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338624929","1338624865","1338624868","1338624862","1338624884","1338624872"],"photo_ids_order":["1338624862","1338624865","1338624868","1338624872","1338624884","1338624929"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a14584978c1bc617d3133da30cffdd06.jpg","text":"TemporaryFile(/tmp/multipartBody7157309978677070112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065433459,"filename":"image_20022025_07_03_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ebfbbeea2a981da932ab113f4d8b5ce.jpg","text":"TemporaryFile(/tmp/multipartBody7942538110046466207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065433459,"filename":"image_20022025_07_02_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da5d3c152701e23c6c452e0577399e51.jpg","text":"TemporaryFile(/tmp/multipartBody6416625262263772003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065433459,"filename":"image_20022025_07_03_07_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5cdd554d12243e4183fdf23ea3ed31c7.jpg","text":"TemporaryFile(/tmp/multipartBody4557084411678340643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065433459,"filename":"image_20022025_07_02_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2d6f0cb1d1335298667f10cc81162e0.jpg","text":"TemporaryFile(/tmp/multipartBody4534559993431990831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065433459,"filename":"image_20022025_07_03_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/194f011a78b27b47a126fc7812fe1c23.jpg","text":"TemporaryFile(/tmp/multipartBody5331486686394912716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065433459,"filename":"image_20022025_07_03_37_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624868","file1":"1338624865","file0":"1338624862","file4":"1338624884","file5":"1338624929","file3":"1338624872"},"map_files_photo_id_array":[{"photo_id":"1338624929","filename":"file5"},{"photo_id":"1338624868","filename":"file2"},{"photo_id":"1338624884","filename":"file4"},{"photo_id":"1338624865","filename":"file1"},{"photo_id":"1338624862","filename":"file0"},{"photo_id":"1338624872","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338624929":["hashtag1","hashtag2"]},{"1338624865":["hashtag1","hashtag2"]},{"1338624868":["hashtag1","hashtag2"]},{"1338624862":["hashtag1","hashtag2"]},{"1338624884":["hashtag1","hashtag2"]},{"1338624872":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338624929, 1338624865, 1338624868, 1338624862, 1338624884, 1338624872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85572862625122 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:30:33.069651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/03/image_20022025_07_04_07_10335.jpg', '/home/pi/Desktop/images/20022025/07/04/image_20022025_07_04_17_10350.jpg', '/home/pi/Desktop/images/20022025/07/04/image_20022025_07_04_26_9459.jpg', '/home/pi/Desktop/images/20022025/07/04/image_20022025_07_04_37_10331.jpg', '/home/pi/Desktop/images/20022025/07/04/image_20022025_07_04_47_10340.jpg', '/home/pi/Desktop/images/20022025/07/05/image_20022025_07_05_47_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/03/image_20022025_07_04_07_10335.jpg
/home/pi/Desktop/images/20022025/07/04/image_20022025_07_04_17_10350.jpg
/home/pi/Desktop/images/20022025/07/04/image_20022025_07_04_26_9459.jpg
/home/pi/Desktop/images/20022025/07/04/image_20022025_07_04_37_10331.jpg
/home/pi/Desktop/images/20022025/07/04/image_20022025_07_04_47_10340.jpg
/home/pi/Desktop/images/20022025/07/05/image_20022025_07_05_47_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338625016","1338624952","1338624946","1338624949","1338625068","1338624954"],"photo_ids_order":["1338624946","1338624949","1338624952","1338624954","1338625016","1338625068"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/add86540bf0f420c8a92266749f6866f.jpg","text":"TemporaryFile(/tmp/multipartBody3076091467243335067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065493641,"filename":"image_20022025_07_04_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa44455cde8c44d8118c50eeefceaf59.jpg","text":"TemporaryFile(/tmp/multipartBody8834415626287240631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065493641,"filename":"image_20022025_07_04_26_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5e4edd117d083d54e63c264cb9086da3.jpg","text":"TemporaryFile(/tmp/multipartBody3183859839053133927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065493641,"filename":"image_20022025_07_04_07_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1390b49ac6ce32b5e3bcba6f623c0edf.jpg","text":"TemporaryFile(/tmp/multipartBody5421972164901293109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065493641,"filename":"image_20022025_07_04_17_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/35affc7ef4a1c96a8ebbcd55ea1e07fd.jpg","text":"TemporaryFile(/tmp/multipartBody5207195693184239797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065493641,"filename":"image_20022025_07_05_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b91139d9054e6f5297a93fc57087bd3.jpg","text":"TemporaryFile(/tmp/multipartBody4784728726977915820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065493641,"filename":"image_20022025_07_04_37_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338624952","file1":"1338624949","file0":"1338624946","file4":"1338625016","file5":"1338625068","file3":"1338624954"},"map_files_photo_id_array":[{"photo_id":"1338625068","filename":"file5"},{"photo_id":"1338624952","filename":"file2"},{"photo_id":"1338625016","filename":"file4"},{"photo_id":"1338624949","filename":"file1"},{"photo_id":"1338624946","filename":"file0"},{"photo_id":"1338624954","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625016":["hashtag1","hashtag2"]},{"1338624952":["hashtag1","hashtag2"]},{"1338624946":["hashtag1","hashtag2"]},{"1338624949":["hashtag1","hashtag2"]},{"1338625068":["hashtag1","hashtag2"]},{"1338624954":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625016, 1338624952, 1338624946, 1338624949, 1338625068, 1338624954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36532688140869 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:31:32.206673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/05/image_20022025_07_06_07_10327.jpg', '/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_17_10334.jpg', '/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_37_10327.jpg', '/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_46_9430.jpg', '/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_57_10332.jpg', '/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_17_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/05/image_20022025_07_06_07_10327.jpg
/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_17_10334.jpg
/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_37_10327.jpg
/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_46_9430.jpg
/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_57_10332.jpg
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_17_9377.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4672410488128662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 16:31:42.244972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/05/image_20022025_07_06_07_10327.jpg', '/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_17_10334.jpg', '/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_37_10327.jpg', '/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_46_9430.jpg', '/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_57_10332.jpg', '/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_17_9377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/05/image_20022025_07_06_07_10327.jpg
/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_17_10334.jpg
/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_37_10327.jpg
/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_46_9430.jpg
/home/pi/Desktop/images/20022025/07/06/image_20022025_07_06_57_10332.jpg
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_17_9377.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":["1338625171","1338625179","1338625182","1338625181","1338625184","1338625175"],"photo_ids_order":["1338625171","1338625175","1338625179","1338625181","1338625182","1338625184"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3db209ac46d168d471d79d2ef357143f.jpg","text":"TemporaryFile(/tmp/multipartBody183707049116885952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065562756,"filename":"image_20022025_07_06_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3463ed5c744a93c51aef01fc194a52d9.jpg","text":"TemporaryFile(/tmp/multipartBody2053275812798302805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065562756,"filename":"image_20022025_07_06_37_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de37bb027e480406ebe33485dc714f30.jpg","text":"TemporaryFile(/tmp/multipartBody7461840426401663076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065562756,"filename":"image_20022025_07_06_57_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/79ab5d75f3a2de867e288d8390671b8a.jpg","text":"TemporaryFile(/tmp/multipartBody8196322094539599605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065562756,"filename":"image_20022025_07_06_46_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed0c9dc546511bac466c3bbe7f1fab98.jpg","text":"TemporaryFile(/tmp/multipartBody8015922229706235854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065562756,"filename":"image_20022025_07_07_17_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4eb9f47364c0119790cab4268112ea9.jpg","text":"TemporaryFile(/tmp/multipartBody9153256610926083917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065562756,"filename":"image_20022025_07_06_17_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338625179","file1":"1338625175","file0":"1338625171","file4":"1338625182","file5":"1338625184","file3":"1338625181"},"map_files_photo_id_array":[{"photo_id":"1338625184","filename":"file5"},{"photo_id":"1338625179","filename":"file2"},{"photo_id":"1338625182","filename":"file4"},{"photo_id":"1338625175","filename":"file1"},{"photo_id":"1338625171","filename":"file0"},{"photo_id":"1338625181","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625171":["hashtag1","hashtag2"]},{"1338625179":["hashtag1","hashtag2"]},{"1338625182":["hashtag1","hashtag2"]},{"1338625181":["hashtag1","hashtag2"]},{"1338625184":["hashtag1","hashtag2"]},{"1338625175":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625171, 1338625179, 1338625182, 1338625181, 1338625184, 1338625175)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05109715461731 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:32:32.431888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_37_10337.jpg', '/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_47_9343.jpg', '/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_57_10340.jpg', '/home/pi/Desktop/images/20022025/07/07/image_20022025_07_08_06_9366.jpg', '/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_17_10401.jpg', '/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_47_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_37_10337.jpg
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_47_9343.jpg
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_57_10340.jpg
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_08_06_9366.jpg
/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_17_10401.jpg
/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_47_10353.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4628877639770508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 16:32:42.462684
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_37_10337.jpg', '/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_47_9343.jpg', '/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_57_10340.jpg', '/home/pi/Desktop/images/20022025/07/07/image_20022025_07_08_06_9366.jpg', '/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_17_10401.jpg', '/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_47_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_37_10337.jpg
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_47_9343.jpg
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_07_57_10340.jpg
/home/pi/Desktop/images/20022025/07/07/image_20022025_07_08_06_9366.jpg
/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_17_10401.jpg
/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_47_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338625229","1338625231","1338625221","1338625224","1338625232","1338625226"],"photo_ids_order":["1338625221","1338625224","1338625226","1338625229","1338625231","1338625232"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13955b67e2a640d93e73586024bfdc2d.jpg","text":"TemporaryFile(/tmp/multipartBody7089452106978835427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065622954,"filename":"image_20022025_07_08_06_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f39e9d95e48d0ed21c9001b840530d6.jpg","text":"TemporaryFile(/tmp/multipartBody4552138801476619047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065622954,"filename":"image_20022025_07_08_17_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/673de66413fb9b1a88552d58f83e0d8b.jpg","text":"TemporaryFile(/tmp/multipartBody1224171099346963152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065622954,"filename":"image_20022025_07_07_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3032116c130a6604dff40bfa377c5d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7141370417845498998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065622954,"filename":"image_20022025_07_07_47_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09270c54f51713da5d205d304842f47c.jpg","text":"TemporaryFile(/tmp/multipartBody2775568425771296229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065622954,"filename":"image_20022025_07_08_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c5536f940b9bc7d30dcbf7cb3b27d01f.jpg","text":"TemporaryFile(/tmp/multipartBody3705056831273044009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065622954,"filename":"image_20022025_07_07_57_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338625226","file1":"1338625224","file0":"1338625221","file4":"1338625231","file5":"1338625232","file3":"1338625229"},"map_files_photo_id_array":[{"photo_id":"1338625232","filename":"file5"},{"photo_id":"1338625226","filename":"file2"},{"photo_id":"1338625231","filename":"file4"},{"photo_id":"1338625224","filename":"file1"},{"photo_id":"1338625221","filename":"file0"},{"photo_id":"1338625229","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625229":["hashtag1","hashtag2"]},{"1338625231":["hashtag1","hashtag2"]},{"1338625221":["hashtag1","hashtag2"]},{"1338625224":["hashtag1","hashtag2"]},{"1338625232":["hashtag1","hashtag2"]},{"1338625226":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625229, 1338625231, 1338625221, 1338625224, 1338625232, 1338625226)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.443260669708252 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:33:32.686548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_56_9403.jpg', '/home/pi/Desktop/images/20022025/07/08/image_20022025_07_09_07_10439.jpg', '/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_17_10335.jpg', '/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_37_10335.jpg', '/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_46_9420.jpg', '/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_57_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_56_9403.jpg
/home/pi/Desktop/images/20022025/07/08/image_20022025_07_09_07_10439.jpg
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_17_10335.jpg
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_37_10335.jpg
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_46_9420.jpg
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_57_10334.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4704000949859619 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 16:33:42.621331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_56_9403.jpg', '/home/pi/Desktop/images/20022025/07/08/image_20022025_07_09_07_10439.jpg', '/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_17_10335.jpg', '/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_37_10335.jpg', '/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_46_9420.jpg', '/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_57_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/08/image_20022025_07_08_56_9403.jpg
/home/pi/Desktop/images/20022025/07/08/image_20022025_07_09_07_10439.jpg
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_17_10335.jpg
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_37_10335.jpg
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_46_9420.jpg
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_09_57_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338625267","1338625276","1338625279","1338625277","1338625271","1338625274"],"photo_ids_order":["1338625267","1338625271","1338625274","1338625276","1338625277","1338625279"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb85011aa1bf9cd940f3e0a78c19c862.jpg","text":"TemporaryFile(/tmp/multipartBody1450527558888117497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065683127,"filename":"image_20022025_07_08_56_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12891b20920f35a19483cd579dd0815d.jpg","text":"TemporaryFile(/tmp/multipartBody878831727418271253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065683127,"filename":"image_20022025_07_09_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a51af784e52fb9176e227069762ae86.jpg","text":"TemporaryFile(/tmp/multipartBody4782291670039570862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065683127,"filename":"image_20022025_07_09_57_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f56d28460fab477cdab38d09f363b5f.jpg","text":"TemporaryFile(/tmp/multipartBody9195750503218137203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065683127,"filename":"image_20022025_07_09_46_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea23899331a7cd980848a69efa563f54.jpg","text":"TemporaryFile(/tmp/multipartBody7837325223815183298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065683127,"filename":"image_20022025_07_09_07_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8d4f65db9ec5343e4310e6635af1c30f.jpg","text":"TemporaryFile(/tmp/multipartBody8143585937405256770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065683127,"filename":"image_20022025_07_09_17_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338625274","file1":"1338625271","file0":"1338625267","file4":"1338625277","file5":"1338625279","file3":"1338625276"},"map_files_photo_id_array":[{"photo_id":"1338625279","filename":"file5"},{"photo_id":"1338625274","filename":"file2"},{"photo_id":"1338625277","filename":"file4"},{"photo_id":"1338625271","filename":"file1"},{"photo_id":"1338625267","filename":"file0"},{"photo_id":"1338625276","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625267":["hashtag1","hashtag2"]},{"1338625276":["hashtag1","hashtag2"]},{"1338625279":["hashtag1","hashtag2"]},{"1338625277":["hashtag1","hashtag2"]},{"1338625271":["hashtag1","hashtag2"]},{"1338625274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625267, 1338625276, 1338625279, 1338625277, 1338625271, 1338625274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53375744819641 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:34:32.890456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/09/image_20022025_07_10_07_10336.jpg', '/home/pi/Desktop/images/20022025/07/10/image_20022025_07_10_16_9332.jpg', '/home/pi/Desktop/images/20022025/07/10/image_20022025_07_11_07_10340.jpg', '/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_17_9459.jpg', '/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_27_10349.jpg', '/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_37_9459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/09/image_20022025_07_10_07_10336.jpg
/home/pi/Desktop/images/20022025/07/10/image_20022025_07_10_16_9332.jpg
/home/pi/Desktop/images/20022025/07/10/image_20022025_07_11_07_10340.jpg
/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_17_9459.jpg
/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_27_10349.jpg
/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_37_9459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338625322","1338625316","1338625324","1338625318","1338625320","1338625314"],"photo_ids_order":["1338625314","1338625316","1338625318","1338625320","1338625322","1338625324"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d9e0e1edf8f4c718c57a17739860a2b.jpg","text":"TemporaryFile(/tmp/multipartBody6476388504043586611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065733475,"filename":"image_20022025_07_11_27_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/038084813040e385861a0131584db12b.jpg","text":"TemporaryFile(/tmp/multipartBody3151893447543353319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065733475,"filename":"image_20022025_07_10_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d595d32d24e49b213824457bd6c8d5a.jpg","text":"TemporaryFile(/tmp/multipartBody8168614181627361664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065733475,"filename":"image_20022025_07_11_37_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2844c4c38fcc4a04c8fa18cb915dec98.jpg","text":"TemporaryFile(/tmp/multipartBody3666740504210038678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065733475,"filename":"image_20022025_07_11_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6466a47093b8eabf642c32f18840dc03.jpg","text":"TemporaryFile(/tmp/multipartBody3842628626514142636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065733475,"filename":"image_20022025_07_11_17_9459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65146f8c8d478017c877e8f8dc7742c7.jpg","text":"TemporaryFile(/tmp/multipartBody3652949908302279929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065733475,"filename":"image_20022025_07_10_07_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338625318","file1":"1338625316","file0":"1338625314","file4":"1338625322","file5":"1338625324","file3":"1338625320"},"map_files_photo_id_array":[{"photo_id":"1338625324","filename":"file5"},{"photo_id":"1338625318","filename":"file2"},{"photo_id":"1338625322","filename":"file4"},{"photo_id":"1338625316","filename":"file1"},{"photo_id":"1338625314","filename":"file0"},{"photo_id":"1338625320","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625322":["hashtag1","hashtag2"]},{"1338625316":["hashtag1","hashtag2"]},{"1338625324":["hashtag1","hashtag2"]},{"1338625318":["hashtag1","hashtag2"]},{"1338625320":["hashtag1","hashtag2"]},{"1338625314":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625322, 1338625316, 1338625324, 1338625318, 1338625320, 1338625314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.375550985336304 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:35:33.153002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_47_10361.jpg', '/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_57_10349.jpg', '/home/pi/Desktop/images/20022025/07/12/image_20022025_07_12_17_10381.jpg', '/home/pi/Desktop/images/20022025/07/12/image_20022025_07_12_26_9342.jpg', '/home/pi/Desktop/images/20022025/07/12/image_20022025_07_12_47_10345.jpg', '/home/pi/Desktop/images/20022025/07/12/image_20022025_07_12_56_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_47_10361.jpg
/home/pi/Desktop/images/20022025/07/11/image_20022025_07_11_57_10349.jpg
/home/pi/Desktop/images/20022025/07/12/image_20022025_07_12_17_10381.jpg
/home/pi/Desktop/images/20022025/07/12/image_20022025_07_12_26_9342.jpg
/home/pi/Desktop/images/20022025/07/12/image_20022025_07_12_47_10345.jpg
/home/pi/Desktop/images/20022025/07/12/image_20022025_07_12_56_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338625369","1338625371","1338625365","1338625364","1338625373","1338625367"],"photo_ids_order":["1338625364","1338625365","1338625367","1338625369","1338625371","1338625373"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2908c51737bef40bea1e08cb93766f9.jpg","text":"TemporaryFile(/tmp/multipartBody709047717530137350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065793709,"filename":"image_20022025_07_12_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d909d9c914c19e90f31cdaef3a22d10a.jpg","text":"TemporaryFile(/tmp/multipartBody1597535208441686443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065793709,"filename":"image_20022025_07_12_47_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa29d6f2ac95dff3d4bbb312049c4331.jpg","text":"TemporaryFile(/tmp/multipartBody368487463369364842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065793709,"filename":"image_20022025_07_11_57_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f73378997667fd05e4280960f3f68ea.jpg","text":"TemporaryFile(/tmp/multipartBody8297748371109276871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065793709,"filename":"image_20022025_07_11_47_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c44ab272a1d4f7116c6966254dacc4c1.jpg","text":"TemporaryFile(/tmp/multipartBody7763546708110894827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065793709,"filename":"image_20022025_07_12_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01dc2a28040eeb65a110281eefa383de.jpg","text":"TemporaryFile(/tmp/multipartBody5914024430252267008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065793709,"filename":"image_20022025_07_12_17_10381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338625367","file1":"1338625365","file0":"1338625364","file4":"1338625371","file5":"1338625373","file3":"1338625369"},"map_files_photo_id_array":[{"photo_id":"1338625373","filename":"file5"},{"photo_id":"1338625367","filename":"file2"},{"photo_id":"1338625371","filename":"file4"},{"photo_id":"1338625365","filename":"file1"},{"photo_id":"1338625364","filename":"file0"},{"photo_id":"1338625369","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625369":["hashtag1","hashtag2"]},{"1338625371":["hashtag1","hashtag2"]},{"1338625365":["hashtag1","hashtag2"]},{"1338625364":["hashtag1","hashtag2"]},{"1338625373":["hashtag1","hashtag2"]},{"1338625367":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625369, 1338625371, 1338625365, 1338625364, 1338625373, 1338625367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.001282453536987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:36:32.275799
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/12/image_20022025_07_13_07_10405.jpg', '/home/pi/Desktop/images/20022025/07/13/image_20022025_07_13_17_10398.jpg', '/home/pi/Desktop/images/20022025/07/13/image_20022025_07_13_27_9356.jpg', '/home/pi/Desktop/images/20022025/07/13/image_20022025_07_13_37_10339.jpg', '/home/pi/Desktop/images/20022025/07/13/image_20022025_07_13_57_9342.jpg', '/home/pi/Desktop/images/20022025/07/14/image_20022025_07_14_17_10327.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/12/image_20022025_07_13_07_10405.jpg
/home/pi/Desktop/images/20022025/07/13/image_20022025_07_13_17_10398.jpg
/home/pi/Desktop/images/20022025/07/13/image_20022025_07_13_27_9356.jpg
/home/pi/Desktop/images/20022025/07/13/image_20022025_07_13_37_10339.jpg
/home/pi/Desktop/images/20022025/07/13/image_20022025_07_13_57_9342.jpg
/home/pi/Desktop/images/20022025/07/14/image_20022025_07_14_17_10327.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338625631","1338625675","1338625593","1338625596","1338625599","1338625616"],"photo_ids_order":["1338625593","1338625596","1338625599","1338625616","1338625631","1338625675"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20400069f74732c451a903bce3b833a7.jpg","text":"TemporaryFile(/tmp/multipartBody1083195224030799995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065852851,"filename":"image_20022025_07_13_57_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a48c79f4b739d15f113ebae9c60b820d.jpg","text":"TemporaryFile(/tmp/multipartBody7223507666044646401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065852851,"filename":"image_20022025_07_14_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/105b9119da2de020751e4faeb1a3faf5.jpg","text":"TemporaryFile(/tmp/multipartBody6357374150951438577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065852851,"filename":"image_20022025_07_13_07_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c64ae731d18c892c7d2a2142af2237e0.jpg","text":"TemporaryFile(/tmp/multipartBody5536843075675444223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065852851,"filename":"image_20022025_07_13_17_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/165c2cef2340111e1ae0d9073422607d.jpg","text":"TemporaryFile(/tmp/multipartBody5067733242663066037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065852851,"filename":"image_20022025_07_13_27_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f3f4ece1c8e351802368ca4d4389457.jpg","text":"TemporaryFile(/tmp/multipartBody2574894523157750854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065852851,"filename":"image_20022025_07_13_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338625599","file1":"1338625596","file0":"1338625593","file4":"1338625631","file5":"1338625675","file3":"1338625616"},"map_files_photo_id_array":[{"photo_id":"1338625675","filename":"file5"},{"photo_id":"1338625599","filename":"file2"},{"photo_id":"1338625631","filename":"file4"},{"photo_id":"1338625596","filename":"file1"},{"photo_id":"1338625593","filename":"file0"},{"photo_id":"1338625616","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625631":["hashtag1","hashtag2"]},{"1338625675":["hashtag1","hashtag2"]},{"1338625593":["hashtag1","hashtag2"]},{"1338625596":["hashtag1","hashtag2"]},{"1338625599":["hashtag1","hashtag2"]},{"1338625616":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625631, 1338625675, 1338625593, 1338625596, 1338625599, 1338625616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.21992492675781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:37:32.470088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/14/image_20022025_07_14_37_10364.jpg', '/home/pi/Desktop/images/20022025/07/14/image_20022025_07_14_47_10340.jpg', '/home/pi/Desktop/images/20022025/07/14/image_20022025_07_14_57_9422.jpg', '/home/pi/Desktop/images/20022025/07/15/image_20022025_07_15_16_9333.jpg', '/home/pi/Desktop/images/20022025/07/15/image_20022025_07_15_27_10351.jpg', '/home/pi/Desktop/images/20022025/07/15/image_20022025_07_15_46_9411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/14/image_20022025_07_14_37_10364.jpg
/home/pi/Desktop/images/20022025/07/14/image_20022025_07_14_47_10340.jpg
/home/pi/Desktop/images/20022025/07/14/image_20022025_07_14_57_9422.jpg
/home/pi/Desktop/images/20022025/07/15/image_20022025_07_15_16_9333.jpg
/home/pi/Desktop/images/20022025/07/15/image_20022025_07_15_27_10351.jpg
/home/pi/Desktop/images/20022025/07/15/image_20022025_07_15_46_9411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338625768","1338625767","1338625761","1338625770","1338625752","1338625772"],"photo_ids_order":["1338625752","1338625761","1338625767","1338625768","1338625770","1338625772"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c56f0bd342d7e02563a142cbe6034db.jpg","text":"TemporaryFile(/tmp/multipartBody3567152539978036101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065913045,"filename":"image_20022025_07_15_16_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28c7d078281a09abf99729221c131121.jpg","text":"TemporaryFile(/tmp/multipartBody8320649400832650852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065913045,"filename":"image_20022025_07_14_57_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fac841fe3e430c3806120e0c83328455.jpg","text":"TemporaryFile(/tmp/multipartBody6798871769009165656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065913045,"filename":"image_20022025_07_14_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/094a028f2a4cc8abcc9c64ef4e85a518.jpg","text":"TemporaryFile(/tmp/multipartBody5572157292161042650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065913045,"filename":"image_20022025_07_15_27_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26edbc1e5de6820f3d4e4e93940a9dfd.jpg","text":"TemporaryFile(/tmp/multipartBody3819454601200158703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065913045,"filename":"image_20022025_07_14_37_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e2d31195b65bc6410ea5a25ac2a2f716.jpg","text":"TemporaryFile(/tmp/multipartBody5265768253481895221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065913045,"filename":"image_20022025_07_15_46_9411.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338625767","file1":"1338625761","file0":"1338625752","file4":"1338625770","file5":"1338625772","file3":"1338625768"},"map_files_photo_id_array":[{"photo_id":"1338625772","filename":"file5"},{"photo_id":"1338625767","filename":"file2"},{"photo_id":"1338625770","filename":"file4"},{"photo_id":"1338625761","filename":"file1"},{"photo_id":"1338625752","filename":"file0"},{"photo_id":"1338625768","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625768":["hashtag1","hashtag2"]},{"1338625767":["hashtag1","hashtag2"]},{"1338625761":["hashtag1","hashtag2"]},{"1338625770":["hashtag1","hashtag2"]},{"1338625752":["hashtag1","hashtag2"]},{"1338625772":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625768, 1338625767, 1338625761, 1338625770, 1338625752, 1338625772)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.410481452941895 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:38:32.690710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/15/image_20022025_07_15_57_10389.jpg', '/home/pi/Desktop/images/20022025/07/16/image_20022025_07_16_47_9381.jpg', '/home/pi/Desktop/images/20022025/07/16/image_20022025_07_17_07_10328.jpg', '/home/pi/Desktop/images/20022025/07/17/image_20022025_07_17_17_9441.jpg', '/home/pi/Desktop/images/20022025/07/17/image_20022025_07_17_27_10350.jpg', '/home/pi/Desktop/images/20022025/07/17/image_20022025_07_18_06_9316.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/15/image_20022025_07_15_57_10389.jpg
/home/pi/Desktop/images/20022025/07/16/image_20022025_07_16_47_9381.jpg
/home/pi/Desktop/images/20022025/07/16/image_20022025_07_17_07_10328.jpg
/home/pi/Desktop/images/20022025/07/17/image_20022025_07_17_17_9441.jpg
/home/pi/Desktop/images/20022025/07/17/image_20022025_07_17_27_10350.jpg
/home/pi/Desktop/images/20022025/07/17/image_20022025_07_18_06_9316.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338625910","1338625894","1338625897","1338625876","1338625885","1338625834"],"photo_ids_order":["1338625834","1338625876","1338625885","1338625894","1338625897","1338625910"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/186747a34871617223450205c85b9ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2759306310481836089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065973263,"filename":"image_20022025_07_18_06_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7a07f6250840fb84b989bde234b9678.jpg","text":"TemporaryFile(/tmp/multipartBody5552185215570565542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065973263,"filename":"image_20022025_07_17_17_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2bff7303b80d65dc18fa9686d62267f.jpg","text":"TemporaryFile(/tmp/multipartBody6057498768186628468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065973263,"filename":"image_20022025_07_17_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a14cffb3f418e3704375ebf5efa9825.jpg","text":"TemporaryFile(/tmp/multipartBody7142638972172214408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065973263,"filename":"image_20022025_07_16_47_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/86278c5f864d296ab5509699428a5346.jpg","text":"TemporaryFile(/tmp/multipartBody1262721655248089548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065973263,"filename":"image_20022025_07_17_07_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e8d1015cad47763acde1c0c85d5a89a8.jpg","text":"TemporaryFile(/tmp/multipartBody7250249428777559603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740065973263,"filename":"image_20022025_07_15_57_10389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338625885","file1":"1338625876","file0":"1338625834","file4":"1338625897","file5":"1338625910","file3":"1338625894"},"map_files_photo_id_array":[{"photo_id":"1338625910","filename":"file5"},{"photo_id":"1338625885","filename":"file2"},{"photo_id":"1338625897","filename":"file4"},{"photo_id":"1338625876","filename":"file1"},{"photo_id":"1338625834","filename":"file0"},{"photo_id":"1338625894","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338625910":["hashtag1","hashtag2"]},{"1338625894":["hashtag1","hashtag2"]},{"1338625897":["hashtag1","hashtag2"]},{"1338625876":["hashtag1","hashtag2"]},{"1338625885":["hashtag1","hashtag2"]},{"1338625834":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338625910, 1338625894, 1338625897, 1338625876, 1338625885, 1338625834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.637993574142456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:39:32.812745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/18/image_20022025_07_18_17_10333.jpg', '/home/pi/Desktop/images/20022025/07/18/image_20022025_07_18_27_10350.jpg', '/home/pi/Desktop/images/20022025/07/18/image_20022025_07_18_37_9397.jpg', '/home/pi/Desktop/images/20022025/07/19/image_20022025_07_19_37_9333.jpg', '/home/pi/Desktop/images/20022025/07/19/image_20022025_07_19_47_10357.jpg', '/home/pi/Desktop/images/20022025/07/20/image_20022025_07_20_17_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/18/image_20022025_07_18_17_10333.jpg
/home/pi/Desktop/images/20022025/07/18/image_20022025_07_18_27_10350.jpg
/home/pi/Desktop/images/20022025/07/18/image_20022025_07_18_37_9397.jpg
/home/pi/Desktop/images/20022025/07/19/image_20022025_07_19_37_9333.jpg
/home/pi/Desktop/images/20022025/07/19/image_20022025_07_19_47_10357.jpg
/home/pi/Desktop/images/20022025/07/20/image_20022025_07_20_17_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626077","1338626101","1338626096","1338626075","1338626072","1338626102"],"photo_ids_order":["1338626072","1338626075","1338626077","1338626096","1338626101","1338626102"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dbb52df500be9b026b389386ea6517c6.jpg","text":"TemporaryFile(/tmp/multipartBody1502421542613281706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066033402,"filename":"image_20022025_07_18_37_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/196b6c66aca5d94b903226f95883fd7d.jpg","text":"TemporaryFile(/tmp/multipartBody1823169916285203972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066033402,"filename":"image_20022025_07_19_47_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aba5e68c3070d677a226c5e3eee19d28.jpg","text":"TemporaryFile(/tmp/multipartBody3273492310741079400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066033402,"filename":"image_20022025_07_19_37_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3847805d3103adb373dfeca1ee2b099c.jpg","text":"TemporaryFile(/tmp/multipartBody6663149865883595637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066033402,"filename":"image_20022025_07_18_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e4e55e5b85473e8cabc17a505daffd91.jpg","text":"TemporaryFile(/tmp/multipartBody4187675426971133780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066033402,"filename":"image_20022025_07_18_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1124adf3c6dfbc8641cbbf4a23e86492.jpg","text":"TemporaryFile(/tmp/multipartBody5841777346283620821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066033402,"filename":"image_20022025_07_20_17_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626077","file1":"1338626075","file0":"1338626072","file4":"1338626101","file5":"1338626102","file3":"1338626096"},"map_files_photo_id_array":[{"photo_id":"1338626102","filename":"file5"},{"photo_id":"1338626077","filename":"file2"},{"photo_id":"1338626101","filename":"file4"},{"photo_id":"1338626075","filename":"file1"},{"photo_id":"1338626072","filename":"file0"},{"photo_id":"1338626096","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626077":["hashtag1","hashtag2"]},{"1338626101":["hashtag1","hashtag2"]},{"1338626096":["hashtag1","hashtag2"]},{"1338626075":["hashtag1","hashtag2"]},{"1338626072":["hashtag1","hashtag2"]},{"1338626102":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626077, 1338626101, 1338626096, 1338626075, 1338626072, 1338626102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44640064239502 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:40:33.061321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/20/image_20022025_07_20_27_10345.jpg', '/home/pi/Desktop/images/20022025/07/21/image_20022025_07_21_16_9455.jpg', '/home/pi/Desktop/images/20022025/07/21/image_20022025_07_21_37_10340.jpg', '/home/pi/Desktop/images/20022025/07/21/image_20022025_07_21_57_10340.jpg', '/home/pi/Desktop/images/20022025/07/21/image_20022025_07_22_07_9840.jpg', '/home/pi/Desktop/images/20022025/07/22/image_20022025_07_22_17_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/20/image_20022025_07_20_27_10345.jpg
/home/pi/Desktop/images/20022025/07/21/image_20022025_07_21_16_9455.jpg
/home/pi/Desktop/images/20022025/07/21/image_20022025_07_21_37_10340.jpg
/home/pi/Desktop/images/20022025/07/21/image_20022025_07_21_57_10340.jpg
/home/pi/Desktop/images/20022025/07/21/image_20022025_07_22_07_9840.jpg
/home/pi/Desktop/images/20022025/07/22/image_20022025_07_22_17_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626137","1338626122","1338626131","1338626125","1338626128","1338626115"],"photo_ids_order":["1338626115","1338626122","1338626125","1338626128","1338626131","1338626137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b5154f5462fda91361dc87da51f01b65.jpg","text":"TemporaryFile(/tmp/multipartBody2370538098778976210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066093649,"filename":"image_20022025_07_22_17_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e81bb823f54c9623daa31dce205eb90e.jpg","text":"TemporaryFile(/tmp/multipartBody7873743285919444119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066093649,"filename":"image_20022025_07_21_16_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ebe5d3fe1ac30b3a66d6a2b297cf339.jpg","text":"TemporaryFile(/tmp/multipartBody4167763468108721158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066093649,"filename":"image_20022025_07_22_07_9840.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04b022722f24408dad871117f9712aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2530250928539713184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066093649,"filename":"image_20022025_07_21_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5a43be7dfb210256f109bf7a4918fe3.jpg","text":"TemporaryFile(/tmp/multipartBody981450840322785883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066093649,"filename":"image_20022025_07_21_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c22be3e57996fc469ed8fc55fc1b1486.jpg","text":"TemporaryFile(/tmp/multipartBody4597264878936500587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066093649,"filename":"image_20022025_07_20_27_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626125","file1":"1338626122","file0":"1338626115","file4":"1338626131","file5":"1338626137","file3":"1338626128"},"map_files_photo_id_array":[{"photo_id":"1338626137","filename":"file5"},{"photo_id":"1338626125","filename":"file2"},{"photo_id":"1338626131","filename":"file4"},{"photo_id":"1338626122","filename":"file1"},{"photo_id":"1338626115","filename":"file0"},{"photo_id":"1338626128","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626137":["hashtag1","hashtag2"]},{"1338626122":["hashtag1","hashtag2"]},{"1338626131":["hashtag1","hashtag2"]},{"1338626125":["hashtag1","hashtag2"]},{"1338626128":["hashtag1","hashtag2"]},{"1338626115":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626137, 1338626122, 1338626131, 1338626125, 1338626128, 1338626115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96097779273987 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:41:32.259082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/22/image_20022025_07_22_26_9399.jpg', '/home/pi/Desktop/images/20022025/07/22/image_20022025_07_22_37_10367.jpg', '/home/pi/Desktop/images/20022025/07/22/image_20022025_07_22_47_10355.jpg', '/home/pi/Desktop/images/20022025/07/23/image_20022025_07_23_27_10431.jpg', '/home/pi/Desktop/images/20022025/07/23/image_20022025_07_23_37_10345.jpg', '/home/pi/Desktop/images/20022025/07/23/image_20022025_07_23_47_9456.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/22/image_20022025_07_22_26_9399.jpg
/home/pi/Desktop/images/20022025/07/22/image_20022025_07_22_37_10367.jpg
/home/pi/Desktop/images/20022025/07/22/image_20022025_07_22_47_10355.jpg
/home/pi/Desktop/images/20022025/07/23/image_20022025_07_23_27_10431.jpg
/home/pi/Desktop/images/20022025/07/23/image_20022025_07_23_37_10345.jpg
/home/pi/Desktop/images/20022025/07/23/image_20022025_07_23_47_9456.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626176","1338626184","1338626187","1338626169","1338626189","1338626180"],"photo_ids_order":["1338626169","1338626176","1338626180","1338626184","1338626187","1338626189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/851fdfe68dd2aaacbf3aae2156c4ee2a.jpg","text":"TemporaryFile(/tmp/multipartBody7436155478587113547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066152813,"filename":"image_20022025_07_22_37_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10a43ae0ce401d32432f257449558074.jpg","text":"TemporaryFile(/tmp/multipartBody7802454329081514615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066152813,"filename":"image_20022025_07_23_27_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2593a21ecab7e8ef267e483e35a550b6.jpg","text":"TemporaryFile(/tmp/multipartBody463251788172681645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066152813,"filename":"image_20022025_07_23_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5d35c824b69002b369ecd1ef0c9227d.jpg","text":"TemporaryFile(/tmp/multipartBody5029146851166046141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066152813,"filename":"image_20022025_07_22_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76bdbba7cdd7be7c83c75bb343b851da.jpg","text":"TemporaryFile(/tmp/multipartBody6830330729880846808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066152813,"filename":"image_20022025_07_23_47_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/143d33b7f0675713657dc15fba120496.jpg","text":"TemporaryFile(/tmp/multipartBody3491550355173981392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066152813,"filename":"image_20022025_07_22_47_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626180","file1":"1338626176","file0":"1338626169","file4":"1338626187","file5":"1338626189","file3":"1338626184"},"map_files_photo_id_array":[{"photo_id":"1338626189","filename":"file5"},{"photo_id":"1338626180","filename":"file2"},{"photo_id":"1338626187","filename":"file4"},{"photo_id":"1338626176","filename":"file1"},{"photo_id":"1338626169","filename":"file0"},{"photo_id":"1338626184","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626176":["hashtag1","hashtag2"]},{"1338626184":["hashtag1","hashtag2"]},{"1338626187":["hashtag1","hashtag2"]},{"1338626169":["hashtag1","hashtag2"]},{"1338626189":["hashtag1","hashtag2"]},{"1338626180":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626176, 1338626184, 1338626187, 1338626169, 1338626189, 1338626180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.409746170043945 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:42:32.550448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/23/image_20022025_07_23_57_10393.jpg', '/home/pi/Desktop/images/20022025/07/23/image_20022025_07_24_07_10323.jpg', '/home/pi/Desktop/images/20022025/07/24/image_20022025_07_24_27_10426.jpg', '/home/pi/Desktop/images/20022025/07/25/image_20022025_07_25_37_9411.jpg', '/home/pi/Desktop/images/20022025/07/25/image_20022025_07_25_47_10360.jpg', '/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_17_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/23/image_20022025_07_23_57_10393.jpg
/home/pi/Desktop/images/20022025/07/23/image_20022025_07_24_07_10323.jpg
/home/pi/Desktop/images/20022025/07/24/image_20022025_07_24_27_10426.jpg
/home/pi/Desktop/images/20022025/07/25/image_20022025_07_25_37_9411.jpg
/home/pi/Desktop/images/20022025/07/25/image_20022025_07_25_47_10360.jpg
/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_17_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626218","1338626214","1338626208","1338626211","1338626213","1338626216"],"photo_ids_order":["1338626208","1338626211","1338626213","1338626214","1338626216","1338626218"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e7c6678a648ff57dc5ae4c01554db5c.jpg","text":"TemporaryFile(/tmp/multipartBody7057906752742272917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066213124,"filename":"image_20022025_07_26_17_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95e438b62b65bab80ca2682d4c53dd5a.jpg","text":"TemporaryFile(/tmp/multipartBody5297604983496744258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066213124,"filename":"image_20022025_07_25_37_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eecc355b51142f789bf178e8cbef3ac5.jpg","text":"TemporaryFile(/tmp/multipartBody3094813272486287453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066213124,"filename":"image_20022025_07_23_57_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25ad07514deada171ef9cbb515f4adc6.jpg","text":"TemporaryFile(/tmp/multipartBody8341472721326502961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066213124,"filename":"image_20022025_07_24_07_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ec7be0b58ecc7792836115373672bb2.jpg","text":"TemporaryFile(/tmp/multipartBody3319980184563319756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066213124,"filename":"image_20022025_07_24_27_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2bb2d93c0eda2374cc698119175fe1e2.jpg","text":"TemporaryFile(/tmp/multipartBody7686294006895911451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066213124,"filename":"image_20022025_07_25_47_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626213","file1":"1338626211","file0":"1338626208","file4":"1338626216","file5":"1338626218","file3":"1338626214"},"map_files_photo_id_array":[{"photo_id":"1338626218","filename":"file5"},{"photo_id":"1338626213","filename":"file2"},{"photo_id":"1338626216","filename":"file4"},{"photo_id":"1338626211","filename":"file1"},{"photo_id":"1338626208","filename":"file0"},{"photo_id":"1338626214","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626218":["hashtag1","hashtag2"]},{"1338626214":["hashtag1","hashtag2"]},{"1338626208":["hashtag1","hashtag2"]},{"1338626211":["hashtag1","hashtag2"]},{"1338626213":["hashtag1","hashtag2"]},{"1338626216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626218, 1338626214, 1338626208, 1338626211, 1338626213, 1338626216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.920432329177856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:43:32.654548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_27_9385.jpg', '/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_37_10334.jpg', '/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_46_9474.jpg', '/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_57_10348.jpg', '/home/pi/Desktop/images/20022025/07/27/image_20022025_07_27_17_9391.jpg', '/home/pi/Desktop/images/20022025/07/27/image_20022025_07_27_27_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_27_9385.jpg
/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_37_10334.jpg
/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_46_9474.jpg
/home/pi/Desktop/images/20022025/07/26/image_20022025_07_26_57_10348.jpg
/home/pi/Desktop/images/20022025/07/27/image_20022025_07_27_17_9391.jpg
/home/pi/Desktop/images/20022025/07/27/image_20022025_07_27_27_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626236","1338626250","1338626244","1338626253","1338626247","1338626256"],"photo_ids_order":["1338626236","1338626244","1338626247","1338626250","1338626253","1338626256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1a983c7231c4b6a94a875ad3f03c911.jpg","text":"TemporaryFile(/tmp/multipartBody263954858500931972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066273229,"filename":"image_20022025_07_26_27_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5fb4a769da6a1016ec63e6bde3890eea.jpg","text":"TemporaryFile(/tmp/multipartBody120103055340084076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066273229,"filename":"image_20022025_07_26_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/38516e2003b6022bae911939c4c66916.jpg","text":"TemporaryFile(/tmp/multipartBody7720610911942059874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066273229,"filename":"image_20022025_07_26_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea23807a43319bc40f4b0bb5059565be.jpg","text":"TemporaryFile(/tmp/multipartBody5088681194612973176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066273229,"filename":"image_20022025_07_27_17_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1134f7e46801dfb2a2e55b5aaedca40d.jpg","text":"TemporaryFile(/tmp/multipartBody3267851450548560477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066273229,"filename":"image_20022025_07_26_46_9474.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b7308e11511b34887854f95f0d6d3dd.jpg","text":"TemporaryFile(/tmp/multipartBody2160828587689593732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066273229,"filename":"image_20022025_07_27_27_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626247","file1":"1338626244","file0":"1338626236","file4":"1338626253","file5":"1338626256","file3":"1338626250"},"map_files_photo_id_array":[{"photo_id":"1338626256","filename":"file5"},{"photo_id":"1338626247","filename":"file2"},{"photo_id":"1338626253","filename":"file4"},{"photo_id":"1338626244","filename":"file1"},{"photo_id":"1338626236","filename":"file0"},{"photo_id":"1338626250","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626236":["hashtag1","hashtag2"]},{"1338626250":["hashtag1","hashtag2"]},{"1338626244":["hashtag1","hashtag2"]},{"1338626253":["hashtag1","hashtag2"]},{"1338626247":["hashtag1","hashtag2"]},{"1338626256":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626236, 1338626250, 1338626244, 1338626253, 1338626247, 1338626256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22022080421448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:44:32.833314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/27/image_20022025_07_27_36_9432.jpg', '/home/pi/Desktop/images/20022025/07/28/image_20022025_07_28_37_9430.jpg', '/home/pi/Desktop/images/20022025/07/28/image_20022025_07_28_47_10340.jpg', '/home/pi/Desktop/images/20022025/07/28/image_20022025_07_28_56_9411.jpg', '/home/pi/Desktop/images/20022025/07/29/image_20022025_07_29_17_10365.jpg', '/home/pi/Desktop/images/20022025/07/29/image_20022025_07_29_27_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/27/image_20022025_07_27_36_9432.jpg
/home/pi/Desktop/images/20022025/07/28/image_20022025_07_28_37_9430.jpg
/home/pi/Desktop/images/20022025/07/28/image_20022025_07_28_47_10340.jpg
/home/pi/Desktop/images/20022025/07/28/image_20022025_07_28_56_9411.jpg
/home/pi/Desktop/images/20022025/07/29/image_20022025_07_29_17_10365.jpg
/home/pi/Desktop/images/20022025/07/29/image_20022025_07_29_27_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626272","1338626281","1338626275","1338626279","1338626270","1338626284"],"photo_ids_order":["1338626270","1338626272","1338626275","1338626279","1338626281","1338626284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ce6ca851bbe37008c2735f687a00978.jpg","text":"TemporaryFile(/tmp/multipartBody1020337770157769443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066333390,"filename":"image_20022025_07_28_37_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa13eea14b7d7a6e029e6d2774f880dd.jpg","text":"TemporaryFile(/tmp/multipartBody3554313305522651984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066333390,"filename":"image_20022025_07_29_17_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59cdd8183f8a551745028df34c9e18ce.jpg","text":"TemporaryFile(/tmp/multipartBody4013143360073813937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066333390,"filename":"image_20022025_07_28_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8dea94e992a190a80ff8f73af1f69207.jpg","text":"TemporaryFile(/tmp/multipartBody5261813940080492775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066333390,"filename":"image_20022025_07_28_56_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4da481f1f506700cafedf5f2c13f20da.jpg","text":"TemporaryFile(/tmp/multipartBody1591988336837770230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066333390,"filename":"image_20022025_07_27_36_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92c894ff7979edcf76bb9d7807f88214.jpg","text":"TemporaryFile(/tmp/multipartBody7053648228325354167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066333390,"filename":"image_20022025_07_29_27_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626275","file1":"1338626272","file0":"1338626270","file4":"1338626281","file5":"1338626284","file3":"1338626279"},"map_files_photo_id_array":[{"photo_id":"1338626284","filename":"file5"},{"photo_id":"1338626275","filename":"file2"},{"photo_id":"1338626281","filename":"file4"},{"photo_id":"1338626272","filename":"file1"},{"photo_id":"1338626270","filename":"file0"},{"photo_id":"1338626279","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626272":["hashtag1","hashtag2"]},{"1338626281":["hashtag1","hashtag2"]},{"1338626275":["hashtag1","hashtag2"]},{"1338626279":["hashtag1","hashtag2"]},{"1338626270":["hashtag1","hashtag2"]},{"1338626284":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626272, 1338626281, 1338626275, 1338626279, 1338626270, 1338626284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.13675618171692 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:45:33.042105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/29/image_20022025_07_29_47_10407.jpg', '/home/pi/Desktop/images/20022025/07/30/image_20022025_07_30_17_10324.jpg', '/home/pi/Desktop/images/20022025/07/31/image_20022025_07_31_36_9430.jpg', '/home/pi/Desktop/images/20022025/07/31/image_20022025_07_31_47_10351.jpg', '/home/pi/Desktop/images/20022025/07/31/image_20022025_07_31_57_10331.jpg', '/home/pi/Desktop/images/20022025/07/31/image_20022025_07_32_07_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/29/image_20022025_07_29_47_10407.jpg
/home/pi/Desktop/images/20022025/07/30/image_20022025_07_30_17_10324.jpg
/home/pi/Desktop/images/20022025/07/31/image_20022025_07_31_36_9430.jpg
/home/pi/Desktop/images/20022025/07/31/image_20022025_07_31_47_10351.jpg
/home/pi/Desktop/images/20022025/07/31/image_20022025_07_31_57_10331.jpg
/home/pi/Desktop/images/20022025/07/31/image_20022025_07_32_07_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626323","1338626305","1338626319","1338626307","1338626321","1338626312"],"photo_ids_order":["1338626305","1338626307","1338626312","1338626319","1338626321","1338626323"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/33519a6e2cf51ccf40ffb3c3a2e2bf49.jpg","text":"TemporaryFile(/tmp/multipartBody1275421347544627484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066393617,"filename":"image_20022025_07_32_07_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34cfac19b7b333729d4e29ed674e1dc3.jpg","text":"TemporaryFile(/tmp/multipartBody6758402198894277535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066393617,"filename":"image_20022025_07_29_47_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a18875bbf0954a4360e28f990631a32f.jpg","text":"TemporaryFile(/tmp/multipartBody5875995464934888108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066393617,"filename":"image_20022025_07_31_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7bbbe30129c28a3632c8285135acfc50.jpg","text":"TemporaryFile(/tmp/multipartBody6651564107284376233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066393617,"filename":"image_20022025_07_30_17_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d913dee52988119d240e4b02e8d4dd6.jpg","text":"TemporaryFile(/tmp/multipartBody6421697797703387210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066393617,"filename":"image_20022025_07_31_57_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1d1e801748664ad3e3fb4c6439e6dbc3.jpg","text":"TemporaryFile(/tmp/multipartBody2986730081924703445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066393617,"filename":"image_20022025_07_31_36_9430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626312","file1":"1338626307","file0":"1338626305","file4":"1338626321","file5":"1338626323","file3":"1338626319"},"map_files_photo_id_array":[{"photo_id":"1338626323","filename":"file5"},{"photo_id":"1338626312","filename":"file2"},{"photo_id":"1338626321","filename":"file4"},{"photo_id":"1338626307","filename":"file1"},{"photo_id":"1338626305","filename":"file0"},{"photo_id":"1338626319","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626323":["hashtag1","hashtag2"]},{"1338626305":["hashtag1","hashtag2"]},{"1338626319":["hashtag1","hashtag2"]},{"1338626307":["hashtag1","hashtag2"]},{"1338626321":["hashtag1","hashtag2"]},{"1338626312":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626323, 1338626305, 1338626319, 1338626307, 1338626321, 1338626312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80362820625305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:46:33.112398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/32/image_20022025_07_32_17_10339.jpg', '/home/pi/Desktop/images/20022025/07/32/image_20022025_07_32_47_10353.jpg', '/home/pi/Desktop/images/20022025/07/32/image_20022025_07_33_07_9325.jpg', '/home/pi/Desktop/images/20022025/07/33/image_20022025_07_33_17_10334.jpg', '/home/pi/Desktop/images/20022025/07/33/image_20022025_07_33_37_9397.jpg', '/home/pi/Desktop/images/20022025/07/33/image_20022025_07_33_47_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/32/image_20022025_07_32_17_10339.jpg
/home/pi/Desktop/images/20022025/07/32/image_20022025_07_32_47_10353.jpg
/home/pi/Desktop/images/20022025/07/32/image_20022025_07_33_07_9325.jpg
/home/pi/Desktop/images/20022025/07/33/image_20022025_07_33_17_10334.jpg
/home/pi/Desktop/images/20022025/07/33/image_20022025_07_33_37_9397.jpg
/home/pi/Desktop/images/20022025/07/33/image_20022025_07_33_47_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626373","1338626376","1338626379","1338626369","1338626363","1338626377"],"photo_ids_order":["1338626363","1338626369","1338626373","1338626376","1338626377","1338626379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff929828f6968b21fa26226cc5907d79.jpg","text":"TemporaryFile(/tmp/multipartBody7253227590597197894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066453672,"filename":"image_20022025_07_33_07_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/649a4a6c481feca623861085f9c6ecae.jpg","text":"TemporaryFile(/tmp/multipartBody1067856273085070273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066453672,"filename":"image_20022025_07_33_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c991359178c4ad7c9c6fc88438bfe16.jpg","text":"TemporaryFile(/tmp/multipartBody6940357956213212154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066453672,"filename":"image_20022025_07_33_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/842f8ff97f9d888ac2850f3c0e6a315a.jpg","text":"TemporaryFile(/tmp/multipartBody3125716842443517534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066453672,"filename":"image_20022025_07_32_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b0e15e0f37eec2e2ac4a3c88c932d5f6.jpg","text":"TemporaryFile(/tmp/multipartBody8451717295083182903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066453672,"filename":"image_20022025_07_32_17_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e1d6bf82456b6ed6dac48833e7b9edb1.jpg","text":"TemporaryFile(/tmp/multipartBody5269202816908846531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066453672,"filename":"image_20022025_07_33_37_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626373","file1":"1338626369","file0":"1338626363","file4":"1338626377","file5":"1338626379","file3":"1338626376"},"map_files_photo_id_array":[{"photo_id":"1338626379","filename":"file5"},{"photo_id":"1338626373","filename":"file2"},{"photo_id":"1338626377","filename":"file4"},{"photo_id":"1338626369","filename":"file1"},{"photo_id":"1338626363","filename":"file0"},{"photo_id":"1338626376","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626373":["hashtag1","hashtag2"]},{"1338626376":["hashtag1","hashtag2"]},{"1338626379":["hashtag1","hashtag2"]},{"1338626369":["hashtag1","hashtag2"]},{"1338626363":["hashtag1","hashtag2"]},{"1338626377":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626373, 1338626376, 1338626379, 1338626369, 1338626363, 1338626377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78626227378845 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:47:32.247570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/33/image_20022025_07_33_57_9481.jpg', '/home/pi/Desktop/images/20022025/07/33/image_20022025_07_34_07_10318.jpg', '/home/pi/Desktop/images/20022025/07/34/image_20022025_07_34_57_9328.jpg', '/home/pi/Desktop/images/20022025/07/34/image_20022025_07_35_07_10338.jpg', '/home/pi/Desktop/images/20022025/07/35/image_20022025_07_35_17_10352.jpg', '/home/pi/Desktop/images/20022025/07/35/image_20022025_07_36_07_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/33/image_20022025_07_33_57_9481.jpg
/home/pi/Desktop/images/20022025/07/33/image_20022025_07_34_07_10318.jpg
/home/pi/Desktop/images/20022025/07/34/image_20022025_07_34_57_9328.jpg
/home/pi/Desktop/images/20022025/07/34/image_20022025_07_35_07_10338.jpg
/home/pi/Desktop/images/20022025/07/35/image_20022025_07_35_17_10352.jpg
/home/pi/Desktop/images/20022025/07/35/image_20022025_07_36_07_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338626749","1338626830","1338626667","1338627009","1338626505","1338626712"],"photo_ids_order":["1338626505","1338626667","1338626712","1338626749","1338626830","1338627009"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1732b9c34b1272a724cf0164f763f011.jpg","text":"TemporaryFile(/tmp/multipartBody4238727296149587894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066513043,"filename":"image_20022025_07_35_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8c0273955ce158848f6f0fec7b18449b.jpg","text":"TemporaryFile(/tmp/multipartBody5048226541635135498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066513043,"filename":"image_20022025_07_35_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7511210cbd9df13e8c0604e237aa99a.jpg","text":"TemporaryFile(/tmp/multipartBody3942039296619143304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066513043,"filename":"image_20022025_07_34_07_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/286d0f68db4b15638638e8b08c17f810.jpg","text":"TemporaryFile(/tmp/multipartBody916377510476246440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066513043,"filename":"image_20022025_07_36_07_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa807005b3489cfaf89d95ea33db82ec.jpg","text":"TemporaryFile(/tmp/multipartBody5586254102687711905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066513043,"filename":"image_20022025_07_33_57_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3afbe06528473c62fe1f97c7ab941d05.jpg","text":"TemporaryFile(/tmp/multipartBody7269881313619243885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066513043,"filename":"image_20022025_07_34_57_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338626712","file1":"1338626667","file0":"1338626505","file4":"1338626830","file5":"1338627009","file3":"1338626749"},"map_files_photo_id_array":[{"photo_id":"1338627009","filename":"file5"},{"photo_id":"1338626712","filename":"file2"},{"photo_id":"1338626830","filename":"file4"},{"photo_id":"1338626667","filename":"file1"},{"photo_id":"1338626505","filename":"file0"},{"photo_id":"1338626749","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338626749":["hashtag1","hashtag2"]},{"1338626830":["hashtag1","hashtag2"]},{"1338626667":["hashtag1","hashtag2"]},{"1338627009":["hashtag1","hashtag2"]},{"1338626505":["hashtag1","hashtag2"]},{"1338626712":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338626749, 1338626830, 1338626667, 1338627009, 1338626505, 1338626712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.50013995170593 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:48:32.533346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/36/image_20022025_07_36_47_10351.jpg', '/home/pi/Desktop/images/20022025/07/37/image_20022025_07_37_27_9446.jpg', '/home/pi/Desktop/images/20022025/07/37/image_20022025_07_37_37_10317.jpg', '/home/pi/Desktop/images/20022025/07/37/image_20022025_07_37_47_9447.jpg', '/home/pi/Desktop/images/20022025/07/39/image_20022025_07_39_37_9383.jpg', '/home/pi/Desktop/images/20022025/07/39/image_20022025_07_39_47_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/36/image_20022025_07_36_47_10351.jpg
/home/pi/Desktop/images/20022025/07/37/image_20022025_07_37_27_9446.jpg
/home/pi/Desktop/images/20022025/07/37/image_20022025_07_37_37_10317.jpg
/home/pi/Desktop/images/20022025/07/37/image_20022025_07_37_47_9447.jpg
/home/pi/Desktop/images/20022025/07/39/image_20022025_07_39_37_9383.jpg
/home/pi/Desktop/images/20022025/07/39/image_20022025_07_39_47_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338627375","1338627371","1338627368","1338627362","1338627373","1338627376"],"photo_ids_order":["1338627362","1338627368","1338627371","1338627373","1338627375","1338627376"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e36d13335490374227a4e4484655ca32.jpg","text":"TemporaryFile(/tmp/multipartBody7491523851624959042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066573085,"filename":"image_20022025_07_39_37_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/32c8b68d05c1beeffbca0980d6a73a1d.jpg","text":"TemporaryFile(/tmp/multipartBody4789820419269419471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066573085,"filename":"image_20022025_07_37_37_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa1286825c3d1db6133cba6844afc1a0.jpg","text":"TemporaryFile(/tmp/multipartBody9165688251028931197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066573085,"filename":"image_20022025_07_37_27_9446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/553e5c48eb52056e6b14a9b9c7608c89.jpg","text":"TemporaryFile(/tmp/multipartBody39702684420831378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066573085,"filename":"image_20022025_07_36_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e69701f975d77153a277eb994ab60394.jpg","text":"TemporaryFile(/tmp/multipartBody7495382867046466051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066573085,"filename":"image_20022025_07_37_47_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbe6cb60ba46e81f0cc13b5428957a39.jpg","text":"TemporaryFile(/tmp/multipartBody1274809873621288110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066573085,"filename":"image_20022025_07_39_47_10353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338627371","file1":"1338627368","file0":"1338627362","file4":"1338627375","file5":"1338627376","file3":"1338627373"},"map_files_photo_id_array":[{"photo_id":"1338627376","filename":"file5"},{"photo_id":"1338627371","filename":"file2"},{"photo_id":"1338627375","filename":"file4"},{"photo_id":"1338627368","filename":"file1"},{"photo_id":"1338627362","filename":"file0"},{"photo_id":"1338627373","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338627375":["hashtag1","hashtag2"]},{"1338627371":["hashtag1","hashtag2"]},{"1338627368":["hashtag1","hashtag2"]},{"1338627362":["hashtag1","hashtag2"]},{"1338627373":["hashtag1","hashtag2"]},{"1338627376":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338627375, 1338627371, 1338627368, 1338627362, 1338627373, 1338627376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.80867266654968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:49:32.679543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/39/image_20022025_07_40_07_10388.jpg', '/home/pi/Desktop/images/20022025/07/40/image_20022025_07_40_17_10348.jpg', '/home/pi/Desktop/images/20022025/07/41/image_20022025_07_41_17_10322.jpg', '/home/pi/Desktop/images/20022025/07/41/image_20022025_07_41_37_10344.jpg', '/home/pi/Desktop/images/20022025/07/41/image_20022025_07_42_07_10341.jpg', '/home/pi/Desktop/images/20022025/07/42/image_20022025_07_42_37_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/39/image_20022025_07_40_07_10388.jpg
/home/pi/Desktop/images/20022025/07/40/image_20022025_07_40_17_10348.jpg
/home/pi/Desktop/images/20022025/07/41/image_20022025_07_41_17_10322.jpg
/home/pi/Desktop/images/20022025/07/41/image_20022025_07_41_37_10344.jpg
/home/pi/Desktop/images/20022025/07/41/image_20022025_07_42_07_10341.jpg
/home/pi/Desktop/images/20022025/07/42/image_20022025_07_42_37_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338627866","1338627782","1338627776","1338627845","1338627877","1338627874"],"photo_ids_order":["1338627776","1338627782","1338627845","1338627866","1338627874","1338627877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e260287e84c21073b6be5f33eff1e770.jpg","text":"TemporaryFile(/tmp/multipartBody8366686505784712051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066633237,"filename":"image_20022025_07_41_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/635949d5e6f77f1d3ed486f7f946d832.jpg","text":"TemporaryFile(/tmp/multipartBody7236133331636927247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066633237,"filename":"image_20022025_07_40_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7c37a3ae70c08914841fcbcc37c2cc9f.jpg","text":"TemporaryFile(/tmp/multipartBody6427071423033672296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066633237,"filename":"image_20022025_07_40_07_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31144f41f466fbdc3decffab88d554b7.jpg","text":"TemporaryFile(/tmp/multipartBody8196779738278457276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066633237,"filename":"image_20022025_07_41_17_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1abf4bdd73a843c51ce1c63ed24ea75e.jpg","text":"TemporaryFile(/tmp/multipartBody5286887546244404045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066633237,"filename":"image_20022025_07_42_37_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1e9d3bece5270ac416aff175197a850.jpg","text":"TemporaryFile(/tmp/multipartBody8995355611612726217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066633237,"filename":"image_20022025_07_42_07_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338627845","file1":"1338627782","file0":"1338627776","file4":"1338627874","file5":"1338627877","file3":"1338627866"},"map_files_photo_id_array":[{"photo_id":"1338627877","filename":"file5"},{"photo_id":"1338627845","filename":"file2"},{"photo_id":"1338627874","filename":"file4"},{"photo_id":"1338627782","filename":"file1"},{"photo_id":"1338627776","filename":"file0"},{"photo_id":"1338627866","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338627866":["hashtag1","hashtag2"]},{"1338627782":["hashtag1","hashtag2"]},{"1338627776":["hashtag1","hashtag2"]},{"1338627845":["hashtag1","hashtag2"]},{"1338627877":["hashtag1","hashtag2"]},{"1338627874":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338627866, 1338627782, 1338627776, 1338627845, 1338627877, 1338627874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.814831256866455 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:50:32.866081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/42/image_20022025_07_42_57_10342.jpg', '/home/pi/Desktop/images/20022025/07/42/image_20022025_07_43_07_10346.jpg', '/home/pi/Desktop/images/20022025/07/43/image_20022025_07_43_17_9448.jpg', '/home/pi/Desktop/images/20022025/07/43/image_20022025_07_43_36_9337.jpg', '/home/pi/Desktop/images/20022025/07/43/image_20022025_07_43_47_10435.jpg', '/home/pi/Desktop/images/20022025/07/43/image_20022025_07_43_57_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/42/image_20022025_07_42_57_10342.jpg
/home/pi/Desktop/images/20022025/07/42/image_20022025_07_43_07_10346.jpg
/home/pi/Desktop/images/20022025/07/43/image_20022025_07_43_17_9448.jpg
/home/pi/Desktop/images/20022025/07/43/image_20022025_07_43_36_9337.jpg
/home/pi/Desktop/images/20022025/07/43/image_20022025_07_43_47_10435.jpg
/home/pi/Desktop/images/20022025/07/43/image_20022025_07_43_57_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338627999","1338627993","1338627996","1338628001","1338627997","1338628003"],"photo_ids_order":["1338627993","1338627996","1338627997","1338627999","1338628001","1338628003"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/05f9bd364aaf24cb4e89b24bab384c52.jpg","text":"TemporaryFile(/tmp/multipartBody5839511404271072002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066693473,"filename":"image_20022025_07_43_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8585f35af8eba927e67dd4f433e2794f.jpg","text":"TemporaryFile(/tmp/multipartBody1610225059687776967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066693473,"filename":"image_20022025_07_42_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bc118fc62df47195ad88f72a57a12c4.jpg","text":"TemporaryFile(/tmp/multipartBody7361526254736078474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066693473,"filename":"image_20022025_07_43_07_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5a2a61265b2919e2280d8f9cf6a43e3c.jpg","text":"TemporaryFile(/tmp/multipartBody4076109125762131199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066693473,"filename":"image_20022025_07_43_47_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eeeeaaa0331d913843d2c791d65dfa03.jpg","text":"TemporaryFile(/tmp/multipartBody4383451461681635354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066693473,"filename":"image_20022025_07_43_17_9448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/753d935830902c697ef9228f4ff0abdc.jpg","text":"TemporaryFile(/tmp/multipartBody6999492166960084134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066693473,"filename":"image_20022025_07_43_57_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338627997","file1":"1338627996","file0":"1338627993","file4":"1338628001","file5":"1338628003","file3":"1338627999"},"map_files_photo_id_array":[{"photo_id":"1338628003","filename":"file5"},{"photo_id":"1338627997","filename":"file2"},{"photo_id":"1338628001","filename":"file4"},{"photo_id":"1338627996","filename":"file1"},{"photo_id":"1338627993","filename":"file0"},{"photo_id":"1338627999","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338627999":["hashtag1","hashtag2"]},{"1338627993":["hashtag1","hashtag2"]},{"1338627996":["hashtag1","hashtag2"]},{"1338628001":["hashtag1","hashtag2"]},{"1338627997":["hashtag1","hashtag2"]},{"1338628003":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338627999, 1338627993, 1338627996, 1338628001, 1338627997, 1338628003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41216850280762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:51:32.985940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/45/image_20022025_07_46_07_10343.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_16_9338.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_27_10443.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_37_10334.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_47_9365.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_47_07_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/45/image_20022025_07_46_07_10343.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_16_9338.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_27_10443.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_37_10334.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_47_9365.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_47_07_10322.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4859614372253418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 16:51:42.978593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/45/image_20022025_07_46_07_10343.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_16_9338.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_27_10443.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_37_10334.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_47_9365.jpg', '/home/pi/Desktop/images/20022025/07/46/image_20022025_07_47_07_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/45/image_20022025_07_46_07_10343.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_16_9338.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_27_10443.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_37_10334.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_46_47_9365.jpg
/home/pi/Desktop/images/20022025/07/46/image_20022025_07_47_07_10322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338628043","1338628031","1338628112","1338628039","1338628033","1338628036"],"photo_ids_order":["1338628031","1338628033","1338628036","1338628039","1338628043","1338628112"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2289ec128f0ee86eed3f69e4d561b6ef.jpg","text":"TemporaryFile(/tmp/multipartBody5239975972314307133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066763463,"filename":"image_20022025_07_46_47_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ceb167a2fd75bb5dc4ef91b485d87b60.jpg","text":"TemporaryFile(/tmp/multipartBody4891840536728206714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066763463,"filename":"image_20022025_07_46_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78cb9a0bd4d71054940098e3aa44014b.jpg","text":"TemporaryFile(/tmp/multipartBody6110629671230003516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066763463,"filename":"image_20022025_07_47_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d8f214ee5f8ae796554d5db429718e31.jpg","text":"TemporaryFile(/tmp/multipartBody2755682822306447016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066763463,"filename":"image_20022025_07_46_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ebe3746347ec11538ec86a89c15115e7.jpg","text":"TemporaryFile(/tmp/multipartBody3530541633494034471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066763463,"filename":"image_20022025_07_46_16_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9290c1a00259465b88c90ee8b59e8870.jpg","text":"TemporaryFile(/tmp/multipartBody4397634182527565889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066763463,"filename":"image_20022025_07_46_27_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338628036","file1":"1338628033","file0":"1338628031","file4":"1338628043","file5":"1338628112","file3":"1338628039"},"map_files_photo_id_array":[{"photo_id":"1338628112","filename":"file5"},{"photo_id":"1338628036","filename":"file2"},{"photo_id":"1338628043","filename":"file4"},{"photo_id":"1338628033","filename":"file1"},{"photo_id":"1338628031","filename":"file0"},{"photo_id":"1338628039","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338628043":["hashtag1","hashtag2"]},{"1338628031":["hashtag1","hashtag2"]},{"1338628112":["hashtag1","hashtag2"]},{"1338628039":["hashtag1","hashtag2"]},{"1338628033":["hashtag1","hashtag2"]},{"1338628036":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338628043, 1338628031, 1338628112, 1338628039, 1338628033, 1338628036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2254376411438 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:52:32.219653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/47/image_20022025_07_47_17_9438.jpg', '/home/pi/Desktop/images/20022025/07/47/image_20022025_07_48_06_9384.jpg', '/home/pi/Desktop/images/20022025/07/48/image_20022025_07_48_27_10354.jpg', '/home/pi/Desktop/images/20022025/07/48/image_20022025_07_48_37_9327.jpg', '/home/pi/Desktop/images/20022025/07/48/image_20022025_07_49_07_9328.jpg', '/home/pi/Desktop/images/20022025/07/49/image_20022025_07_49_27_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/47/image_20022025_07_47_17_9438.jpg
/home/pi/Desktop/images/20022025/07/47/image_20022025_07_48_06_9384.jpg
/home/pi/Desktop/images/20022025/07/48/image_20022025_07_48_27_10354.jpg
/home/pi/Desktop/images/20022025/07/48/image_20022025_07_48_37_9327.jpg
/home/pi/Desktop/images/20022025/07/48/image_20022025_07_49_07_9328.jpg
/home/pi/Desktop/images/20022025/07/49/image_20022025_07_49_27_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338628359","1338628355","1338628367","1338628352","1338628349","1338628357"],"photo_ids_order":["1338628349","1338628352","1338628355","1338628357","1338628359","1338628367"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/21c540b9095acb46f97cb8b16dec5be4.jpg","text":"TemporaryFile(/tmp/multipartBody6680651030636506225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066812779,"filename":"image_20022025_07_49_07_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6099d89bce9aced7a1842924edf6fb4f.jpg","text":"TemporaryFile(/tmp/multipartBody2083667875792787483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066812779,"filename":"image_20022025_07_48_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/385f988af7b57213be55c520ce04d475.jpg","text":"TemporaryFile(/tmp/multipartBody130858222384663610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066812779,"filename":"image_20022025_07_49_27_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b81a5a956ea6a68b9142dd229742c765.jpg","text":"TemporaryFile(/tmp/multipartBody5621085514688358120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066812779,"filename":"image_20022025_07_48_06_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f71941112aef54d89a89bd1707d6f650.jpg","text":"TemporaryFile(/tmp/multipartBody3915282128051921723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066812779,"filename":"image_20022025_07_47_17_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1b84e813128461d950e74d04613f27f5.jpg","text":"TemporaryFile(/tmp/multipartBody5507525665699422977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066812779,"filename":"image_20022025_07_48_37_9327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338628355","file1":"1338628352","file0":"1338628349","file4":"1338628359","file5":"1338628367","file3":"1338628357"},"map_files_photo_id_array":[{"photo_id":"1338628367","filename":"file5"},{"photo_id":"1338628355","filename":"file2"},{"photo_id":"1338628359","filename":"file4"},{"photo_id":"1338628352","filename":"file1"},{"photo_id":"1338628349","filename":"file0"},{"photo_id":"1338628357","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338628359":["hashtag1","hashtag2"]},{"1338628355":["hashtag1","hashtag2"]},{"1338628367":["hashtag1","hashtag2"]},{"1338628352":["hashtag1","hashtag2"]},{"1338628349":["hashtag1","hashtag2"]},{"1338628357":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338628359, 1338628355, 1338628367, 1338628352, 1338628349, 1338628357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.906054496765137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:53:32.478070
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/49/image_20022025_07_49_37_9331.jpg', '/home/pi/Desktop/images/20022025/07/49/image_20022025_07_49_57_9443.jpg', '/home/pi/Desktop/images/20022025/07/49/image_20022025_07_50_07_10334.jpg', '/home/pi/Desktop/images/20022025/07/50/image_20022025_07_50_37_10352.jpg', '/home/pi/Desktop/images/20022025/07/50/image_20022025_07_50_47_10351.jpg', '/home/pi/Desktop/images/20022025/07/50/image_20022025_07_51_07_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/49/image_20022025_07_49_37_9331.jpg
/home/pi/Desktop/images/20022025/07/49/image_20022025_07_49_57_9443.jpg
/home/pi/Desktop/images/20022025/07/49/image_20022025_07_50_07_10334.jpg
/home/pi/Desktop/images/20022025/07/50/image_20022025_07_50_37_10352.jpg
/home/pi/Desktop/images/20022025/07/50/image_20022025_07_50_47_10351.jpg
/home/pi/Desktop/images/20022025/07/50/image_20022025_07_51_07_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338628718","1338628675","1338628607","1338628720","1338628686","1338628603"],"photo_ids_order":["1338628603","1338628607","1338628675","1338628686","1338628718","1338628720"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e3d3a04e979dc06dadea61fad909bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8779819779166065350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066873035,"filename":"image_20022025_07_50_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f613b4e331505bf98c64574f5b3047e0.jpg","text":"TemporaryFile(/tmp/multipartBody7679399155869608340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066873035,"filename":"image_20022025_07_50_07_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75c20d6e21bf111157ffba892ca08a72.jpg","text":"TemporaryFile(/tmp/multipartBody4910432624872836722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066873035,"filename":"image_20022025_07_49_57_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a1d375cf9291dca446de22b6eee05db3.jpg","text":"TemporaryFile(/tmp/multipartBody8894137950740613989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066873035,"filename":"image_20022025_07_51_07_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94b4b14283084aa150e856acaacd3c77.jpg","text":"TemporaryFile(/tmp/multipartBody8162245941412921850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066873035,"filename":"image_20022025_07_50_37_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/336406684991dc7e93b8d040453706f8.jpg","text":"TemporaryFile(/tmp/multipartBody8671138520660147368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066873035,"filename":"image_20022025_07_49_37_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338628675","file1":"1338628607","file0":"1338628603","file4":"1338628718","file5":"1338628720","file3":"1338628686"},"map_files_photo_id_array":[{"photo_id":"1338628720","filename":"file5"},{"photo_id":"1338628675","filename":"file2"},{"photo_id":"1338628718","filename":"file4"},{"photo_id":"1338628607","filename":"file1"},{"photo_id":"1338628603","filename":"file0"},{"photo_id":"1338628686","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338628718":["hashtag1","hashtag2"]},{"1338628675":["hashtag1","hashtag2"]},{"1338628607":["hashtag1","hashtag2"]},{"1338628720":["hashtag1","hashtag2"]},{"1338628686":["hashtag1","hashtag2"]},{"1338628603":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338628718, 1338628675, 1338628607, 1338628720, 1338628686, 1338628603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.603333950042725 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:54:32.465054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/51/image_20022025_07_51_16_9356.jpg', '/home/pi/Desktop/images/20022025/07/52/image_20022025_07_52_17_9409.jpg', '/home/pi/Desktop/images/20022025/07/52/image_20022025_07_52_47_10410.jpg', '/home/pi/Desktop/images/20022025/07/52/image_20022025_07_52_56_9417.jpg', '/home/pi/Desktop/images/20022025/07/53/image_20022025_07_53_37_10352.jpg', '/home/pi/Desktop/images/20022025/07/53/image_20022025_07_53_47_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/51/image_20022025_07_51_16_9356.jpg
/home/pi/Desktop/images/20022025/07/52/image_20022025_07_52_17_9409.jpg
/home/pi/Desktop/images/20022025/07/52/image_20022025_07_52_47_10410.jpg
/home/pi/Desktop/images/20022025/07/52/image_20022025_07_52_56_9417.jpg
/home/pi/Desktop/images/20022025/07/53/image_20022025_07_53_37_10352.jpg
/home/pi/Desktop/images/20022025/07/53/image_20022025_07_53_47_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338628755","1338628752","1338628808","1338628802","1338628805","1338628807"],"photo_ids_order":["1338628752","1338628755","1338628802","1338628805","1338628807","1338628808"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d8e5148aab17154c2c5b5d73bee56b9.jpg","text":"TemporaryFile(/tmp/multipartBody1726175150986287850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066933030,"filename":"image_20022025_07_52_17_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e08a59fb8ea3f58992915fc9fef4e3fc.jpg","text":"TemporaryFile(/tmp/multipartBody3034461868276737645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066933030,"filename":"image_20022025_07_51_16_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9ebd185bc141024f8bb8659cfae9a594.jpg","text":"TemporaryFile(/tmp/multipartBody8608846272919962187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066933030,"filename":"image_20022025_07_53_47_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a141b17276bcf0ae51a17e9b506cd2d3.jpg","text":"TemporaryFile(/tmp/multipartBody9187760952243770293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066933030,"filename":"image_20022025_07_52_47_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25928185a8768756b5fdc119004aeb7b.jpg","text":"TemporaryFile(/tmp/multipartBody1887793508320214076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066933030,"filename":"image_20022025_07_52_56_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0278871dcc96365e16bf2531c3d904dd.jpg","text":"TemporaryFile(/tmp/multipartBody9087768277026195793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066933030,"filename":"image_20022025_07_53_37_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338628802","file1":"1338628755","file0":"1338628752","file4":"1338628807","file5":"1338628808","file3":"1338628805"},"map_files_photo_id_array":[{"photo_id":"1338628808","filename":"file5"},{"photo_id":"1338628802","filename":"file2"},{"photo_id":"1338628807","filename":"file4"},{"photo_id":"1338628755","filename":"file1"},{"photo_id":"1338628752","filename":"file0"},{"photo_id":"1338628805","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338628755":["hashtag1","hashtag2"]},{"1338628752":["hashtag1","hashtag2"]},{"1338628808":["hashtag1","hashtag2"]},{"1338628802":["hashtag1","hashtag2"]},{"1338628805":["hashtag1","hashtag2"]},{"1338628807":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338628755, 1338628752, 1338628808, 1338628802, 1338628805, 1338628807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0671603679657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:55:32.766548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/53/image_20022025_07_54_07_10384.jpg', '/home/pi/Desktop/images/20022025/07/54/image_20022025_07_54_17_10331.jpg', '/home/pi/Desktop/images/20022025/07/54/image_20022025_07_54_27_9347.jpg', '/home/pi/Desktop/images/20022025/07/54/image_20022025_07_54_46_9381.jpg', '/home/pi/Desktop/images/20022025/07/54/image_20022025_07_54_57_10361.jpg', '/home/pi/Desktop/images/20022025/07/55/image_20022025_07_55_16_9451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/53/image_20022025_07_54_07_10384.jpg
/home/pi/Desktop/images/20022025/07/54/image_20022025_07_54_17_10331.jpg
/home/pi/Desktop/images/20022025/07/54/image_20022025_07_54_27_9347.jpg
/home/pi/Desktop/images/20022025/07/54/image_20022025_07_54_46_9381.jpg
/home/pi/Desktop/images/20022025/07/54/image_20022025_07_54_57_10361.jpg
/home/pi/Desktop/images/20022025/07/55/image_20022025_07_55_16_9451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338628863","1338628865","1338628868","1338628870","1338628872","1338628866"],"photo_ids_order":["1338628863","1338628865","1338628866","1338628868","1338628870","1338628872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6b0414c25f62a8d6032bc0253c98551.jpg","text":"TemporaryFile(/tmp/multipartBody8689149708803309736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066993332,"filename":"image_20022025_07_54_07_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c13cc78381cfe0eac22d8a5cc1645bd.jpg","text":"TemporaryFile(/tmp/multipartBody8210751153474794502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066993332,"filename":"image_20022025_07_54_17_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/910068355d46958e022174216f88798a.jpg","text":"TemporaryFile(/tmp/multipartBody3748588902526752487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066993332,"filename":"image_20022025_07_54_46_9381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f9c54ad82023e19a05d384a1eb5a835.jpg","text":"TemporaryFile(/tmp/multipartBody3246119080195127994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066993332,"filename":"image_20022025_07_54_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d91024d38711fc804b4c185771207ad7.jpg","text":"TemporaryFile(/tmp/multipartBody648616196946878447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066993332,"filename":"image_20022025_07_55_16_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0439beb98e338cd8f3a699df67adae3.jpg","text":"TemporaryFile(/tmp/multipartBody4036382657781013922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740066993332,"filename":"image_20022025_07_54_27_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338628866","file1":"1338628865","file0":"1338628863","file4":"1338628870","file5":"1338628872","file3":"1338628868"},"map_files_photo_id_array":[{"photo_id":"1338628872","filename":"file5"},{"photo_id":"1338628866","filename":"file2"},{"photo_id":"1338628870","filename":"file4"},{"photo_id":"1338628865","filename":"file1"},{"photo_id":"1338628863","filename":"file0"},{"photo_id":"1338628868","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338628863":["hashtag1","hashtag2"]},{"1338628865":["hashtag1","hashtag2"]},{"1338628868":["hashtag1","hashtag2"]},{"1338628870":["hashtag1","hashtag2"]},{"1338628872":["hashtag1","hashtag2"]},{"1338628866":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338628863, 1338628865, 1338628868, 1338628870, 1338628872, 1338628866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26897311210632 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:56:32.792211
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/55/image_20022025_07_55_37_10397.jpg', '/home/pi/Desktop/images/20022025/07/55/image_20022025_07_55_57_10359.jpg', '/home/pi/Desktop/images/20022025/07/56/image_20022025_07_56_17_10148.jpg', '/home/pi/Desktop/images/20022025/07/56/image_20022025_07_56_37_10335.jpg', '/home/pi/Desktop/images/20022025/07/56/image_20022025_07_56_57_10361.jpg', '/home/pi/Desktop/images/20022025/07/57/image_20022025_07_58_06_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/55/image_20022025_07_55_37_10397.jpg
/home/pi/Desktop/images/20022025/07/55/image_20022025_07_55_57_10359.jpg
/home/pi/Desktop/images/20022025/07/56/image_20022025_07_56_17_10148.jpg
/home/pi/Desktop/images/20022025/07/56/image_20022025_07_56_37_10335.jpg
/home/pi/Desktop/images/20022025/07/56/image_20022025_07_56_57_10361.jpg
/home/pi/Desktop/images/20022025/07/57/image_20022025_07_58_06_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338628902","1338628904","1338628896","1338628915","1338628899","1338628893"],"photo_ids_order":["1338628893","1338628896","1338628899","1338628902","1338628904","1338628915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef3ba64d0a0ea68e86f7b50fcf626338.jpg","text":"TemporaryFile(/tmp/multipartBody1763487747687273651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067053367,"filename":"image_20022025_07_56_37_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/689fb56c7714f6886cd15ac81e10107b.jpg","text":"TemporaryFile(/tmp/multipartBody7457168349396565166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067053367,"filename":"image_20022025_07_56_57_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5403337d1e71d9aff8cc34dcdcc2da1e.jpg","text":"TemporaryFile(/tmp/multipartBody8914702524017462705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067053367,"filename":"image_20022025_07_55_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/439e620545f90bf22a3978c6c46608d7.jpg","text":"TemporaryFile(/tmp/multipartBody1328826351779213589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067053367,"filename":"image_20022025_07_58_06_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1be100f12117007bb166606d9ebec041.jpg","text":"TemporaryFile(/tmp/multipartBody8227692707655213374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067053367,"filename":"image_20022025_07_56_17_10148.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/11ece67d0f1416aea8b4eea028087fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8412812116904807027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067053367,"filename":"image_20022025_07_55_37_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338628899","file1":"1338628896","file0":"1338628893","file4":"1338628904","file5":"1338628915","file3":"1338628902"},"map_files_photo_id_array":[{"photo_id":"1338628915","filename":"file5"},{"photo_id":"1338628899","filename":"file2"},{"photo_id":"1338628904","filename":"file4"},{"photo_id":"1338628896","filename":"file1"},{"photo_id":"1338628893","filename":"file0"},{"photo_id":"1338628902","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338628902":["hashtag1","hashtag2"]},{"1338628904":["hashtag1","hashtag2"]},{"1338628896":["hashtag1","hashtag2"]},{"1338628915":["hashtag1","hashtag2"]},{"1338628899":["hashtag1","hashtag2"]},{"1338628893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338628902, 1338628904, 1338628896, 1338628915, 1338628899, 1338628893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.110886096954346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 16:57:32.974263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/58/image_20022025_07_58_27_10344.jpg', '/home/pi/Desktop/images/20022025/07/58/image_20022025_07_59_07_9321.jpg', '/home/pi/Desktop/images/20022025/07/59/image_20022025_07_59_47_10355.jpg', '/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_26_10344.jpg', '/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_46_9341.jpg', '/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_57_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/58/image_20022025_07_58_27_10344.jpg
/home/pi/Desktop/images/20022025/07/58/image_20022025_07_59_07_9321.jpg
/home/pi/Desktop/images/20022025/07/59/image_20022025_07_59_47_10355.jpg
/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_26_10344.jpg
/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_46_9341.jpg
/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_57_10442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 16:59:04.332878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/07/58/image_20022025_07_58_27_10344.jpg', '/home/pi/Desktop/images/20022025/07/58/image_20022025_07_59_07_9321.jpg', '/home/pi/Desktop/images/20022025/07/59/image_20022025_07_59_47_10355.jpg', '/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_26_10344.jpg', '/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_46_9341.jpg', '/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_57_10442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/07/58/image_20022025_07_58_27_10344.jpg
/home/pi/Desktop/images/20022025/07/58/image_20022025_07_59_07_9321.jpg
/home/pi/Desktop/images/20022025/07/59/image_20022025_07_59_47_10355.jpg
/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_26_10344.jpg
/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_46_9341.jpg
/home/pi/Desktop/images/20022025/08/00/image_20022025_08_00_57_10442.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338629511","1338629613","1338629591","1338629486","1338629488","1338629499"],"photo_ids_order":["1338629486","1338629488","1338629499","1338629511","1338629591","1338629613"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55b2eab987f5b99ad079c3c1847d4bf8.jpg","text":"TemporaryFile(/tmp/multipartBody9138320185311110648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067204932,"filename":"image_20022025_08_00_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a801c13dc74bfa21f32ab2906f1712b.jpg","text":"TemporaryFile(/tmp/multipartBody7621032447069435306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067204932,"filename":"image_20022025_08_00_57_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba81eab36fe6e9af9e818c986ec6fc4a.jpg","text":"TemporaryFile(/tmp/multipartBody9107527473070789793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067204932,"filename":"image_20022025_08_00_46_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8dd7a93445dcd90ec466e8dc47b66c80.jpg","text":"TemporaryFile(/tmp/multipartBody3901908709617209516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067204932,"filename":"image_20022025_07_58_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00b48aa522426e7d95cdf9ae39ae826c.jpg","text":"TemporaryFile(/tmp/multipartBody6565460777009745794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067204932,"filename":"image_20022025_07_59_07_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc617e6bf03301123b99b88ccd1fd653.jpg","text":"TemporaryFile(/tmp/multipartBody884733824200864522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067204932,"filename":"image_20022025_07_59_47_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338629499","file1":"1338629488","file0":"1338629486","file4":"1338629591","file5":"1338629613","file3":"1338629511"},"map_files_photo_id_array":[{"photo_id":"1338629613","filename":"file5"},{"photo_id":"1338629499","filename":"file2"},{"photo_id":"1338629591","filename":"file4"},{"photo_id":"1338629488","filename":"file1"},{"photo_id":"1338629486","filename":"file0"},{"photo_id":"1338629511","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338629511":["hashtag1","hashtag2"]},{"1338629613":["hashtag1","hashtag2"]},{"1338629591":["hashtag1","hashtag2"]},{"1338629486":["hashtag1","hashtag2"]},{"1338629488":["hashtag1","hashtag2"]},{"1338629499":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338629511, 1338629613, 1338629591, 1338629486, 1338629488, 1338629499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.202908515930176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 16:59:42.571290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/00/image_20022025_08_01_07_10360.jpg', '/home/pi/Desktop/images/20022025/08/01/image_20022025_08_01_27_10417.jpg', '/home/pi/Desktop/images/20022025/08/01/image_20022025_08_01_46_10350.jpg', '/home/pi/Desktop/images/20022025/08/01/image_20022025_08_02_06_9339.jpg', '/home/pi/Desktop/images/20022025/08/02/image_20022025_08_02_16_10330.jpg', '/home/pi/Desktop/images/20022025/08/02/image_20022025_08_02_27_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/00/image_20022025_08_01_07_10360.jpg
/home/pi/Desktop/images/20022025/08/01/image_20022025_08_01_27_10417.jpg
/home/pi/Desktop/images/20022025/08/01/image_20022025_08_01_46_10350.jpg
/home/pi/Desktop/images/20022025/08/01/image_20022025_08_02_06_9339.jpg
/home/pi/Desktop/images/20022025/08/02/image_20022025_08_02_16_10330.jpg
/home/pi/Desktop/images/20022025/08/02/image_20022025_08_02_27_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338629625","1338629627","1338629642","1338629638","1338629646","1338629622"],"photo_ids_order":["1338629622","1338629625","1338629627","1338629638","1338629642","1338629646"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8220c818b948332ce363787f57d2a71a.jpg","text":"TemporaryFile(/tmp/multipartBody8998517133818974304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067243151,"filename":"image_20022025_08_01_27_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/808dec7853ff9091751c7cc3c3326a3e.jpg","text":"TemporaryFile(/tmp/multipartBody3832015357259676356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067243151,"filename":"image_20022025_08_01_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0fbbddde651dface062ae5dc9a4d18ad.jpg","text":"TemporaryFile(/tmp/multipartBody2084526454909703875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067243151,"filename":"image_20022025_08_02_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3f8211b0a0f0225bdda25e02e3ded72.jpg","text":"TemporaryFile(/tmp/multipartBody2306078495570651559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067243151,"filename":"image_20022025_08_02_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba1a94874b056debba3eb01587afe3db.jpg","text":"TemporaryFile(/tmp/multipartBody3846846679957524010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067243151,"filename":"image_20022025_08_02_27_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/316b6b5061303a087bde6398442ca6f3.jpg","text":"TemporaryFile(/tmp/multipartBody4375543361254008519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067243151,"filename":"image_20022025_08_01_07_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338629627","file1":"1338629625","file0":"1338629622","file4":"1338629642","file5":"1338629646","file3":"1338629638"},"map_files_photo_id_array":[{"photo_id":"1338629646","filename":"file5"},{"photo_id":"1338629627","filename":"file2"},{"photo_id":"1338629642","filename":"file4"},{"photo_id":"1338629625","filename":"file1"},{"photo_id":"1338629622","filename":"file0"},{"photo_id":"1338629638","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338629625":["hashtag1","hashtag2"]},{"1338629627":["hashtag1","hashtag2"]},{"1338629642":["hashtag1","hashtag2"]},{"1338629638":["hashtag1","hashtag2"]},{"1338629646":["hashtag1","hashtag2"]},{"1338629622":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338629625, 1338629627, 1338629642, 1338629638, 1338629646, 1338629622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13388276100159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:00:32.701543
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/02/image_20022025_08_02_57_10359.jpg', '/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_17_10338.jpg', '/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_26_9364.jpg', '/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_36_10346.jpg', '/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_47_10412.jpg', '/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_56_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/02/image_20022025_08_02_57_10359.jpg
/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_17_10338.jpg
/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_26_9364.jpg
/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_36_10346.jpg
/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_47_10412.jpg
/home/pi/Desktop/images/20022025/08/03/image_20022025_08_03_56_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338629780","1338629762","1338629674","1338629677","1338629781","1338629778"],"photo_ids_order":["1338629674","1338629677","1338629762","1338629778","1338629780","1338629781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/014498c5c0f0dd047b2aa74e4bb10878.jpg","text":"TemporaryFile(/tmp/multipartBody5091274414870116105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067293343,"filename":"image_20022025_08_03_47_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3cd6eec88a2aa68d2b817a584a897fd9.jpg","text":"TemporaryFile(/tmp/multipartBody1624071734192058737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067293343,"filename":"image_20022025_08_03_26_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b665c18ee2faec13a6070110766755e1.jpg","text":"TemporaryFile(/tmp/multipartBody326083647145223137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067293343,"filename":"image_20022025_08_02_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/316ac933b48c270feba4d5681ef7e052.jpg","text":"TemporaryFile(/tmp/multipartBody5716868977496910291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067293343,"filename":"image_20022025_08_03_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a99349f6389fa898c647bfa039228aca.jpg","text":"TemporaryFile(/tmp/multipartBody1825624915630339830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067293343,"filename":"image_20022025_08_03_56_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b517b2a0c60e6399b55dad99d473826.jpg","text":"TemporaryFile(/tmp/multipartBody1130153946249528746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067293343,"filename":"image_20022025_08_03_36_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338629762","file1":"1338629677","file0":"1338629674","file4":"1338629780","file5":"1338629781","file3":"1338629778"},"map_files_photo_id_array":[{"photo_id":"1338629781","filename":"file5"},{"photo_id":"1338629762","filename":"file2"},{"photo_id":"1338629780","filename":"file4"},{"photo_id":"1338629677","filename":"file1"},{"photo_id":"1338629674","filename":"file0"},{"photo_id":"1338629778","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338629780":["hashtag1","hashtag2"]},{"1338629762":["hashtag1","hashtag2"]},{"1338629674":["hashtag1","hashtag2"]},{"1338629677":["hashtag1","hashtag2"]},{"1338629781":["hashtag1","hashtag2"]},{"1338629778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338629780, 1338629762, 1338629674, 1338629677, 1338629781, 1338629778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35949945449829 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:01:32.923936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/03/image_20022025_08_04_06_10403.jpg', '/home/pi/Desktop/images/20022025/08/04/image_20022025_08_04_26_9421.jpg', '/home/pi/Desktop/images/20022025/08/04/image_20022025_08_04_37_10415.jpg', '/home/pi/Desktop/images/20022025/08/04/image_20022025_08_04_56_10453.jpg', '/home/pi/Desktop/images/20022025/08/04/image_20022025_08_05_07_10344.jpg', '/home/pi/Desktop/images/20022025/08/05/image_20022025_08_05_27_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/03/image_20022025_08_04_06_10403.jpg
/home/pi/Desktop/images/20022025/08/04/image_20022025_08_04_26_9421.jpg
/home/pi/Desktop/images/20022025/08/04/image_20022025_08_04_37_10415.jpg
/home/pi/Desktop/images/20022025/08/04/image_20022025_08_04_56_10453.jpg
/home/pi/Desktop/images/20022025/08/04/image_20022025_08_05_07_10344.jpg
/home/pi/Desktop/images/20022025/08/05/image_20022025_08_05_27_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338629901","1338629910","1338629904","1338629912","1338629914","1338629907"],"photo_ids_order":["1338629901","1338629904","1338629907","1338629910","1338629912","1338629914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ad3c17a8582fc6a954cc95f75e0a88a4.jpg","text":"TemporaryFile(/tmp/multipartBody7909031167423843260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067353481,"filename":"image_20022025_08_04_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25f10326d6a1001a594a7ffa72926565.jpg","text":"TemporaryFile(/tmp/multipartBody4326688598844571119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067353481,"filename":"image_20022025_08_04_56_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36d034329e5b6a934750dd8b25a84023.jpg","text":"TemporaryFile(/tmp/multipartBody3879270245945900589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067353481,"filename":"image_20022025_08_04_26_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d281c912c03171b9663964395731d249.jpg","text":"TemporaryFile(/tmp/multipartBody4243645145776569901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067353481,"filename":"image_20022025_08_05_07_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78df353e3862ab6fb1614e00b4cf6d11.jpg","text":"TemporaryFile(/tmp/multipartBody6789892937475233454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067353481,"filename":"image_20022025_08_05_27_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbf61ecf5af23f0da3541c173652034f.jpg","text":"TemporaryFile(/tmp/multipartBody7081186978469626541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067353481,"filename":"image_20022025_08_04_37_10415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338629907","file1":"1338629904","file0":"1338629901","file4":"1338629912","file5":"1338629914","file3":"1338629910"},"map_files_photo_id_array":[{"photo_id":"1338629914","filename":"file5"},{"photo_id":"1338629907","filename":"file2"},{"photo_id":"1338629912","filename":"file4"},{"photo_id":"1338629904","filename":"file1"},{"photo_id":"1338629901","filename":"file0"},{"photo_id":"1338629910","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338629901":["hashtag1","hashtag2"]},{"1338629910":["hashtag1","hashtag2"]},{"1338629904":["hashtag1","hashtag2"]},{"1338629912":["hashtag1","hashtag2"]},{"1338629914":["hashtag1","hashtag2"]},{"1338629907":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338629901, 1338629910, 1338629904, 1338629912, 1338629914, 1338629907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36558675765991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:02:33.036439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/05/image_20022025_08_05_37_10344.jpg', '/home/pi/Desktop/images/20022025/08/05/image_20022025_08_05_46_9327.jpg', '/home/pi/Desktop/images/20022025/08/05/image_20022025_08_06_07_10328.jpg', '/home/pi/Desktop/images/20022025/08/06/image_20022025_08_06_16_9342.jpg', '/home/pi/Desktop/images/20022025/08/06/image_20022025_08_06_27_10342.jpg', '/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_16_10406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/05/image_20022025_08_05_37_10344.jpg
/home/pi/Desktop/images/20022025/08/05/image_20022025_08_05_46_9327.jpg
/home/pi/Desktop/images/20022025/08/05/image_20022025_08_06_07_10328.jpg
/home/pi/Desktop/images/20022025/08/06/image_20022025_08_06_16_9342.jpg
/home/pi/Desktop/images/20022025/08/06/image_20022025_08_06_27_10342.jpg
/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_16_10406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338629936","1338629939","1338629956","1338629944","1338629958","1338629931"],"photo_ids_order":["1338629931","1338629936","1338629939","1338629944","1338629956","1338629958"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3147e8e7f10db6423efca819042f412a.jpg","text":"TemporaryFile(/tmp/multipartBody4057613009738953779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067413596,"filename":"image_20022025_08_05_46_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/846810fc211473687457f72ffc70355a.jpg","text":"TemporaryFile(/tmp/multipartBody2556592759579545623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067413596,"filename":"image_20022025_08_06_07_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/53c0ad30a380177fe93aada5fcdde0d8.jpg","text":"TemporaryFile(/tmp/multipartBody5396571385674277445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067413596,"filename":"image_20022025_08_06_27_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bdee5039b7d096e0d6b28170d294df0.jpg","text":"TemporaryFile(/tmp/multipartBody5784080202429051336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067413596,"filename":"image_20022025_08_06_16_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12c8639c1fce6ced0ebaf0113d01f94c.jpg","text":"TemporaryFile(/tmp/multipartBody6534173109500752527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067413596,"filename":"image_20022025_08_07_16_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/51e06f61eed5c2521e664ac5ad1c6d2b.jpg","text":"TemporaryFile(/tmp/multipartBody18466509917660756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067413596,"filename":"image_20022025_08_05_37_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338629939","file1":"1338629936","file0":"1338629931","file4":"1338629956","file5":"1338629958","file3":"1338629944"},"map_files_photo_id_array":[{"photo_id":"1338629958","filename":"file5"},{"photo_id":"1338629939","filename":"file2"},{"photo_id":"1338629956","filename":"file4"},{"photo_id":"1338629936","filename":"file1"},{"photo_id":"1338629931","filename":"file0"},{"photo_id":"1338629944","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338629936":["hashtag1","hashtag2"]},{"1338629939":["hashtag1","hashtag2"]},{"1338629956":["hashtag1","hashtag2"]},{"1338629944":["hashtag1","hashtag2"]},{"1338629958":["hashtag1","hashtag2"]},{"1338629931":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338629936, 1338629939, 1338629956, 1338629944, 1338629958, 1338629931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5164840221405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:03:32.144838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_27_10348.jpg', '/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_36_9330.jpg', '/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_47_10433.jpg', '/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_56_9330.jpg', '/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_17_10428.jpg', '/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_26_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_27_10348.jpg
/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_36_9330.jpg
/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_47_10433.jpg
/home/pi/Desktop/images/20022025/08/07/image_20022025_08_07_56_9330.jpg
/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_17_10428.jpg
/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_26_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338629993","1338629996","1338629988","1338629982","1338629991","1338629985"],"photo_ids_order":["1338629982","1338629985","1338629988","1338629991","1338629993","1338629996"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be0d87b46c41fa972386c3298c40f445.jpg","text":"TemporaryFile(/tmp/multipartBody5208116161289871764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067472711,"filename":"image_20022025_08_08_17_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f8a4d605c838c6fd7c3cedaae3bd702.jpg","text":"TemporaryFile(/tmp/multipartBody2750077302495718357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067472711,"filename":"image_20022025_08_08_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18027ab1e29747783f770372eef4c2ba.jpg","text":"TemporaryFile(/tmp/multipartBody2256818002419093240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067472711,"filename":"image_20022025_08_07_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56b7908bf9745b515d7b94fbe40d0063.jpg","text":"TemporaryFile(/tmp/multipartBody7313167405924266029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067472711,"filename":"image_20022025_08_07_27_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/37d9473b66e23cb720461fda2337269c.jpg","text":"TemporaryFile(/tmp/multipartBody4927140908819438753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067472711,"filename":"image_20022025_08_07_56_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7bac299764c8b8f03fb5ee96a56e473b.jpg","text":"TemporaryFile(/tmp/multipartBody8871582030983068370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067472711,"filename":"image_20022025_08_07_36_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338629988","file1":"1338629985","file0":"1338629982","file4":"1338629993","file5":"1338629996","file3":"1338629991"},"map_files_photo_id_array":[{"photo_id":"1338629996","filename":"file5"},{"photo_id":"1338629988","filename":"file2"},{"photo_id":"1338629993","filename":"file4"},{"photo_id":"1338629985","filename":"file1"},{"photo_id":"1338629982","filename":"file0"},{"photo_id":"1338629991","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338629993":["hashtag1","hashtag2"]},{"1338629996":["hashtag1","hashtag2"]},{"1338629988":["hashtag1","hashtag2"]},{"1338629982":["hashtag1","hashtag2"]},{"1338629991":["hashtag1","hashtag2"]},{"1338629985":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338629993, 1338629996, 1338629988, 1338629982, 1338629991, 1338629985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.99203133583069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:04:32.273043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_36_10417.jpg', '/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_47_10349.jpg', '/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_56_9394.jpg', '/home/pi/Desktop/images/20022025/08/09/image_20022025_08_09_26_9418.jpg', '/home/pi/Desktop/images/20022025/08/09/image_20022025_08_09_46_9359.jpg', '/home/pi/Desktop/images/20022025/08/09/image_20022025_08_09_57_10461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_36_10417.jpg
/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_47_10349.jpg
/home/pi/Desktop/images/20022025/08/08/image_20022025_08_08_56_9394.jpg
/home/pi/Desktop/images/20022025/08/09/image_20022025_08_09_26_9418.jpg
/home/pi/Desktop/images/20022025/08/09/image_20022025_08_09_46_9359.jpg
/home/pi/Desktop/images/20022025/08/09/image_20022025_08_09_57_10461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338630522","1338630516","1338630438","1338630479","1338630302","1338630484"],"photo_ids_order":["1338630302","1338630438","1338630479","1338630484","1338630516","1338630522"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2da0d71dc22896aadcc99860fc980e4.jpg","text":"TemporaryFile(/tmp/multipartBody5531968104150208538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067532861,"filename":"image_20022025_08_09_57_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/23d42bfbf3b2f8d7f466cef559e0e534.jpg","text":"TemporaryFile(/tmp/multipartBody9185460831255200021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067532861,"filename":"image_20022025_08_09_46_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40dab8c92b0c37691ce30bca278045ca.jpg","text":"TemporaryFile(/tmp/multipartBody1363026110867059130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067532861,"filename":"image_20022025_08_08_47_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f3f4441eec9531559f62a0d4b481a245.jpg","text":"TemporaryFile(/tmp/multipartBody3210888458174561255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067532861,"filename":"image_20022025_08_08_56_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29dd31498623144a474eae22f9e58860.jpg","text":"TemporaryFile(/tmp/multipartBody1741544973022602776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067532861,"filename":"image_20022025_08_08_36_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfca74d805471e6954e993e81878caa3.jpg","text":"TemporaryFile(/tmp/multipartBody8655752151075505787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067532861,"filename":"image_20022025_08_09_26_9418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338630479","file1":"1338630438","file0":"1338630302","file4":"1338630516","file5":"1338630522","file3":"1338630484"},"map_files_photo_id_array":[{"photo_id":"1338630522","filename":"file5"},{"photo_id":"1338630479","filename":"file2"},{"photo_id":"1338630516","filename":"file4"},{"photo_id":"1338630438","filename":"file1"},{"photo_id":"1338630302","filename":"file0"},{"photo_id":"1338630484","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338630522":["hashtag1","hashtag2"]},{"1338630516":["hashtag1","hashtag2"]},{"1338630438":["hashtag1","hashtag2"]},{"1338630479":["hashtag1","hashtag2"]},{"1338630302":["hashtag1","hashtag2"]},{"1338630484":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338630522, 1338630516, 1338630438, 1338630479, 1338630302, 1338630484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.463107109069824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:05:32.548194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/09/image_20022025_08_10_07_10392.jpg', '/home/pi/Desktop/images/20022025/08/10/image_20022025_08_10_26_9336.jpg', '/home/pi/Desktop/images/20022025/08/10/image_20022025_08_10_36_10382.jpg', '/home/pi/Desktop/images/20022025/08/10/image_20022025_08_10_47_10430.jpg', '/home/pi/Desktop/images/20022025/08/10/image_20022025_08_10_56_9358.jpg', '/home/pi/Desktop/images/20022025/08/10/image_20022025_08_11_07_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/09/image_20022025_08_10_07_10392.jpg
/home/pi/Desktop/images/20022025/08/10/image_20022025_08_10_26_9336.jpg
/home/pi/Desktop/images/20022025/08/10/image_20022025_08_10_36_10382.jpg
/home/pi/Desktop/images/20022025/08/10/image_20022025_08_10_47_10430.jpg
/home/pi/Desktop/images/20022025/08/10/image_20022025_08_10_56_9358.jpg
/home/pi/Desktop/images/20022025/08/10/image_20022025_08_11_07_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338630771","1338630741","1338630720","1338630674","1338630781","1338630678"],"photo_ids_order":["1338630674","1338630678","1338630720","1338630741","1338630771","1338630781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/412e5b8b150e6deb69df960cffc68d83.jpg","text":"TemporaryFile(/tmp/multipartBody3696335729364992667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067593127,"filename":"image_20022025_08_10_56_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13af47a9a4879abcdb9c7b148e22e217.jpg","text":"TemporaryFile(/tmp/multipartBody1260988822718907724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067593127,"filename":"image_20022025_08_10_47_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e4d28794e486a5b65c4996fdb4befa0.jpg","text":"TemporaryFile(/tmp/multipartBody8589076455885948848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067593127,"filename":"image_20022025_08_10_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/272b9fb69c1b0ae477de245feeb50545.jpg","text":"TemporaryFile(/tmp/multipartBody659561318645456869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067593127,"filename":"image_20022025_08_10_07_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2710392f6a5ed8eacf38379541a612d8.jpg","text":"TemporaryFile(/tmp/multipartBody4929652800742246437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067593127,"filename":"image_20022025_08_11_07_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ddca7ddd5dfdc01d866cca620e1b710e.jpg","text":"TemporaryFile(/tmp/multipartBody4627908591409390455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067593127,"filename":"image_20022025_08_10_26_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338630720","file1":"1338630678","file0":"1338630674","file4":"1338630771","file5":"1338630781","file3":"1338630741"},"map_files_photo_id_array":[{"photo_id":"1338630781","filename":"file5"},{"photo_id":"1338630720","filename":"file2"},{"photo_id":"1338630771","filename":"file4"},{"photo_id":"1338630678","filename":"file1"},{"photo_id":"1338630674","filename":"file0"},{"photo_id":"1338630741","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338630771":["hashtag1","hashtag2"]},{"1338630741":["hashtag1","hashtag2"]},{"1338630720":["hashtag1","hashtag2"]},{"1338630674":["hashtag1","hashtag2"]},{"1338630781":["hashtag1","hashtag2"]},{"1338630678":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338630771, 1338630741, 1338630720, 1338630674, 1338630781, 1338630678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.555691719055176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:06:32.968614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/11/image_20022025_08_11_17_10348.jpg', '/home/pi/Desktop/images/20022025/08/11/image_20022025_08_11_46_9338.jpg', '/home/pi/Desktop/images/20022025/08/11/image_20022025_08_11_56_10399.jpg', '/home/pi/Desktop/images/20022025/08/11/image_20022025_08_12_07_10340.jpg', '/home/pi/Desktop/images/20022025/08/12/image_20022025_08_12_27_10421.jpg', '/home/pi/Desktop/images/20022025/08/12/image_20022025_08_12_37_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/11/image_20022025_08_11_17_10348.jpg
/home/pi/Desktop/images/20022025/08/11/image_20022025_08_11_46_9338.jpg
/home/pi/Desktop/images/20022025/08/11/image_20022025_08_11_56_10399.jpg
/home/pi/Desktop/images/20022025/08/11/image_20022025_08_12_07_10340.jpg
/home/pi/Desktop/images/20022025/08/12/image_20022025_08_12_27_10421.jpg
/home/pi/Desktop/images/20022025/08/12/image_20022025_08_12_37_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338631119","1338631166","1338631331","1338631127","1338631123","1338631204"],"photo_ids_order":["1338631119","1338631123","1338631127","1338631166","1338631204","1338631331"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e13a59c95fdb403e0fa7700a21a1794.jpg","text":"TemporaryFile(/tmp/multipartBody7779411932888689094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067653546,"filename":"image_20022025_08_11_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e3e2829cca8ec266a41d1b1f1f313ab1.jpg","text":"TemporaryFile(/tmp/multipartBody2739522999161943007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067653546,"filename":"image_20022025_08_12_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd75c95bd4eab1601bf4183328cbb84a.jpg","text":"TemporaryFile(/tmp/multipartBody3120752764449142692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067653546,"filename":"image_20022025_08_12_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfdae1f356ab61e0a5d4015d94960760.jpg","text":"TemporaryFile(/tmp/multipartBody3315403762045531199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067653546,"filename":"image_20022025_08_11_56_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8ad9dc5123bbb96f27ba74f93e7cd498.jpg","text":"TemporaryFile(/tmp/multipartBody6674336464320047495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067653546,"filename":"image_20022025_08_11_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36ce8bb67af82f8bfa7ea16efefe08c3.jpg","text":"TemporaryFile(/tmp/multipartBody9154314800650439136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067653546,"filename":"image_20022025_08_12_27_10421.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338631127","file1":"1338631123","file0":"1338631119","file4":"1338631204","file5":"1338631331","file3":"1338631166"},"map_files_photo_id_array":[{"photo_id":"1338631331","filename":"file5"},{"photo_id":"1338631127","filename":"file2"},{"photo_id":"1338631204","filename":"file4"},{"photo_id":"1338631123","filename":"file1"},{"photo_id":"1338631119","filename":"file0"},{"photo_id":"1338631166","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338631119":["hashtag1","hashtag2"]},{"1338631166":["hashtag1","hashtag2"]},{"1338631331":["hashtag1","hashtag2"]},{"1338631127":["hashtag1","hashtag2"]},{"1338631123":["hashtag1","hashtag2"]},{"1338631204":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338631119, 1338631166, 1338631331, 1338631127, 1338631123, 1338631204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.017882108688354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:07:32.223503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/12/image_20022025_08_12_57_10353.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_16_10348.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_27_10350.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_36_9319.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_46_10387.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_57_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/12/image_20022025_08_12_57_10353.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_16_10348.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_27_10350.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_36_9319.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_46_10387.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_57_10345.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4868166446685791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 17:07:42.249112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/12/image_20022025_08_12_57_10353.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_16_10348.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_27_10350.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_36_9319.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_46_10387.jpg', '/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_57_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/12/image_20022025_08_12_57_10353.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_16_10348.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_27_10350.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_36_9319.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_46_10387.jpg
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_13_57_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338631419","1338631438","1338631423","1338631398","1338631452","1338631425"],"photo_ids_order":["1338631398","1338631419","1338631423","1338631425","1338631438","1338631452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f334bea77d7b0b3a5dd12030245ebce6.jpg","text":"TemporaryFile(/tmp/multipartBody3186371842089973016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067722722,"filename":"image_20022025_08_13_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92a8be4a8917e775cafc635d3e8009f3.jpg","text":"TemporaryFile(/tmp/multipartBody699896673669204052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067722722,"filename":"image_20022025_08_13_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/778d1fba323abbab705efb17ceb23d0c.jpg","text":"TemporaryFile(/tmp/multipartBody5431002647860616618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067722722,"filename":"image_20022025_08_13_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed5d0ad152be58315923240b64912403.jpg","text":"TemporaryFile(/tmp/multipartBody3659860300319763415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067722722,"filename":"image_20022025_08_12_57_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5813e161585b364920a5a57e30b9d630.jpg","text":"TemporaryFile(/tmp/multipartBody4131332424441618050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067722722,"filename":"image_20022025_08_13_57_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ae8c1b1b8fb4ae246bd3fde407ecf178.jpg","text":"TemporaryFile(/tmp/multipartBody8241158316170610069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067722722,"filename":"image_20022025_08_13_36_9319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338631423","file1":"1338631419","file0":"1338631398","file4":"1338631438","file5":"1338631452","file3":"1338631425"},"map_files_photo_id_array":[{"photo_id":"1338631452","filename":"file5"},{"photo_id":"1338631423","filename":"file2"},{"photo_id":"1338631438","filename":"file4"},{"photo_id":"1338631419","filename":"file1"},{"photo_id":"1338631398","filename":"file0"},{"photo_id":"1338631425","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338631419":["hashtag1","hashtag2"]},{"1338631438":["hashtag1","hashtag2"]},{"1338631423":["hashtag1","hashtag2"]},{"1338631398":["hashtag1","hashtag2"]},{"1338631452":["hashtag1","hashtag2"]},{"1338631425":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338631419, 1338631438, 1338631423, 1338631398, 1338631452, 1338631425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72933483123779 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:08:32.341557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/13/image_20022025_08_14_06_9320.jpg', '/home/pi/Desktop/images/20022025/08/14/image_20022025_08_14_16_10341.jpg', '/home/pi/Desktop/images/20022025/08/15/image_20022025_08_15_46_10365.jpg', '/home/pi/Desktop/images/20022025/08/15/image_20022025_08_16_06_9350.jpg', '/home/pi/Desktop/images/20022025/08/16/image_20022025_08_16_16_10321.jpg', '/home/pi/Desktop/images/20022025/08/16/image_20022025_08_16_27_10400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/13/image_20022025_08_14_06_9320.jpg
/home/pi/Desktop/images/20022025/08/14/image_20022025_08_14_16_10341.jpg
/home/pi/Desktop/images/20022025/08/15/image_20022025_08_15_46_10365.jpg
/home/pi/Desktop/images/20022025/08/15/image_20022025_08_16_06_9350.jpg
/home/pi/Desktop/images/20022025/08/16/image_20022025_08_16_16_10321.jpg
/home/pi/Desktop/images/20022025/08/16/image_20022025_08_16_27_10400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338631493","1338631481","1338631495","1338631488","1338631497","1338631491"],"photo_ids_order":["1338631481","1338631488","1338631491","1338631493","1338631495","1338631497"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/965ae1b7cbdd4851cc5c95230f124ed4.jpg","text":"TemporaryFile(/tmp/multipartBody878512244433592550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067772901,"filename":"image_20022025_08_16_06_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc7578e5a19c7daae1c4a58e702e375f.jpg","text":"TemporaryFile(/tmp/multipartBody8441966170806433585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067772901,"filename":"image_20022025_08_14_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1c08597ab545fccd334246d967d1a58.jpg","text":"TemporaryFile(/tmp/multipartBody6497085763626372827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067772901,"filename":"image_20022025_08_16_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4aa24bcaa4a0b956aa6b94e7c5353996.jpg","text":"TemporaryFile(/tmp/multipartBody1816590970276571763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067772901,"filename":"image_20022025_08_14_16_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57f14373fec11413c3955b1ed0844ae9.jpg","text":"TemporaryFile(/tmp/multipartBody6207043411787506592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067772901,"filename":"image_20022025_08_16_27_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1161b2b05756bb5c3b33043ab9f2b6f.jpg","text":"TemporaryFile(/tmp/multipartBody2650137624751712555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067772901,"filename":"image_20022025_08_15_46_10365.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338631491","file1":"1338631488","file0":"1338631481","file4":"1338631495","file5":"1338631497","file3":"1338631493"},"map_files_photo_id_array":[{"photo_id":"1338631497","filename":"file5"},{"photo_id":"1338631491","filename":"file2"},{"photo_id":"1338631495","filename":"file4"},{"photo_id":"1338631488","filename":"file1"},{"photo_id":"1338631481","filename":"file0"},{"photo_id":"1338631493","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338631493":["hashtag1","hashtag2"]},{"1338631481":["hashtag1","hashtag2"]},{"1338631495":["hashtag1","hashtag2"]},{"1338631488":["hashtag1","hashtag2"]},{"1338631497":["hashtag1","hashtag2"]},{"1338631491":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338631493, 1338631481, 1338631495, 1338631488, 1338631497, 1338631491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08621859550476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:09:32.661851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/16/image_20022025_08_16_36_9340.jpg', '/home/pi/Desktop/images/20022025/08/16/image_20022025_08_17_06_9378.jpg', '/home/pi/Desktop/images/20022025/08/17/image_20022025_08_17_17_10417.jpg', '/home/pi/Desktop/images/20022025/08/17/image_20022025_08_18_07_10453.jpg', '/home/pi/Desktop/images/20022025/08/18/image_20022025_08_18_26_9391.jpg', '/home/pi/Desktop/images/20022025/08/18/image_20022025_08_18_46_9365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/16/image_20022025_08_16_36_9340.jpg
/home/pi/Desktop/images/20022025/08/16/image_20022025_08_17_06_9378.jpg
/home/pi/Desktop/images/20022025/08/17/image_20022025_08_17_17_10417.jpg
/home/pi/Desktop/images/20022025/08/17/image_20022025_08_18_07_10453.jpg
/home/pi/Desktop/images/20022025/08/18/image_20022025_08_18_26_9391.jpg
/home/pi/Desktop/images/20022025/08/18/image_20022025_08_18_46_9365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338631541","1338631540","1338631528","1338631531","1338631542","1338631539"],"photo_ids_order":["1338631528","1338631531","1338631539","1338631540","1338631541","1338631542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d82d120c312f7a512b4492d63d51fd4.jpg","text":"TemporaryFile(/tmp/multipartBody201741930991577395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067833231,"filename":"image_20022025_08_18_26_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fba0b8a78444452ec97e400842ca5cd0.jpg","text":"TemporaryFile(/tmp/multipartBody7326752222254032513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067833231,"filename":"image_20022025_08_18_07_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6cb1a7f5f9d7b4eac3e08380c2ec62f.jpg","text":"TemporaryFile(/tmp/multipartBody7321896236999761145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067833231,"filename":"image_20022025_08_16_36_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c66238999a22b607ff414997126563a8.jpg","text":"TemporaryFile(/tmp/multipartBody1885276495694908819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067833231,"filename":"image_20022025_08_17_06_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b679be03c6d2e6d569d5dee2049ece3f.jpg","text":"TemporaryFile(/tmp/multipartBody511121083947708269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067833231,"filename":"image_20022025_08_18_46_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1fb4dd7428a5e1a2a209b552403f9c96.jpg","text":"TemporaryFile(/tmp/multipartBody3310772902280336291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067833231,"filename":"image_20022025_08_17_17_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338631539","file1":"1338631531","file0":"1338631528","file4":"1338631541","file5":"1338631542","file3":"1338631540"},"map_files_photo_id_array":[{"photo_id":"1338631542","filename":"file5"},{"photo_id":"1338631539","filename":"file2"},{"photo_id":"1338631541","filename":"file4"},{"photo_id":"1338631531","filename":"file1"},{"photo_id":"1338631528","filename":"file0"},{"photo_id":"1338631540","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338631541":["hashtag1","hashtag2"]},{"1338631540":["hashtag1","hashtag2"]},{"1338631528":["hashtag1","hashtag2"]},{"1338631531":["hashtag1","hashtag2"]},{"1338631542":["hashtag1","hashtag2"]},{"1338631539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338631541, 1338631540, 1338631528, 1338631531, 1338631542, 1338631539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64763569831848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:10:32.762787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/18/image_20022025_08_19_07_10383.jpg', '/home/pi/Desktop/images/20022025/08/19/image_20022025_08_19_16_9342.jpg', '/home/pi/Desktop/images/20022025/08/19/image_20022025_08_19_26_10391.jpg', '/home/pi/Desktop/images/20022025/08/19/image_20022025_08_19_46_9398.jpg', '/home/pi/Desktop/images/20022025/08/19/image_20022025_08_20_06_9316.jpg', '/home/pi/Desktop/images/20022025/08/20/image_20022025_08_20_36_9385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/18/image_20022025_08_19_07_10383.jpg
/home/pi/Desktop/images/20022025/08/19/image_20022025_08_19_16_9342.jpg
/home/pi/Desktop/images/20022025/08/19/image_20022025_08_19_26_10391.jpg
/home/pi/Desktop/images/20022025/08/19/image_20022025_08_19_46_9398.jpg
/home/pi/Desktop/images/20022025/08/19/image_20022025_08_20_06_9316.jpg
/home/pi/Desktop/images/20022025/08/20/image_20022025_08_20_36_9385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338631616","1338631613","1338631579","1338631621","1338631647","1338631605"],"photo_ids_order":["1338631579","1338631605","1338631613","1338631616","1338631621","1338631647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d483db0743a5e5e5c809bafda20cc6e7.jpg","text":"TemporaryFile(/tmp/multipartBody6163440141871694255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067893332,"filename":"image_20022025_08_19_46_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2b2a8692a3ce5c4d355ec5c7c3a78c6.jpg","text":"TemporaryFile(/tmp/multipartBody8000641996718176568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067893332,"filename":"image_20022025_08_19_26_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0c0a2743a2a42adf8719469b3ecd85d.jpg","text":"TemporaryFile(/tmp/multipartBody8168256000659743690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067893332,"filename":"image_20022025_08_19_07_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3511e89998e0ed79736453fcad0f079a.jpg","text":"TemporaryFile(/tmp/multipartBody6491276709468135022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067893332,"filename":"image_20022025_08_20_06_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6eaae5865ddd317007502f56a06f795d.jpg","text":"TemporaryFile(/tmp/multipartBody1922791948295059590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067893332,"filename":"image_20022025_08_20_36_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/425bd4ea6481bb1d40f5dda624888667.jpg","text":"TemporaryFile(/tmp/multipartBody2351034871233328161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067893332,"filename":"image_20022025_08_19_16_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338631613","file1":"1338631605","file0":"1338631579","file4":"1338631621","file5":"1338631647","file3":"1338631616"},"map_files_photo_id_array":[{"photo_id":"1338631647","filename":"file5"},{"photo_id":"1338631613","filename":"file2"},{"photo_id":"1338631621","filename":"file4"},{"photo_id":"1338631605","filename":"file1"},{"photo_id":"1338631579","filename":"file0"},{"photo_id":"1338631616","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338631616":["hashtag1","hashtag2"]},{"1338631613":["hashtag1","hashtag2"]},{"1338631579":["hashtag1","hashtag2"]},{"1338631621":["hashtag1","hashtag2"]},{"1338631647":["hashtag1","hashtag2"]},{"1338631605":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338631616, 1338631613, 1338631579, 1338631621, 1338631647, 1338631605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9547975063324 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:11:32.939183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/20/image_20022025_08_20_47_10410.jpg', '/home/pi/Desktop/images/20022025/08/20/image_20022025_08_21_06_9348.jpg', '/home/pi/Desktop/images/20022025/08/21/image_20022025_08_21_26_9348.jpg', '/home/pi/Desktop/images/20022025/08/21/image_20022025_08_22_06_10399.jpg', '/home/pi/Desktop/images/20022025/08/22/image_20022025_08_22_37_10380.jpg', '/home/pi/Desktop/images/20022025/08/22/image_20022025_08_22_46_9444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/20/image_20022025_08_20_47_10410.jpg
/home/pi/Desktop/images/20022025/08/20/image_20022025_08_21_06_9348.jpg
/home/pi/Desktop/images/20022025/08/21/image_20022025_08_21_26_9348.jpg
/home/pi/Desktop/images/20022025/08/21/image_20022025_08_22_06_10399.jpg
/home/pi/Desktop/images/20022025/08/22/image_20022025_08_22_37_10380.jpg
/home/pi/Desktop/images/20022025/08/22/image_20022025_08_22_46_9444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338631994","1338631961","1338631991","1338631798","1338631864","1338631903"],"photo_ids_order":["1338631798","1338631864","1338631903","1338631961","1338631991","1338631994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7abbd0c8c81e4ec9af03c7efb7abe44d.jpg","text":"TemporaryFile(/tmp/multipartBody5516659806077520497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067953518,"filename":"image_20022025_08_22_46_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f394e2520636975c004b91dde2834ea.jpg","text":"TemporaryFile(/tmp/multipartBody2506570488850096289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067953518,"filename":"image_20022025_08_22_06_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0000952d9603f76222c457e3f00caa40.jpg","text":"TemporaryFile(/tmp/multipartBody3108696285052759108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067953518,"filename":"image_20022025_08_22_37_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/93ed0b9470169ccedfade9d34b106e3f.jpg","text":"TemporaryFile(/tmp/multipartBody5697085843347746536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067953518,"filename":"image_20022025_08_20_47_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ab9da1c81fc969389d447fb97b6f22a.jpg","text":"TemporaryFile(/tmp/multipartBody5393068245519329477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067953518,"filename":"image_20022025_08_21_06_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/452b4b0ff645cb06ca93f8496ea0b5a6.jpg","text":"TemporaryFile(/tmp/multipartBody4766680034908254050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740067953518,"filename":"image_20022025_08_21_26_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338631903","file1":"1338631864","file0":"1338631798","file4":"1338631991","file5":"1338631994","file3":"1338631961"},"map_files_photo_id_array":[{"photo_id":"1338631994","filename":"file5"},{"photo_id":"1338631903","filename":"file2"},{"photo_id":"1338631991","filename":"file4"},{"photo_id":"1338631864","filename":"file1"},{"photo_id":"1338631798","filename":"file0"},{"photo_id":"1338631961","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338631994":["hashtag1","hashtag2"]},{"1338631961":["hashtag1","hashtag2"]},{"1338631991":["hashtag1","hashtag2"]},{"1338631798":["hashtag1","hashtag2"]},{"1338631864":["hashtag1","hashtag2"]},{"1338631903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338631994, 1338631961, 1338631991, 1338631798, 1338631864, 1338631903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.233702182769775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:12:33.154984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/22/image_20022025_08_23_07_10309.jpg', '/home/pi/Desktop/images/20022025/08/23/image_20022025_08_23_16_9323.jpg', '/home/pi/Desktop/images/20022025/08/23/image_20022025_08_23_27_10360.jpg', '/home/pi/Desktop/images/20022025/08/23/image_20022025_08_23_37_10321.jpg', '/home/pi/Desktop/images/20022025/08/23/image_20022025_08_23_57_10467.jpg', '/home/pi/Desktop/images/20022025/08/24/image_20022025_08_24_16_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/22/image_20022025_08_23_07_10309.jpg
/home/pi/Desktop/images/20022025/08/23/image_20022025_08_23_16_9323.jpg
/home/pi/Desktop/images/20022025/08/23/image_20022025_08_23_27_10360.jpg
/home/pi/Desktop/images/20022025/08/23/image_20022025_08_23_37_10321.jpg
/home/pi/Desktop/images/20022025/08/23/image_20022025_08_23_57_10467.jpg
/home/pi/Desktop/images/20022025/08/24/image_20022025_08_24_16_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338632015","1338632018","1338632011","1338632020","1338632016","1338632013"],"photo_ids_order":["1338632011","1338632013","1338632015","1338632016","1338632018","1338632020"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6012bad902bb28d02b33045d26e6b2e3.jpg","text":"TemporaryFile(/tmp/multipartBody8923886002041938548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068013746,"filename":"image_20022025_08_23_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a18450c1d4c8c731886376e357bcea3c.jpg","text":"TemporaryFile(/tmp/multipartBody1017501414613190914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068013746,"filename":"image_20022025_08_23_57_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dbb17e71ef1ba9fc355e93613d966f3c.jpg","text":"TemporaryFile(/tmp/multipartBody1567326177806511776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068013746,"filename":"image_20022025_08_23_07_10309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b986d47383e90880074624e5d684131.jpg","text":"TemporaryFile(/tmp/multipartBody7726193583414913859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068013746,"filename":"image_20022025_08_24_16_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd7dc551a58ca252f4263dbae7fc85c1.jpg","text":"TemporaryFile(/tmp/multipartBody1238230769734594294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068013746,"filename":"image_20022025_08_23_37_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/630eb8e5c9f5c1a50618a57b7ec48163.jpg","text":"TemporaryFile(/tmp/multipartBody4247230725384735922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068013746,"filename":"image_20022025_08_23_16_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632015","file1":"1338632013","file0":"1338632011","file4":"1338632018","file5":"1338632020","file3":"1338632016"},"map_files_photo_id_array":[{"photo_id":"1338632020","filename":"file5"},{"photo_id":"1338632015","filename":"file2"},{"photo_id":"1338632018","filename":"file4"},{"photo_id":"1338632013","filename":"file1"},{"photo_id":"1338632011","filename":"file0"},{"photo_id":"1338632016","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338632015":["hashtag1","hashtag2"]},{"1338632018":["hashtag1","hashtag2"]},{"1338632011":["hashtag1","hashtag2"]},{"1338632020":["hashtag1","hashtag2"]},{"1338632016":["hashtag1","hashtag2"]},{"1338632013":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338632015, 1338632018, 1338632011, 1338632020, 1338632016, 1338632013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36521625518799 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:13:32.207042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/24/image_20022025_08_24_27_10412.jpg', '/home/pi/Desktop/images/20022025/08/24/image_20022025_08_24_36_9317.jpg', '/home/pi/Desktop/images/20022025/08/24/image_20022025_08_24_57_10337.jpg', '/home/pi/Desktop/images/20022025/08/25/image_20022025_08_25_17_10347.jpg', '/home/pi/Desktop/images/20022025/08/25/image_20022025_08_25_36_9335.jpg', '/home/pi/Desktop/images/20022025/08/25/image_20022025_08_25_47_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/24/image_20022025_08_24_27_10412.jpg
/home/pi/Desktop/images/20022025/08/24/image_20022025_08_24_36_9317.jpg
/home/pi/Desktop/images/20022025/08/24/image_20022025_08_24_57_10337.jpg
/home/pi/Desktop/images/20022025/08/25/image_20022025_08_25_17_10347.jpg
/home/pi/Desktop/images/20022025/08/25/image_20022025_08_25_36_9335.jpg
/home/pi/Desktop/images/20022025/08/25/image_20022025_08_25_47_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338632063","1338632041","1338632059","1338632058","1338632052","1338632061"],"photo_ids_order":["1338632041","1338632052","1338632058","1338632059","1338632061","1338632063"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2453d2f3e0daf5c117e2cdca89a9b689.jpg","text":"TemporaryFile(/tmp/multipartBody8795419578705450861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068072787,"filename":"image_20022025_08_25_47_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31a7c5fad05d49bdeeb9eaf8c4e34562.jpg","text":"TemporaryFile(/tmp/multipartBody1660038396670366956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068072787,"filename":"image_20022025_08_24_27_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/35bf6e879f0069d60b89a381a38bf2c0.jpg","text":"TemporaryFile(/tmp/multipartBody7698229362341174965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068072787,"filename":"image_20022025_08_25_17_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e5a88df8289754832309498b2fc7dc0e.jpg","text":"TemporaryFile(/tmp/multipartBody1951486759264741409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068072787,"filename":"image_20022025_08_24_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08496ffb469c1448fc0159053a6aa8c0.jpg","text":"TemporaryFile(/tmp/multipartBody1585358786601301442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068072787,"filename":"image_20022025_08_24_36_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60517e96d152a47292d6b34bbd2d1e63.jpg","text":"TemporaryFile(/tmp/multipartBody436533424212777493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068072787,"filename":"image_20022025_08_25_36_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632058","file1":"1338632052","file0":"1338632041","file4":"1338632061","file5":"1338632063","file3":"1338632059"},"map_files_photo_id_array":[{"photo_id":"1338632063","filename":"file5"},{"photo_id":"1338632058","filename":"file2"},{"photo_id":"1338632061","filename":"file4"},{"photo_id":"1338632052","filename":"file1"},{"photo_id":"1338632041","filename":"file0"},{"photo_id":"1338632059","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338632063":["hashtag1","hashtag2"]},{"1338632041":["hashtag1","hashtag2"]},{"1338632059":["hashtag1","hashtag2"]},{"1338632058":["hashtag1","hashtag2"]},{"1338632052":["hashtag1","hashtag2"]},{"1338632061":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338632063, 1338632041, 1338632059, 1338632058, 1338632052, 1338632061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.522074937820435 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:14:32.628489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/26/image_20022025_08_26_37_10389.jpg', '/home/pi/Desktop/images/20022025/08/26/image_20022025_08_26_47_10353.jpg', '/home/pi/Desktop/images/20022025/08/26/image_20022025_08_26_56_9332.jpg', '/home/pi/Desktop/images/20022025/08/26/image_20022025_08_27_07_10322.jpg', '/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_17_10335.jpg', '/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_26_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/26/image_20022025_08_26_37_10389.jpg
/home/pi/Desktop/images/20022025/08/26/image_20022025_08_26_47_10353.jpg
/home/pi/Desktop/images/20022025/08/26/image_20022025_08_26_56_9332.jpg
/home/pi/Desktop/images/20022025/08/26/image_20022025_08_27_07_10322.jpg
/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_17_10335.jpg
/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_26_9380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338632099","1338632098","1338632102","1338632104","1338632100","1338632106"],"photo_ids_order":["1338632098","1338632099","1338632100","1338632102","1338632104","1338632106"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b847f40186cad4839f393f95296127fa.jpg","text":"TemporaryFile(/tmp/multipartBody2698157399882406253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068133190,"filename":"image_20022025_08_26_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b27615febdfc9cfebd1a8f4c73fd1ff2.jpg","text":"TemporaryFile(/tmp/multipartBody4096706462570896549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068133190,"filename":"image_20022025_08_26_37_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/07089e61d336699502171b21b6e5c396.jpg","text":"TemporaryFile(/tmp/multipartBody6736956240761812776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068133190,"filename":"image_20022025_08_27_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92ef67d6550af68a9b9cc69e21d3b344.jpg","text":"TemporaryFile(/tmp/multipartBody1702727654645894175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068133190,"filename":"image_20022025_08_27_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c91ddc8ef7f9736524f58587a1a1efa8.jpg","text":"TemporaryFile(/tmp/multipartBody9087407943684013731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068133190,"filename":"image_20022025_08_26_56_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a0eaa7bb465e0e870509491423aca43f.jpg","text":"TemporaryFile(/tmp/multipartBody3353722980394260859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068133190,"filename":"image_20022025_08_27_26_9380.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632100","file1":"1338632099","file0":"1338632098","file4":"1338632104","file5":"1338632106","file3":"1338632102"},"map_files_photo_id_array":[{"photo_id":"1338632106","filename":"file5"},{"photo_id":"1338632100","filename":"file2"},{"photo_id":"1338632104","filename":"file4"},{"photo_id":"1338632099","filename":"file1"},{"photo_id":"1338632098","filename":"file0"},{"photo_id":"1338632102","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338632099":["hashtag1","hashtag2"]},{"1338632098":["hashtag1","hashtag2"]},{"1338632102":["hashtag1","hashtag2"]},{"1338632104":["hashtag1","hashtag2"]},{"1338632100":["hashtag1","hashtag2"]},{"1338632106":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338632099, 1338632098, 1338632102, 1338632104, 1338632100, 1338632106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36646342277527 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:15:32.669808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_37_10330.jpg', '/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_46_9351.jpg', '/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_56_10351.jpg', '/home/pi/Desktop/images/20022025/08/27/image_20022025_08_28_07_10333.jpg', '/home/pi/Desktop/images/20022025/08/28/image_20022025_08_28_16_9330.jpg', '/home/pi/Desktop/images/20022025/08/28/image_20022025_08_28_26_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_37_10330.jpg
/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_46_9351.jpg
/home/pi/Desktop/images/20022025/08/27/image_20022025_08_27_56_10351.jpg
/home/pi/Desktop/images/20022025/08/27/image_20022025_08_28_07_10333.jpg
/home/pi/Desktop/images/20022025/08/28/image_20022025_08_28_16_9330.jpg
/home/pi/Desktop/images/20022025/08/28/image_20022025_08_28_26_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338632123","1338632134","1338632137","1338632119","1338632127","1338632121"],"photo_ids_order":["1338632119","1338632121","1338632123","1338632127","1338632134","1338632137"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/083db002cd77c4a407bd18319c7c639f.jpg","text":"TemporaryFile(/tmp/multipartBody1974134927276103747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068193232,"filename":"image_20022025_08_27_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10b67d6c36c5b5a183b29924270ab00d.jpg","text":"TemporaryFile(/tmp/multipartBody4651743893400913942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068193232,"filename":"image_20022025_08_28_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6082aeda3424ee0268f5e993eb9d6566.jpg","text":"TemporaryFile(/tmp/multipartBody4551154394040848198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068193232,"filename":"image_20022025_08_28_26_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ade48d9851d9f15c33e8e3fa07d2aa2e.jpg","text":"TemporaryFile(/tmp/multipartBody6547771907858595443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068193232,"filename":"image_20022025_08_27_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/516e387e5af2cfeedf8f5e98cb2d5cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8968870250797732815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068193232,"filename":"image_20022025_08_28_07_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfc14de3e88af074afda316f512b1342.jpg","text":"TemporaryFile(/tmp/multipartBody1605320185998482574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068193232,"filename":"image_20022025_08_27_46_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632123","file1":"1338632121","file0":"1338632119","file4":"1338632134","file5":"1338632137","file3":"1338632127"},"map_files_photo_id_array":[{"photo_id":"1338632137","filename":"file5"},{"photo_id":"1338632123","filename":"file2"},{"photo_id":"1338632134","filename":"file4"},{"photo_id":"1338632121","filename":"file1"},{"photo_id":"1338632119","filename":"file0"},{"photo_id":"1338632127","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338632123":["hashtag1","hashtag2"]},{"1338632134":["hashtag1","hashtag2"]},{"1338632137":["hashtag1","hashtag2"]},{"1338632119":["hashtag1","hashtag2"]},{"1338632127":["hashtag1","hashtag2"]},{"1338632121":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338632123, 1338632134, 1338632137, 1338632119, 1338632127, 1338632121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28690195083618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:16:32.920429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/28/image_20022025_08_28_56_10374.jpg', '/home/pi/Desktop/images/20022025/08/28/image_20022025_08_29_07_10376.jpg', '/home/pi/Desktop/images/20022025/08/29/image_20022025_08_29_16_9329.jpg', '/home/pi/Desktop/images/20022025/08/29/image_20022025_08_29_47_9736.jpg', '/home/pi/Desktop/images/20022025/08/29/image_20022025_08_30_06_10332.jpg', '/home/pi/Desktop/images/20022025/08/30/image_20022025_08_30_26_9346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/28/image_20022025_08_28_56_10374.jpg
/home/pi/Desktop/images/20022025/08/28/image_20022025_08_29_07_10376.jpg
/home/pi/Desktop/images/20022025/08/29/image_20022025_08_29_16_9329.jpg
/home/pi/Desktop/images/20022025/08/29/image_20022025_08_29_47_9736.jpg
/home/pi/Desktop/images/20022025/08/29/image_20022025_08_30_06_10332.jpg
/home/pi/Desktop/images/20022025/08/30/image_20022025_08_30_26_9346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338632167","1338632181","1338632190","1338632184","1338632187","1338632192"],"photo_ids_order":["1338632167","1338632181","1338632184","1338632187","1338632190","1338632192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04f285b41fc406c15c00031a33a8131a.jpg","text":"TemporaryFile(/tmp/multipartBody5157683065123161533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068253503,"filename":"image_20022025_08_28_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5aa0c46ef51b18fffe3ca5ce6100d393.jpg","text":"TemporaryFile(/tmp/multipartBody1599835478781975614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068253503,"filename":"image_20022025_08_29_07_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c09548134931d58aebd4cb12a8d3705.jpg","text":"TemporaryFile(/tmp/multipartBody5494821307984068788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068253503,"filename":"image_20022025_08_30_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c05f9a909dfc20ee443a7726f2bfa450.jpg","text":"TemporaryFile(/tmp/multipartBody7616882256069636050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068253503,"filename":"image_20022025_08_29_16_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/758d68f78eaa40c990c76590a1727bcd.jpg","text":"TemporaryFile(/tmp/multipartBody6587468853245603793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068253503,"filename":"image_20022025_08_29_47_9736.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/80d14848099025f072a669d853138478.jpg","text":"TemporaryFile(/tmp/multipartBody4957105936361390493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068253503,"filename":"image_20022025_08_30_26_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632184","file1":"1338632181","file0":"1338632167","file4":"1338632190","file5":"1338632192","file3":"1338632187"},"map_files_photo_id_array":[{"photo_id":"1338632192","filename":"file5"},{"photo_id":"1338632184","filename":"file2"},{"photo_id":"1338632190","filename":"file4"},{"photo_id":"1338632181","filename":"file1"},{"photo_id":"1338632167","filename":"file0"},{"photo_id":"1338632187","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338632167":["hashtag1","hashtag2"]},{"1338632181":["hashtag1","hashtag2"]},{"1338632190":["hashtag1","hashtag2"]},{"1338632184":["hashtag1","hashtag2"]},{"1338632187":["hashtag1","hashtag2"]},{"1338632192":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338632167, 1338632181, 1338632190, 1338632184, 1338632187, 1338632192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23569178581238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:17:32.189353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/30/image_20022025_08_30_36_10347.jpg', '/home/pi/Desktop/images/20022025/08/30/image_20022025_08_30_47_10443.jpg', '/home/pi/Desktop/images/20022025/08/30/image_20022025_08_31_06_10385.jpg', '/home/pi/Desktop/images/20022025/08/31/image_20022025_08_31_17_10357.jpg', '/home/pi/Desktop/images/20022025/08/31/image_20022025_08_31_26_9355.jpg', '/home/pi/Desktop/images/20022025/08/31/image_20022025_08_31_47_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/30/image_20022025_08_30_36_10347.jpg
/home/pi/Desktop/images/20022025/08/30/image_20022025_08_30_47_10443.jpg
/home/pi/Desktop/images/20022025/08/30/image_20022025_08_31_06_10385.jpg
/home/pi/Desktop/images/20022025/08/31/image_20022025_08_31_17_10357.jpg
/home/pi/Desktop/images/20022025/08/31/image_20022025_08_31_26_9355.jpg
/home/pi/Desktop/images/20022025/08/31/image_20022025_08_31_47_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338632204","1338632206","1338632211","1338632214","1338632208","1338632217"],"photo_ids_order":["1338632204","1338632206","1338632208","1338632211","1338632214","1338632217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/121d2c538c4f49d33dd4d1b3dd25eb6f.jpg","text":"TemporaryFile(/tmp/multipartBody3215109997875544237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068312767,"filename":"image_20022025_08_30_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb41f91852244b3ccc1506e774aec08c.jpg","text":"TemporaryFile(/tmp/multipartBody471902752066509223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068312767,"filename":"image_20022025_08_30_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/588c42b79b38c03ba70d6cf683f16fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7910598797009830542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068312767,"filename":"image_20022025_08_31_17_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95cb0ced5cc42c8149b81bab36a1600d.jpg","text":"TemporaryFile(/tmp/multipartBody1501462507386012090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068312767,"filename":"image_20022025_08_31_26_9355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/baf574e4d31a5b58f3565b762d996772.jpg","text":"TemporaryFile(/tmp/multipartBody4267007412705811485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068312767,"filename":"image_20022025_08_31_06_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd0169d902db364a5fde02d77d40679d.jpg","text":"TemporaryFile(/tmp/multipartBody8328957028874025354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068312767,"filename":"image_20022025_08_31_47_10364.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632208","file1":"1338632206","file0":"1338632204","file4":"1338632214","file5":"1338632217","file3":"1338632211"},"map_files_photo_id_array":[{"photo_id":"1338632217","filename":"file5"},{"photo_id":"1338632208","filename":"file2"},{"photo_id":"1338632214","filename":"file4"},{"photo_id":"1338632206","filename":"file1"},{"photo_id":"1338632204","filename":"file0"},{"photo_id":"1338632211","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338632204":["hashtag1","hashtag2"]},{"1338632206":["hashtag1","hashtag2"]},{"1338632211":["hashtag1","hashtag2"]},{"1338632214":["hashtag1","hashtag2"]},{"1338632208":["hashtag1","hashtag2"]},{"1338632217":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338632204, 1338632206, 1338632211, 1338632214, 1338632208, 1338632217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.347984790802002 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:18:32.362952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/32/image_20022025_08_32_26_10450.jpg', '/home/pi/Desktop/images/20022025/08/32/image_20022025_08_32_46_9337.jpg', '/home/pi/Desktop/images/20022025/08/33/image_20022025_08_33_16_9128.jpg', '/home/pi/Desktop/images/20022025/08/33/image_20022025_08_33_26_10366.jpg', '/home/pi/Desktop/images/20022025/08/33/image_20022025_08_33_37_10406.jpg', '/home/pi/Desktop/images/20022025/08/33/image_20022025_08_34_06_9461.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/32/image_20022025_08_32_26_10450.jpg
/home/pi/Desktop/images/20022025/08/32/image_20022025_08_32_46_9337.jpg
/home/pi/Desktop/images/20022025/08/33/image_20022025_08_33_16_9128.jpg
/home/pi/Desktop/images/20022025/08/33/image_20022025_08_33_26_10366.jpg
/home/pi/Desktop/images/20022025/08/33/image_20022025_08_33_37_10406.jpg
/home/pi/Desktop/images/20022025/08/33/image_20022025_08_34_06_9461.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338632249","1338632246","1338632251","1338632256","1338632244","1338632241"],"photo_ids_order":["1338632241","1338632244","1338632246","1338632249","1338632251","1338632256"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/573423b70b93d7a5c26a1404aaae8a48.jpg","text":"TemporaryFile(/tmp/multipartBody4417568359066180464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068372954,"filename":"image_20022025_08_33_26_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91ef0323d933c76a47867a72b2abf573.jpg","text":"TemporaryFile(/tmp/multipartBody3816175421814405516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068372954,"filename":"image_20022025_08_33_16_9128.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42acb49f72acb0cd755c2b0e47523f44.jpg","text":"TemporaryFile(/tmp/multipartBody8112566180252432751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068372954,"filename":"image_20022025_08_33_37_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7adc5d1159d0f95b761c5af386f0f429.jpg","text":"TemporaryFile(/tmp/multipartBody3010321706881638021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068372954,"filename":"image_20022025_08_34_06_9461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/74b54c559b4d42e53c0c91cfae475b86.jpg","text":"TemporaryFile(/tmp/multipartBody538305219339991368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068372954,"filename":"image_20022025_08_32_46_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b307bf8b9b25888382e530daf5f4b1e.jpg","text":"TemporaryFile(/tmp/multipartBody5417706411508962716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068372954,"filename":"image_20022025_08_32_26_10450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632246","file1":"1338632244","file0":"1338632241","file4":"1338632251","file5":"1338632256","file3":"1338632249"},"map_files_photo_id_array":[{"photo_id":"1338632256","filename":"file5"},{"photo_id":"1338632246","filename":"file2"},{"photo_id":"1338632251","filename":"file4"},{"photo_id":"1338632244","filename":"file1"},{"photo_id":"1338632241","filename":"file0"},{"photo_id":"1338632249","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338632249":["hashtag1","hashtag2"]},{"1338632246":["hashtag1","hashtag2"]},{"1338632251":["hashtag1","hashtag2"]},{"1338632256":["hashtag1","hashtag2"]},{"1338632244":["hashtag1","hashtag2"]},{"1338632241":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338632249, 1338632246, 1338632251, 1338632256, 1338632244, 1338632241)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.26037883758545 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:19:32.478234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_17_10505.jpg', '/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_27_10394.jpg', '/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_36_9346.jpg', '/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_47_10430.jpg', '/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_56_9336.jpg', '/home/pi/Desktop/images/20022025/08/34/image_20022025_08_35_06_10321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_17_10505.jpg
/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_27_10394.jpg
/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_36_9346.jpg
/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_47_10430.jpg
/home/pi/Desktop/images/20022025/08/34/image_20022025_08_34_56_9336.jpg
/home/pi/Desktop/images/20022025/08/34/image_20022025_08_35_06_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338632297","1338632300","1338632299","1338632293","1338632295","1338632301"],"photo_ids_order":["1338632293","1338632295","1338632297","1338632299","1338632300","1338632301"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e62f0353080d7946b55940c9f916d3f.jpg","text":"TemporaryFile(/tmp/multipartBody8233431019370903461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068433041,"filename":"image_20022025_08_34_36_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/44f6e30fb14cfc9f7adf95f551ccbae5.jpg","text":"TemporaryFile(/tmp/multipartBody5609529682749009479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068433041,"filename":"image_20022025_08_34_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4ebfd906d8f0db3a187ed87f2f38fc3.jpg","text":"TemporaryFile(/tmp/multipartBody2082030170977033578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068433041,"filename":"image_20022025_08_34_47_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/163be442ac96ef7f9ad26bd0569f95f2.jpg","text":"TemporaryFile(/tmp/multipartBody1266371903387012892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068433041,"filename":"image_20022025_08_34_17_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/39a0886e92962e3cb3cc255911d244fb.jpg","text":"TemporaryFile(/tmp/multipartBody2430644802268684203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068433041,"filename":"image_20022025_08_34_27_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6a037e2bec11a897ef88bd602e4d480.jpg","text":"TemporaryFile(/tmp/multipartBody6870934817075540354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068433041,"filename":"image_20022025_08_35_06_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632297","file1":"1338632295","file0":"1338632293","file4":"1338632300","file5":"1338632301","file3":"1338632299"},"map_files_photo_id_array":[{"photo_id":"1338632301","filename":"file5"},{"photo_id":"1338632297","filename":"file2"},{"photo_id":"1338632300","filename":"file4"},{"photo_id":"1338632295","filename":"file1"},{"photo_id":"1338632293","filename":"file0"},{"photo_id":"1338632299","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338632297":["hashtag1","hashtag2"]},{"1338632300":["hashtag1","hashtag2"]},{"1338632299":["hashtag1","hashtag2"]},{"1338632293":["hashtag1","hashtag2"]},{"1338632295":["hashtag1","hashtag2"]},{"1338632301":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338632297, 1338632300, 1338632299, 1338632293, 1338632295, 1338632301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.959949254989624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:20:32.643322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/35/image_20022025_08_35_17_10428.jpg', '/home/pi/Desktop/images/20022025/08/35/image_20022025_08_35_26_9340.jpg', '/home/pi/Desktop/images/20022025/08/35/image_20022025_08_35_36_10394.jpg', '/home/pi/Desktop/images/20022025/08/35/image_20022025_08_35_47_10351.jpg', '/home/pi/Desktop/images/20022025/08/35/image_20022025_08_36_07_10410.jpg', '/home/pi/Desktop/images/20022025/08/36/image_20022025_08_36_16_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/35/image_20022025_08_35_17_10428.jpg
/home/pi/Desktop/images/20022025/08/35/image_20022025_08_35_26_9340.jpg
/home/pi/Desktop/images/20022025/08/35/image_20022025_08_35_36_10394.jpg
/home/pi/Desktop/images/20022025/08/35/image_20022025_08_35_47_10351.jpg
/home/pi/Desktop/images/20022025/08/35/image_20022025_08_36_07_10410.jpg
/home/pi/Desktop/images/20022025/08/36/image_20022025_08_36_16_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633008","1338632540","1338632909","1338632371","1338633007","1338632730"],"photo_ids_order":["1338632371","1338632540","1338632730","1338632909","1338633007","1338633008"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7b12c9dfb04712c35a4f6a0bcb599d37.jpg","text":"TemporaryFile(/tmp/multipartBody8634561424068457533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068493229,"filename":"image_20022025_08_36_16_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f67ec070546a3128871d026fb00fae74.jpg","text":"TemporaryFile(/tmp/multipartBody7174764062184397677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068493229,"filename":"image_20022025_08_35_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ae241dddab790027a8f3ddec6cfb2494.jpg","text":"TemporaryFile(/tmp/multipartBody4038615627551411242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068493229,"filename":"image_20022025_08_35_47_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d5a3e96de87ffebafa19cd6e0d67eba.jpg","text":"TemporaryFile(/tmp/multipartBody8012316735048823896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068493229,"filename":"image_20022025_08_35_17_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7fa9a01f79bf5b8ef84543cc3b11298.jpg","text":"TemporaryFile(/tmp/multipartBody2965661469613957413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068493229,"filename":"image_20022025_08_36_07_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8682ff4d7bd0deed87837c0b278a851.jpg","text":"TemporaryFile(/tmp/multipartBody2716483816170146487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068493229,"filename":"image_20022025_08_35_36_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338632730","file1":"1338632540","file0":"1338632371","file4":"1338633007","file5":"1338633008","file3":"1338632909"},"map_files_photo_id_array":[{"photo_id":"1338633008","filename":"file5"},{"photo_id":"1338632730","filename":"file2"},{"photo_id":"1338633007","filename":"file4"},{"photo_id":"1338632540","filename":"file1"},{"photo_id":"1338632371","filename":"file0"},{"photo_id":"1338632909","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633008":["hashtag1","hashtag2"]},{"1338632540":["hashtag1","hashtag2"]},{"1338632909":["hashtag1","hashtag2"]},{"1338632371":["hashtag1","hashtag2"]},{"1338633007":["hashtag1","hashtag2"]},{"1338632730":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633008, 1338632540, 1338632909, 1338632371, 1338633007, 1338632730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.265460729599 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:21:32.896459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/36/image_20022025_08_36_37_10338.jpg', '/home/pi/Desktop/images/20022025/08/36/image_20022025_08_36_46_9353.jpg', '/home/pi/Desktop/images/20022025/08/37/image_20022025_08_37_16_9327.jpg', '/home/pi/Desktop/images/20022025/08/37/image_20022025_08_37_37_10385.jpg', '/home/pi/Desktop/images/20022025/08/37/image_20022025_08_37_46_9347.jpg', '/home/pi/Desktop/images/20022025/08/37/image_20022025_08_37_57_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/36/image_20022025_08_36_37_10338.jpg
/home/pi/Desktop/images/20022025/08/36/image_20022025_08_36_46_9353.jpg
/home/pi/Desktop/images/20022025/08/37/image_20022025_08_37_16_9327.jpg
/home/pi/Desktop/images/20022025/08/37/image_20022025_08_37_37_10385.jpg
/home/pi/Desktop/images/20022025/08/37/image_20022025_08_37_46_9347.jpg
/home/pi/Desktop/images/20022025/08/37/image_20022025_08_37_57_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633277","1338633279","1338633195","1338633278","1338633272","1338633335"],"photo_ids_order":["1338633195","1338633272","1338633277","1338633278","1338633279","1338633335"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/06ccf0e7d3435013bc263df84c4fcb72.jpg","text":"TemporaryFile(/tmp/multipartBody345002758535856675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068553670,"filename":"image_20022025_08_37_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de681fa73b70090815c7d39daf030ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2689855149372566432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068553670,"filename":"image_20022025_08_37_46_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d3429278b22717bc401f2fc2d67dd9d.jpg","text":"TemporaryFile(/tmp/multipartBody4091409404466575577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068553670,"filename":"image_20022025_08_36_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c23de2bc12418b1e0bf01a81f3bc02b.jpg","text":"TemporaryFile(/tmp/multipartBody4709488797012435608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068553670,"filename":"image_20022025_08_37_37_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1912010bf45d0968bfeb1c18d6627ba7.jpg","text":"TemporaryFile(/tmp/multipartBody4365979590311322423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068553670,"filename":"image_20022025_08_36_46_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5c12813d9ccb4bf7438b04e3eac2fe8f.jpg","text":"TemporaryFile(/tmp/multipartBody8107127562419275692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068553670,"filename":"image_20022025_08_37_57_10429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633277","file1":"1338633272","file0":"1338633195","file4":"1338633279","file5":"1338633335","file3":"1338633278"},"map_files_photo_id_array":[{"photo_id":"1338633335","filename":"file5"},{"photo_id":"1338633277","filename":"file2"},{"photo_id":"1338633279","filename":"file4"},{"photo_id":"1338633272","filename":"file1"},{"photo_id":"1338633195","filename":"file0"},{"photo_id":"1338633278","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633277":["hashtag1","hashtag2"]},{"1338633279":["hashtag1","hashtag2"]},{"1338633195":["hashtag1","hashtag2"]},{"1338633278":["hashtag1","hashtag2"]},{"1338633272":["hashtag1","hashtag2"]},{"1338633335":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633277, 1338633279, 1338633195, 1338633278, 1338633272, 1338633335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1817090511322 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:22:33.017188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/38/image_20022025_08_38_36_9320.jpg', '/home/pi/Desktop/images/20022025/08/38/image_20022025_08_38_46_10367.jpg', '/home/pi/Desktop/images/20022025/08/38/image_20022025_08_38_57_10386.jpg', '/home/pi/Desktop/images/20022025/08/38/image_20022025_08_39_06_9352.jpg', '/home/pi/Desktop/images/20022025/08/39/image_20022025_08_39_27_10375.jpg', '/home/pi/Desktop/images/20022025/08/40/image_20022025_08_40_36_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/38/image_20022025_08_38_36_9320.jpg
/home/pi/Desktop/images/20022025/08/38/image_20022025_08_38_46_10367.jpg
/home/pi/Desktop/images/20022025/08/38/image_20022025_08_38_57_10386.jpg
/home/pi/Desktop/images/20022025/08/38/image_20022025_08_39_06_9352.jpg
/home/pi/Desktop/images/20022025/08/39/image_20022025_08_39_27_10375.jpg
/home/pi/Desktop/images/20022025/08/40/image_20022025_08_40_36_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633521","1338633553","1338633541","1338633546","1338633531","1338633534"],"photo_ids_order":["1338633521","1338633531","1338633534","1338633541","1338633546","1338633553"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d65b5371f85ffed0023eafd74bbc53f.jpg","text":"TemporaryFile(/tmp/multipartBody9095793969594102010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068613807,"filename":"image_20022025_08_38_36_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f6ef8d44fdb18f9a0070ef7846589f78.jpg","text":"TemporaryFile(/tmp/multipartBody8639943347897297712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068613807,"filename":"image_20022025_08_40_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70573768451a6f4f944ebbc484ae8f61.jpg","text":"TemporaryFile(/tmp/multipartBody7858216978445959229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068613807,"filename":"image_20022025_08_39_06_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41c0da39f9bc5384d35b9602759f5866.jpg","text":"TemporaryFile(/tmp/multipartBody6807984912827401383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068613807,"filename":"image_20022025_08_39_27_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48d9542a0d1fcf0dc513558b06431d7b.jpg","text":"TemporaryFile(/tmp/multipartBody4713461805431347239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068613807,"filename":"image_20022025_08_38_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/120917b54ffae11c67dbed362420c60c.jpg","text":"TemporaryFile(/tmp/multipartBody5199747645066509357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068613807,"filename":"image_20022025_08_38_57_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633534","file1":"1338633531","file0":"1338633521","file4":"1338633546","file5":"1338633553","file3":"1338633541"},"map_files_photo_id_array":[{"photo_id":"1338633553","filename":"file5"},{"photo_id":"1338633534","filename":"file2"},{"photo_id":"1338633546","filename":"file4"},{"photo_id":"1338633531","filename":"file1"},{"photo_id":"1338633521","filename":"file0"},{"photo_id":"1338633541","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633521":["hashtag1","hashtag2"]},{"1338633553":["hashtag1","hashtag2"]},{"1338633541":["hashtag1","hashtag2"]},{"1338633546":["hashtag1","hashtag2"]},{"1338633531":["hashtag1","hashtag2"]},{"1338633534":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633521, 1338633553, 1338633541, 1338633546, 1338633531, 1338633534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.783551931381226 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:23:32.187548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/40/image_20022025_08_40_47_10360.jpg', '/home/pi/Desktop/images/20022025/08/40/image_20022025_08_40_57_10338.jpg', '/home/pi/Desktop/images/20022025/08/40/image_20022025_08_41_06_9395.jpg', '/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_17_10528.jpg', '/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_26_9343.jpg', '/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_37_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/40/image_20022025_08_40_47_10360.jpg
/home/pi/Desktop/images/20022025/08/40/image_20022025_08_40_57_10338.jpg
/home/pi/Desktop/images/20022025/08/40/image_20022025_08_41_06_9395.jpg
/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_17_10528.jpg
/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_26_9343.jpg
/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_37_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633583","1338633580","1338633582","1338633576","1338633585","1338633578"],"photo_ids_order":["1338633576","1338633578","1338633580","1338633582","1338633583","1338633585"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1c61dbc4663031a8446d11a6861f4b9.jpg","text":"TemporaryFile(/tmp/multipartBody925157830058812963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068672756,"filename":"image_20022025_08_41_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd4bc3098a5e63683242bf65ea78b21c.jpg","text":"TemporaryFile(/tmp/multipartBody7983247822240342938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068672756,"filename":"image_20022025_08_41_06_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81c150cfc9fef329bc47b9cd4c4aaacf.jpg","text":"TemporaryFile(/tmp/multipartBody752232822730017804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068672756,"filename":"image_20022025_08_41_17_10528.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cca7163b640eccc11a6adea78fa58774.jpg","text":"TemporaryFile(/tmp/multipartBody7048382715320955520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068672756,"filename":"image_20022025_08_40_47_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4cedcc8f5aa18bf9e3176a379d3970f9.jpg","text":"TemporaryFile(/tmp/multipartBody5062540763276945324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068672756,"filename":"image_20022025_08_41_37_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8973316b4c55ee966e9edd8400427701.jpg","text":"TemporaryFile(/tmp/multipartBody847904326575643897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068672756,"filename":"image_20022025_08_40_57_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633580","file1":"1338633578","file0":"1338633576","file4":"1338633583","file5":"1338633585","file3":"1338633582"},"map_files_photo_id_array":[{"photo_id":"1338633585","filename":"file5"},{"photo_id":"1338633580","filename":"file2"},{"photo_id":"1338633583","filename":"file4"},{"photo_id":"1338633578","filename":"file1"},{"photo_id":"1338633576","filename":"file0"},{"photo_id":"1338633582","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633583":["hashtag1","hashtag2"]},{"1338633580":["hashtag1","hashtag2"]},{"1338633582":["hashtag1","hashtag2"]},{"1338633576":["hashtag1","hashtag2"]},{"1338633585":["hashtag1","hashtag2"]},{"1338633578":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633583, 1338633580, 1338633582, 1338633576, 1338633585, 1338633578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.985347032547 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:24:32.479751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_46_9885.jpg', '/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_57_10349.jpg', '/home/pi/Desktop/images/20022025/08/41/image_20022025_08_42_06_9473.jpg', '/home/pi/Desktop/images/20022025/08/42/image_20022025_08_42_16_10165.jpg', '/home/pi/Desktop/images/20022025/08/42/image_20022025_08_42_27_10367.jpg', '/home/pi/Desktop/images/20022025/08/42/image_20022025_08_42_36_9344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_46_9885.jpg
/home/pi/Desktop/images/20022025/08/41/image_20022025_08_41_57_10349.jpg
/home/pi/Desktop/images/20022025/08/41/image_20022025_08_42_06_9473.jpg
/home/pi/Desktop/images/20022025/08/42/image_20022025_08_42_16_10165.jpg
/home/pi/Desktop/images/20022025/08/42/image_20022025_08_42_27_10367.jpg
/home/pi/Desktop/images/20022025/08/42/image_20022025_08_42_36_9344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633652","1338633646","1338633631","1338633648","1338633650","1338633644"],"photo_ids_order":["1338633631","1338633644","1338633646","1338633648","1338633650","1338633652"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd257d6adaeeedb2d902dc22c0f8d421.jpg","text":"TemporaryFile(/tmp/multipartBody3399383916587968717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068733419,"filename":"image_20022025_08_42_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7896ac3b6d0eae4beaf6a673f2c2aca6.jpg","text":"TemporaryFile(/tmp/multipartBody1845603468002696136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068733419,"filename":"image_20022025_08_42_06_9473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0bb42141eeab89e32cf197427a67ac09.jpg","text":"TemporaryFile(/tmp/multipartBody8592705724764823944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068733419,"filename":"image_20022025_08_41_46_9885.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/97e9d11b70af120a822a24c513ef825c.jpg","text":"TemporaryFile(/tmp/multipartBody2483500828395458708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068733419,"filename":"image_20022025_08_42_16_10165.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f6af945e5473f248148d82aeade9704f.jpg","text":"TemporaryFile(/tmp/multipartBody2007810981702461433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068733419,"filename":"image_20022025_08_42_27_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec8af4f981d03fd9737d2560bafadcf6.jpg","text":"TemporaryFile(/tmp/multipartBody3015342729854687835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068733419,"filename":"image_20022025_08_41_57_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633646","file1":"1338633644","file0":"1338633631","file4":"1338633650","file5":"1338633652","file3":"1338633648"},"map_files_photo_id_array":[{"photo_id":"1338633652","filename":"file5"},{"photo_id":"1338633646","filename":"file2"},{"photo_id":"1338633650","filename":"file4"},{"photo_id":"1338633644","filename":"file1"},{"photo_id":"1338633631","filename":"file0"},{"photo_id":"1338633648","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633652":["hashtag1","hashtag2"]},{"1338633646":["hashtag1","hashtag2"]},{"1338633631":["hashtag1","hashtag2"]},{"1338633648":["hashtag1","hashtag2"]},{"1338633650":["hashtag1","hashtag2"]},{"1338633644":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633652, 1338633646, 1338633631, 1338633648, 1338633650, 1338633644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37198758125305 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:25:32.585913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/42/image_20022025_08_42_57_10340.jpg', '/home/pi/Desktop/images/20022025/08/44/image_20022025_08_44_17_10341.jpg', '/home/pi/Desktop/images/20022025/08/44/image_20022025_08_44_26_9337.jpg', '/home/pi/Desktop/images/20022025/08/44/image_20022025_08_44_56_10435.jpg', '/home/pi/Desktop/images/20022025/08/44/image_20022025_08_45_07_10320.jpg', '/home/pi/Desktop/images/20022025/08/45/image_20022025_08_45_36_9321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/42/image_20022025_08_42_57_10340.jpg
/home/pi/Desktop/images/20022025/08/44/image_20022025_08_44_17_10341.jpg
/home/pi/Desktop/images/20022025/08/44/image_20022025_08_44_26_9337.jpg
/home/pi/Desktop/images/20022025/08/44/image_20022025_08_44_56_10435.jpg
/home/pi/Desktop/images/20022025/08/44/image_20022025_08_45_07_10320.jpg
/home/pi/Desktop/images/20022025/08/45/image_20022025_08_45_36_9321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633697","1338633701","1338633703","1338633699","1338633690","1338633705"],"photo_ids_order":["1338633690","1338633697","1338633699","1338633701","1338633703","1338633705"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/996dc4b17d5075d442774331c114d619.jpg","text":"TemporaryFile(/tmp/multipartBody807899180594151087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068793209,"filename":"image_20022025_08_44_17_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0df70484e0b614cdf29ade32fbfb75b3.jpg","text":"TemporaryFile(/tmp/multipartBody1102285555605641904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068793209,"filename":"image_20022025_08_44_56_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2ebb31ca89226eca4fd40b8e1b61606.jpg","text":"TemporaryFile(/tmp/multipartBody225496858881862759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068793209,"filename":"image_20022025_08_45_07_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7136d0734591973aa988fac3915faf08.jpg","text":"TemporaryFile(/tmp/multipartBody4104441789042348346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068793209,"filename":"image_20022025_08_44_26_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f875354ae67ee22b53246bcb08d4bbe1.jpg","text":"TemporaryFile(/tmp/multipartBody5342890106989515952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068793209,"filename":"image_20022025_08_42_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b6c46f11d0e2849d889bc7d769c29da4.jpg","text":"TemporaryFile(/tmp/multipartBody4873614657086899595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068793209,"filename":"image_20022025_08_45_36_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633699","file1":"1338633697","file0":"1338633690","file4":"1338633703","file5":"1338633705","file3":"1338633701"},"map_files_photo_id_array":[{"photo_id":"1338633705","filename":"file5"},{"photo_id":"1338633699","filename":"file2"},{"photo_id":"1338633703","filename":"file4"},{"photo_id":"1338633697","filename":"file1"},{"photo_id":"1338633690","filename":"file0"},{"photo_id":"1338633701","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633697":["hashtag1","hashtag2"]},{"1338633701":["hashtag1","hashtag2"]},{"1338633703":["hashtag1","hashtag2"]},{"1338633699":["hashtag1","hashtag2"]},{"1338633690":["hashtag1","hashtag2"]},{"1338633705":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633697, 1338633701, 1338633703, 1338633699, 1338633690, 1338633705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18945932388306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:26:32.807938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/45/image_20022025_08_45_46_10383.jpg', '/home/pi/Desktop/images/20022025/08/45/image_20022025_08_45_57_10355.jpg', '/home/pi/Desktop/images/20022025/08/45/image_20022025_08_46_06_9328.jpg', '/home/pi/Desktop/images/20022025/08/46/image_20022025_08_46_16_10340.jpg', '/home/pi/Desktop/images/20022025/08/46/image_20022025_08_46_36_9319.jpg', '/home/pi/Desktop/images/20022025/08/46/image_20022025_08_46_46_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/45/image_20022025_08_45_46_10383.jpg
/home/pi/Desktop/images/20022025/08/45/image_20022025_08_45_57_10355.jpg
/home/pi/Desktop/images/20022025/08/45/image_20022025_08_46_06_9328.jpg
/home/pi/Desktop/images/20022025/08/46/image_20022025_08_46_16_10340.jpg
/home/pi/Desktop/images/20022025/08/46/image_20022025_08_46_36_9319.jpg
/home/pi/Desktop/images/20022025/08/46/image_20022025_08_46_46_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633728","1338633724","1338633718","1338633726","1338633720","1338633722"],"photo_ids_order":["1338633718","1338633720","1338633722","1338633724","1338633726","1338633728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1fc21f6708e6625087c38ef8407b4ff7.jpg","text":"TemporaryFile(/tmp/multipartBody4942583702581170838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068853406,"filename":"image_20022025_08_46_46_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a7a925b17cf469461679d7d2fb54d05.jpg","text":"TemporaryFile(/tmp/multipartBody5362400340026363513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068853406,"filename":"image_20022025_08_46_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8467bd0e66bdb98bb7d34e39ae89994d.jpg","text":"TemporaryFile(/tmp/multipartBody4441762045461090306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068853406,"filename":"image_20022025_08_45_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/defc7c06133f921e7be771dae8c3e533.jpg","text":"TemporaryFile(/tmp/multipartBody7707677954509887027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068853406,"filename":"image_20022025_08_46_36_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b93ec76c48b38110ec8b35d81e63d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5605401346277396502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068853406,"filename":"image_20022025_08_45_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/227c2838b4260cc2e429a6aeae6c03f2.jpg","text":"TemporaryFile(/tmp/multipartBody8809572937110060773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068853406,"filename":"image_20022025_08_46_06_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633722","file1":"1338633720","file0":"1338633718","file4":"1338633726","file5":"1338633728","file3":"1338633724"},"map_files_photo_id_array":[{"photo_id":"1338633728","filename":"file5"},{"photo_id":"1338633722","filename":"file2"},{"photo_id":"1338633726","filename":"file4"},{"photo_id":"1338633720","filename":"file1"},{"photo_id":"1338633718","filename":"file0"},{"photo_id":"1338633724","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633728":["hashtag1","hashtag2"]},{"1338633724":["hashtag1","hashtag2"]},{"1338633718":["hashtag1","hashtag2"]},{"1338633726":["hashtag1","hashtag2"]},{"1338633720":["hashtag1","hashtag2"]},{"1338633722":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633728, 1338633724, 1338633718, 1338633726, 1338633720, 1338633722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.514127254486084 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:27:33.081110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/46/image_20022025_08_47_06_9438.jpg', '/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_17_10448.jpg', '/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_26_9358.jpg', '/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_37_10687.jpg', '/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_46_9343.jpg', '/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_57_10787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/46/image_20022025_08_47_06_9438.jpg
/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_17_10448.jpg
/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_26_9358.jpg
/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_37_10687.jpg
/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_46_9343.jpg
/home/pi/Desktop/images/20022025/08/47/image_20022025_08_47_57_10787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633745","1338633747","1338633741","1338633752","1338633749","1338633743"],"photo_ids_order":["1338633741","1338633743","1338633745","1338633747","1338633749","1338633752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d12c98e72bce1cc31556265dafa9072.jpg","text":"TemporaryFile(/tmp/multipartBody3906610556532728849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068913653,"filename":"image_20022025_08_47_26_9358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a55e387e7ccebe69bf58e4487a8921c7.jpg","text":"TemporaryFile(/tmp/multipartBody6975248868975717712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068913653,"filename":"image_20022025_08_47_37_10687.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57419b1bab1b4a5c80700109382ef243.jpg","text":"TemporaryFile(/tmp/multipartBody6254753411629971763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068913653,"filename":"image_20022025_08_47_06_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a5c7004280580aaaf4226d03936f78e3.jpg","text":"TemporaryFile(/tmp/multipartBody5784265181628491254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068913653,"filename":"image_20022025_08_47_57_10787.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f0c1e60c3db8cd026b51ef0f6ad0544.jpg","text":"TemporaryFile(/tmp/multipartBody1342498173367095671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068913653,"filename":"image_20022025_08_47_46_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bfd34109be94b0fca110f2c55ec1e140.jpg","text":"TemporaryFile(/tmp/multipartBody6867100106763493125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068913653,"filename":"image_20022025_08_47_17_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633745","file1":"1338633743","file0":"1338633741","file4":"1338633749","file5":"1338633752","file3":"1338633747"},"map_files_photo_id_array":[{"photo_id":"1338633752","filename":"file5"},{"photo_id":"1338633745","filename":"file2"},{"photo_id":"1338633749","filename":"file4"},{"photo_id":"1338633743","filename":"file1"},{"photo_id":"1338633741","filename":"file0"},{"photo_id":"1338633747","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633745":["hashtag1","hashtag2"]},{"1338633747":["hashtag1","hashtag2"]},{"1338633741":["hashtag1","hashtag2"]},{"1338633752":["hashtag1","hashtag2"]},{"1338633749":["hashtag1","hashtag2"]},{"1338633743":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633745, 1338633747, 1338633741, 1338633752, 1338633749, 1338633743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.910136222839355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:28:33.040652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/47/image_20022025_08_48_06_9314.jpg', '/home/pi/Desktop/images/20022025/08/48/image_20022025_08_48_47_10450.jpg', '/home/pi/Desktop/images/20022025/08/48/image_20022025_08_48_56_9363.jpg', '/home/pi/Desktop/images/20022025/08/48/image_20022025_08_49_07_10398.jpg', '/home/pi/Desktop/images/20022025/08/49/image_20022025_08_49_37_10441.jpg', '/home/pi/Desktop/images/20022025/08/49/image_20022025_08_49_46_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/47/image_20022025_08_48_06_9314.jpg
/home/pi/Desktop/images/20022025/08/48/image_20022025_08_48_47_10450.jpg
/home/pi/Desktop/images/20022025/08/48/image_20022025_08_48_56_9363.jpg
/home/pi/Desktop/images/20022025/08/48/image_20022025_08_49_07_10398.jpg
/home/pi/Desktop/images/20022025/08/49/image_20022025_08_49_37_10441.jpg
/home/pi/Desktop/images/20022025/08/49/image_20022025_08_49_46_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633799","1338633795","1338633801","1338633804","1338633788","1338633803"],"photo_ids_order":["1338633788","1338633795","1338633799","1338633801","1338633803","1338633804"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5519e81ab10b49da8f3aed487836aad5.jpg","text":"TemporaryFile(/tmp/multipartBody4045394554927307255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068973642,"filename":"image_20022025_08_48_56_9363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/161afbfe6f5151833197712bd43e1461.jpg","text":"TemporaryFile(/tmp/multipartBody5396258203156282551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068973642,"filename":"image_20022025_08_48_47_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/265a4055ab288f4e8a8416bfb5d7951e.jpg","text":"TemporaryFile(/tmp/multipartBody7192942682642560047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068973642,"filename":"image_20022025_08_49_07_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9ecd3476161c6e47ef20a2fea0aec15b.jpg","text":"TemporaryFile(/tmp/multipartBody1512272183647058026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068973642,"filename":"image_20022025_08_49_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29fde4f65147e9691cd044848d613398.jpg","text":"TemporaryFile(/tmp/multipartBody1035440527666811386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068973642,"filename":"image_20022025_08_48_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1885e83d59064265cd3b0c6dc0090ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2560562027437268782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740068973642,"filename":"image_20022025_08_49_37_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633799","file1":"1338633795","file0":"1338633788","file4":"1338633803","file5":"1338633804","file3":"1338633801"},"map_files_photo_id_array":[{"photo_id":"1338633804","filename":"file5"},{"photo_id":"1338633799","filename":"file2"},{"photo_id":"1338633803","filename":"file4"},{"photo_id":"1338633795","filename":"file1"},{"photo_id":"1338633788","filename":"file0"},{"photo_id":"1338633801","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633799":["hashtag1","hashtag2"]},{"1338633795":["hashtag1","hashtag2"]},{"1338633801":["hashtag1","hashtag2"]},{"1338633804":["hashtag1","hashtag2"]},{"1338633788":["hashtag1","hashtag2"]},{"1338633803":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633799, 1338633795, 1338633801, 1338633804, 1338633788, 1338633803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.268880367279053 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:29:32.383329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/49/image_20022025_08_49_56_10405.jpg', '/home/pi/Desktop/images/20022025/08/50/image_20022025_08_50_16_9346.jpg', '/home/pi/Desktop/images/20022025/08/50/image_20022025_08_50_27_10392.jpg', '/home/pi/Desktop/images/20022025/08/50/image_20022025_08_50_36_9341.jpg', '/home/pi/Desktop/images/20022025/08/50/image_20022025_08_50_46_10336.jpg', '/home/pi/Desktop/images/20022025/08/51/image_20022025_08_51_27_10378.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/49/image_20022025_08_49_56_10405.jpg
/home/pi/Desktop/images/20022025/08/50/image_20022025_08_50_16_9346.jpg
/home/pi/Desktop/images/20022025/08/50/image_20022025_08_50_27_10392.jpg
/home/pi/Desktop/images/20022025/08/50/image_20022025_08_50_36_9341.jpg
/home/pi/Desktop/images/20022025/08/50/image_20022025_08_50_46_10336.jpg
/home/pi/Desktop/images/20022025/08/51/image_20022025_08_51_27_10378.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338633862","1338633850","1338633855","1338633864","1338633860","1338633857"],"photo_ids_order":["1338633850","1338633855","1338633857","1338633860","1338633862","1338633864"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/458d0832a1cc361bb685d6af64be737a.jpg","text":"TemporaryFile(/tmp/multipartBody7183566240516577673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069032968,"filename":"image_20022025_08_50_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da6411bc55eb0317a8f0f55586837e3f.jpg","text":"TemporaryFile(/tmp/multipartBody1684749043568074604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069032968,"filename":"image_20022025_08_49_56_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50d5627b8a40c68e490a7aef397d3788.jpg","text":"TemporaryFile(/tmp/multipartBody854349053844898037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069032968,"filename":"image_20022025_08_50_16_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c7ccf7068ce2269dd25cd0ee8d01c37.jpg","text":"TemporaryFile(/tmp/multipartBody8912919760748234986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069032968,"filename":"image_20022025_08_51_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f999437d663dfc437630fada3188c36f.jpg","text":"TemporaryFile(/tmp/multipartBody7538754347357357113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069032968,"filename":"image_20022025_08_50_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e45b7ec2148216b2e3fe6596bc391a2.jpg","text":"TemporaryFile(/tmp/multipartBody7227303540552453082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069032968,"filename":"image_20022025_08_50_27_10392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338633857","file1":"1338633855","file0":"1338633850","file4":"1338633862","file5":"1338633864","file3":"1338633860"},"map_files_photo_id_array":[{"photo_id":"1338633864","filename":"file5"},{"photo_id":"1338633857","filename":"file2"},{"photo_id":"1338633862","filename":"file4"},{"photo_id":"1338633855","filename":"file1"},{"photo_id":"1338633850","filename":"file0"},{"photo_id":"1338633860","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338633862":["hashtag1","hashtag2"]},{"1338633850":["hashtag1","hashtag2"]},{"1338633855":["hashtag1","hashtag2"]},{"1338633864":["hashtag1","hashtag2"]},{"1338633860":["hashtag1","hashtag2"]},{"1338633857":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338633862, 1338633850, 1338633855, 1338633864, 1338633860, 1338633857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19587182998657 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:30:32.484967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/51/image_20022025_08_51_47_10414.jpg', '/home/pi/Desktop/images/20022025/08/51/image_20022025_08_51_56_9440.jpg', '/home/pi/Desktop/images/20022025/08/51/image_20022025_08_52_06_10408.jpg', '/home/pi/Desktop/images/20022025/08/52/image_20022025_08_52_17_10347.jpg', '/home/pi/Desktop/images/20022025/08/52/image_20022025_08_52_26_9392.jpg', '/home/pi/Desktop/images/20022025/08/52/image_20022025_08_52_56_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/51/image_20022025_08_51_47_10414.jpg
/home/pi/Desktop/images/20022025/08/51/image_20022025_08_51_56_9440.jpg
/home/pi/Desktop/images/20022025/08/51/image_20022025_08_52_06_10408.jpg
/home/pi/Desktop/images/20022025/08/52/image_20022025_08_52_17_10347.jpg
/home/pi/Desktop/images/20022025/08/52/image_20022025_08_52_26_9392.jpg
/home/pi/Desktop/images/20022025/08/52/image_20022025_08_52_56_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338634453","1338634246","1338634132","1338634367","1338634186","1338634304"],"photo_ids_order":["1338634132","1338634186","1338634246","1338634304","1338634367","1338634453"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ae15abe5aad6e18a6398ef6e688bbf7.jpg","text":"TemporaryFile(/tmp/multipartBody1608736753229415373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069093141,"filename":"image_20022025_08_52_56_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac6d2844b2daca4132438b7b3b9ff496.jpg","text":"TemporaryFile(/tmp/multipartBody5214301353668789121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069093141,"filename":"image_20022025_08_52_06_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28b8345505cf8a0c910480c5b236a9c0.jpg","text":"TemporaryFile(/tmp/multipartBody831688860714485384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069093141,"filename":"image_20022025_08_51_47_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90c901ec3b44957a454a65b6194bae8b.jpg","text":"TemporaryFile(/tmp/multipartBody6741151643905034362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069093141,"filename":"image_20022025_08_52_26_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/05fb7e960a2f7a423384bfc05f24725b.jpg","text":"TemporaryFile(/tmp/multipartBody1192180107848157148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069093141,"filename":"image_20022025_08_51_56_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc94d12bb72b62373c9b0587865a2831.jpg","text":"TemporaryFile(/tmp/multipartBody4457550574253914986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069093141,"filename":"image_20022025_08_52_17_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338634246","file1":"1338634186","file0":"1338634132","file4":"1338634367","file5":"1338634453","file3":"1338634304"},"map_files_photo_id_array":[{"photo_id":"1338634453","filename":"file5"},{"photo_id":"1338634246","filename":"file2"},{"photo_id":"1338634367","filename":"file4"},{"photo_id":"1338634186","filename":"file1"},{"photo_id":"1338634132","filename":"file0"},{"photo_id":"1338634304","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338634453":["hashtag1","hashtag2"]},{"1338634246":["hashtag1","hashtag2"]},{"1338634132":["hashtag1","hashtag2"]},{"1338634367":["hashtag1","hashtag2"]},{"1338634186":["hashtag1","hashtag2"]},{"1338634304":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338634453, 1338634246, 1338634132, 1338634367, 1338634186, 1338634304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1535804271698 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:31:32.703909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_17_10327.jpg', '/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_26_9350.jpg', '/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_37_10352.jpg', '/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_46_9425.jpg', '/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_56_10398.jpg', '/home/pi/Desktop/images/20022025/08/54/image_20022025_08_54_16_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_17_10327.jpg
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_26_9350.jpg
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_37_10352.jpg
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_46_9425.jpg
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_56_10398.jpg
/home/pi/Desktop/images/20022025/08/54/image_20022025_08_54_16_9339.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.487628698348999 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 17:31:42.688978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_17_10327.jpg', '/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_26_9350.jpg', '/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_37_10352.jpg', '/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_46_9425.jpg', '/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_56_10398.jpg', '/home/pi/Desktop/images/20022025/08/54/image_20022025_08_54_16_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_17_10327.jpg
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_26_9350.jpg
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_37_10352.jpg
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_46_9425.jpg
/home/pi/Desktop/images/20022025/08/53/image_20022025_08_53_56_10398.jpg
/home/pi/Desktop/images/20022025/08/54/image_20022025_08_54_16_9339.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":["1338635509","1338635503","1338635486","1338635510","1338635512","1338635506"],"photo_ids_order":["1338635486","1338635503","1338635506","1338635509","1338635510","1338635512"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c23c451e32c2aa6390bdce53b06bfbc.jpg","text":"TemporaryFile(/tmp/multipartBody119677077534066953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069163197,"filename":"image_20022025_08_53_46_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7285b181379b1432349a983dddb5fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7801309345311979694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069163197,"filename":"image_20022025_08_53_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c1af1196e07166032b65a8b9b8505f5.jpg","text":"TemporaryFile(/tmp/multipartBody5638283036300809778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069163197,"filename":"image_20022025_08_53_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/758f9ebcb99c2a7ae72c389f4d597b01.jpg","text":"TemporaryFile(/tmp/multipartBody7541702329897923575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069163197,"filename":"image_20022025_08_53_56_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7c169c99f9732ed3b07b121cb8322e6.jpg","text":"TemporaryFile(/tmp/multipartBody4135102947478169913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069163197,"filename":"image_20022025_08_54_16_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94bcd907bbc0aee42d5708913ced38d3.jpg","text":"TemporaryFile(/tmp/multipartBody1528330621101262951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069163197,"filename":"image_20022025_08_53_37_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338635506","file1":"1338635503","file0":"1338635486","file4":"1338635510","file5":"1338635512","file3":"1338635509"},"map_files_photo_id_array":[{"photo_id":"1338635512","filename":"file5"},{"photo_id":"1338635506","filename":"file2"},{"photo_id":"1338635510","filename":"file4"},{"photo_id":"1338635503","filename":"file1"},{"photo_id":"1338635486","filename":"file0"},{"photo_id":"1338635509","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338635509":["hashtag1","hashtag2"]},{"1338635503":["hashtag1","hashtag2"]},{"1338635486":["hashtag1","hashtag2"]},{"1338635510":["hashtag1","hashtag2"]},{"1338635512":["hashtag1","hashtag2"]},{"1338635506":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338635509, 1338635503, 1338635486, 1338635510, 1338635512, 1338635506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.451714277267456 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:32:32.924733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/54/image_20022025_08_54_27_10408.jpg', '/home/pi/Desktop/images/20022025/08/55/image_20022025_08_55_27_10398.jpg', '/home/pi/Desktop/images/20022025/08/55/image_20022025_08_55_36_9341.jpg', '/home/pi/Desktop/images/20022025/08/55/image_20022025_08_56_06_9351.jpg', '/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_16_10404.jpg', '/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_27_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/54/image_20022025_08_54_27_10408.jpg
/home/pi/Desktop/images/20022025/08/55/image_20022025_08_55_27_10398.jpg
/home/pi/Desktop/images/20022025/08/55/image_20022025_08_55_36_9341.jpg
/home/pi/Desktop/images/20022025/08/55/image_20022025_08_56_06_9351.jpg
/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_16_10404.jpg
/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_27_10356.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4712333679199219 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 17:32:42.926137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/54/image_20022025_08_54_27_10408.jpg', '/home/pi/Desktop/images/20022025/08/55/image_20022025_08_55_27_10398.jpg', '/home/pi/Desktop/images/20022025/08/55/image_20022025_08_55_36_9341.jpg', '/home/pi/Desktop/images/20022025/08/55/image_20022025_08_56_06_9351.jpg', '/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_16_10404.jpg', '/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_27_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/54/image_20022025_08_54_27_10408.jpg
/home/pi/Desktop/images/20022025/08/55/image_20022025_08_55_27_10398.jpg
/home/pi/Desktop/images/20022025/08/55/image_20022025_08_55_36_9341.jpg
/home/pi/Desktop/images/20022025/08/55/image_20022025_08_56_06_9351.jpg
/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_16_10404.jpg
/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_27_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338635832","1338635841","1338635843","1338635776","1338635845","1338635704"],"photo_ids_order":["1338635704","1338635776","1338635832","1338635841","1338635843","1338635845"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ae570be0d4dd33e8561c94cc61c9008.jpg","text":"TemporaryFile(/tmp/multipartBody3913566071151823546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069223417,"filename":"image_20022025_08_55_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/89f66828e713a6ffb4c00bf70c4ed55f.jpg","text":"TemporaryFile(/tmp/multipartBody9089588647178687605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069223417,"filename":"image_20022025_08_56_06_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92ad2ffa26a2eb52f045090d3eb03c34.jpg","text":"TemporaryFile(/tmp/multipartBody7947670240451818204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069223417,"filename":"image_20022025_08_56_16_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/181d8c2e99af1d7282946646a0558a3e.jpg","text":"TemporaryFile(/tmp/multipartBody7606346048276599127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069223417,"filename":"image_20022025_08_55_27_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee462d7dfc7671dff968f61b13f5e7c1.jpg","text":"TemporaryFile(/tmp/multipartBody5694371360055124544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069223417,"filename":"image_20022025_08_56_27_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14f204f3b2e13b431ad22271423e5e98.jpg","text":"TemporaryFile(/tmp/multipartBody2860535931106903418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069223417,"filename":"image_20022025_08_54_27_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338635832","file1":"1338635776","file0":"1338635704","file4":"1338635843","file5":"1338635845","file3":"1338635841"},"map_files_photo_id_array":[{"photo_id":"1338635845","filename":"file5"},{"photo_id":"1338635832","filename":"file2"},{"photo_id":"1338635843","filename":"file4"},{"photo_id":"1338635776","filename":"file1"},{"photo_id":"1338635704","filename":"file0"},{"photo_id":"1338635841","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338635832":["hashtag1","hashtag2"]},{"1338635841":["hashtag1","hashtag2"]},{"1338635843":["hashtag1","hashtag2"]},{"1338635776":["hashtag1","hashtag2"]},{"1338635845":["hashtag1","hashtag2"]},{"1338635704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338635832, 1338635841, 1338635843, 1338635776, 1338635845, 1338635704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.17545795440674 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:33:32.180094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_36_9347.jpg', '/home/pi/Desktop/images/20022025/08/56/image_20022025_08_57_06_10340.jpg', '/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_17_10406.jpg', '/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_26_9430.jpg', '/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_37_10443.jpg', '/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_47_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/56/image_20022025_08_56_36_9347.jpg
/home/pi/Desktop/images/20022025/08/56/image_20022025_08_57_06_10340.jpg
/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_17_10406.jpg
/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_26_9430.jpg
/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_37_10443.jpg
/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_47_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636018","1338636033","1338635943","1338636029","1338635951","1338635945"],"photo_ids_order":["1338635943","1338635945","1338635951","1338636018","1338636029","1338636033"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ed0afbfcca563e2b9d276001f2cb2cf.jpg","text":"TemporaryFile(/tmp/multipartBody870763175424174072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069272740,"filename":"image_20022025_08_57_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7988f3e515bd22de341259579951000f.jpg","text":"TemporaryFile(/tmp/multipartBody4374194805710844939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069272740,"filename":"image_20022025_08_57_47_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7496f09b16bcf7473c14316e715332a.jpg","text":"TemporaryFile(/tmp/multipartBody5521078809204995579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069272740,"filename":"image_20022025_08_56_36_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b5f425a2ef4d4c7f2ef27768ed974e52.jpg","text":"TemporaryFile(/tmp/multipartBody7285004930977262400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069272740,"filename":"image_20022025_08_57_37_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68ac48988a796886ad106b64d38c8b01.jpg","text":"TemporaryFile(/tmp/multipartBody3224871065379925018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069272740,"filename":"image_20022025_08_57_17_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a1af64e606fdb7e6ab490400502b784.jpg","text":"TemporaryFile(/tmp/multipartBody43076291633891275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069272740,"filename":"image_20022025_08_57_06_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338635951","file1":"1338635945","file0":"1338635943","file4":"1338636029","file5":"1338636033","file3":"1338636018"},"map_files_photo_id_array":[{"photo_id":"1338636033","filename":"file5"},{"photo_id":"1338635951","filename":"file2"},{"photo_id":"1338636029","filename":"file4"},{"photo_id":"1338635945","filename":"file1"},{"photo_id":"1338635943","filename":"file0"},{"photo_id":"1338636018","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636018":["hashtag1","hashtag2"]},{"1338636033":["hashtag1","hashtag2"]},{"1338635943":["hashtag1","hashtag2"]},{"1338636029":["hashtag1","hashtag2"]},{"1338635951":["hashtag1","hashtag2"]},{"1338635945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636018, 1338636033, 1338635943, 1338636029, 1338635951, 1338635945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.40114402770996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:34:32.244907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_56_9346.jpg', '/home/pi/Desktop/images/20022025/08/57/image_20022025_08_58_07_10428.jpg', '/home/pi/Desktop/images/20022025/08/58/image_20022025_08_58_16_9358.jpg', '/home/pi/Desktop/images/20022025/08/58/image_20022025_08_58_26_10363.jpg', '/home/pi/Desktop/images/20022025/08/58/image_20022025_08_58_46_9336.jpg', '/home/pi/Desktop/images/20022025/08/58/image_20022025_08_58_57_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/57/image_20022025_08_57_56_9346.jpg
/home/pi/Desktop/images/20022025/08/57/image_20022025_08_58_07_10428.jpg
/home/pi/Desktop/images/20022025/08/58/image_20022025_08_58_16_9358.jpg
/home/pi/Desktop/images/20022025/08/58/image_20022025_08_58_26_10363.jpg
/home/pi/Desktop/images/20022025/08/58/image_20022025_08_58_46_9336.jpg
/home/pi/Desktop/images/20022025/08/58/image_20022025_08_58_57_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636078","1338636074","1338636076","1338636070","1338636067","1338636072"],"photo_ids_order":["1338636067","1338636070","1338636072","1338636074","1338636076","1338636078"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a9966831c0dc5b0e0771dc4f23f6a68.jpg","text":"TemporaryFile(/tmp/multipartBody8747074766057319860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069332877,"filename":"image_20022025_08_58_57_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c20e124527111df8b15a95d9311ec4f4.jpg","text":"TemporaryFile(/tmp/multipartBody5750952866357755033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069332877,"filename":"image_20022025_08_58_26_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20283af54aa4fb6c59bbc02c6078a071.jpg","text":"TemporaryFile(/tmp/multipartBody526382904122324305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069332877,"filename":"image_20022025_08_58_46_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f2521ee953ffe162a29a8611b5990ca.jpg","text":"TemporaryFile(/tmp/multipartBody2874680993301146079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069332877,"filename":"image_20022025_08_58_07_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c1f71ac033eabe3c44fa11b1f84bde8.jpg","text":"TemporaryFile(/tmp/multipartBody2190785334657893054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069332877,"filename":"image_20022025_08_57_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef3a5b05e806ff6032923a338c8f674f.jpg","text":"TemporaryFile(/tmp/multipartBody2954912680605502455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069332877,"filename":"image_20022025_08_58_16_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338636072","file1":"1338636070","file0":"1338636067","file4":"1338636076","file5":"1338636078","file3":"1338636074"},"map_files_photo_id_array":[{"photo_id":"1338636078","filename":"file5"},{"photo_id":"1338636072","filename":"file2"},{"photo_id":"1338636076","filename":"file4"},{"photo_id":"1338636070","filename":"file1"},{"photo_id":"1338636067","filename":"file0"},{"photo_id":"1338636074","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636078":["hashtag1","hashtag2"]},{"1338636074":["hashtag1","hashtag2"]},{"1338636076":["hashtag1","hashtag2"]},{"1338636070":["hashtag1","hashtag2"]},{"1338636067":["hashtag1","hashtag2"]},{"1338636072":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636078, 1338636074, 1338636076, 1338636070, 1338636067, 1338636072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44502091407776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:35:32.631445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/08/58/image_20022025_08_59_06_9333.jpg', '/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_16_10410.jpg', '/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_27_10457.jpg', '/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_36_9391.jpg', '/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_47_10352.jpg', '/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_57_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/08/58/image_20022025_08_59_06_9333.jpg
/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_16_10410.jpg
/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_27_10457.jpg
/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_36_9391.jpg
/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_47_10352.jpg
/home/pi/Desktop/images/20022025/08/59/image_20022025_08_59_57_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636105","1338636113","1338636107","1338636109","1338636103","1338636096"],"photo_ids_order":["1338636096","1338636103","1338636105","1338636107","1338636109","1338636113"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/89354ef4d7d2126de728105c53a9092c.jpg","text":"TemporaryFile(/tmp/multipartBody5101371661169524038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069393235,"filename":"image_20022025_08_59_27_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6774e60a8caf96f99dec583fe2d08888.jpg","text":"TemporaryFile(/tmp/multipartBody23674773416513298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069393235,"filename":"image_20022025_08_59_57_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4fbaeb0e3457b9969024fe5fd1ddfbbb.jpg","text":"TemporaryFile(/tmp/multipartBody2707582336681954270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069393235,"filename":"image_20022025_08_59_36_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f161e73ee7bc00e8860eb7a2890f681.jpg","text":"TemporaryFile(/tmp/multipartBody1888577696319662891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069393235,"filename":"image_20022025_08_59_47_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbb8c89b523746db420ef8c39ae7d727.jpg","text":"TemporaryFile(/tmp/multipartBody7131341722198285181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069393235,"filename":"image_20022025_08_59_16_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce32fbdd4dbda68d5e6a1254d781ffc3.jpg","text":"TemporaryFile(/tmp/multipartBody7297792021450008915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069393235,"filename":"image_20022025_08_59_06_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338636105","file1":"1338636103","file0":"1338636096","file4":"1338636109","file5":"1338636113","file3":"1338636107"},"map_files_photo_id_array":[{"photo_id":"1338636113","filename":"file5"},{"photo_id":"1338636105","filename":"file2"},{"photo_id":"1338636109","filename":"file4"},{"photo_id":"1338636103","filename":"file1"},{"photo_id":"1338636096","filename":"file0"},{"photo_id":"1338636107","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636105":["hashtag1","hashtag2"]},{"1338636113":["hashtag1","hashtag2"]},{"1338636107":["hashtag1","hashtag2"]},{"1338636109":["hashtag1","hashtag2"]},{"1338636103":["hashtag1","hashtag2"]},{"1338636096":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636105, 1338636113, 1338636107, 1338636109, 1338636103, 1338636096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32429885864258 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:36:32.794557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_15_10075.jpg', '/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_26_10341.jpg', '/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_36_10351.jpg', '/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_45_9336.jpg', '/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_56_10423.jpg', '/home/pi/Desktop/images/20022025/09/00/image_20022025_09_01_06_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_15_10075.jpg
/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_26_10341.jpg
/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_36_10351.jpg
/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_45_9336.jpg
/home/pi/Desktop/images/20022025/09/00/image_20022025_09_00_56_10423.jpg
/home/pi/Desktop/images/20022025/09/00/image_20022025_09_01_06_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636162","1338636156","1338636161","1338636140","1338636143","1338636148"],"photo_ids_order":["1338636140","1338636143","1338636148","1338636156","1338636161","1338636162"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1cbf5010f19e415d73a29ec9738a9563.jpg","text":"TemporaryFile(/tmp/multipartBody2004595214334201156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069453359,"filename":"image_20022025_09_01_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9378b66f1fbf4d53aed1fd665729b714.jpg","text":"TemporaryFile(/tmp/multipartBody1977121839705898632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069453359,"filename":"image_20022025_09_00_45_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/738a7b75ecee528eb08ba5b1a36e3aa8.jpg","text":"TemporaryFile(/tmp/multipartBody6522574834902622948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069453359,"filename":"image_20022025_09_00_56_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f8f541877864d68e486d06ceb93e8de.jpg","text":"TemporaryFile(/tmp/multipartBody363534821695211312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069453359,"filename":"image_20022025_09_00_15_10075.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f470346f29c7b0a36cb7d1cefa492ad.jpg","text":"TemporaryFile(/tmp/multipartBody8781396168184504041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069453359,"filename":"image_20022025_09_00_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8b093a421f313ea53481640d8151acc.jpg","text":"TemporaryFile(/tmp/multipartBody5804422011272150335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069453359,"filename":"image_20022025_09_00_36_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338636148","file1":"1338636143","file0":"1338636140","file4":"1338636161","file5":"1338636162","file3":"1338636156"},"map_files_photo_id_array":[{"photo_id":"1338636162","filename":"file5"},{"photo_id":"1338636148","filename":"file2"},{"photo_id":"1338636161","filename":"file4"},{"photo_id":"1338636143","filename":"file1"},{"photo_id":"1338636140","filename":"file0"},{"photo_id":"1338636156","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636162":["hashtag1","hashtag2"]},{"1338636156":["hashtag1","hashtag2"]},{"1338636161":["hashtag1","hashtag2"]},{"1338636140":["hashtag1","hashtag2"]},{"1338636143":["hashtag1","hashtag2"]},{"1338636148":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636162, 1338636156, 1338636161, 1338636140, 1338636143, 1338636148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.293472290039062 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:37:32.925221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/01/image_20022025_09_01_15_9329.jpg', '/home/pi/Desktop/images/20022025/09/01/image_20022025_09_01_36_10358.jpg', '/home/pi/Desktop/images/20022025/09/01/image_20022025_09_01_46_9458.jpg', '/home/pi/Desktop/images/20022025/09/01/image_20022025_09_01_56_10366.jpg', '/home/pi/Desktop/images/20022025/09/01/image_20022025_09_02_05_9346.jpg', '/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_16_10412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/01/image_20022025_09_01_15_9329.jpg
/home/pi/Desktop/images/20022025/09/01/image_20022025_09_01_36_10358.jpg
/home/pi/Desktop/images/20022025/09/01/image_20022025_09_01_46_9458.jpg
/home/pi/Desktop/images/20022025/09/01/image_20022025_09_01_56_10366.jpg
/home/pi/Desktop/images/20022025/09/01/image_20022025_09_02_05_9346.jpg
/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_16_10412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636194","1338636197","1338636201","1338636193","1338636199","1338636195"],"photo_ids_order":["1338636193","1338636194","1338636195","1338636197","1338636199","1338636201"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbc9d19eed077fbfe5f348b0d23556d3.jpg","text":"TemporaryFile(/tmp/multipartBody4236895747691521056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069513514,"filename":"image_20022025_09_01_36_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/439dcd5a81e47ff7d30848fcc7325f80.jpg","text":"TemporaryFile(/tmp/multipartBody5916276005210917699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069513514,"filename":"image_20022025_09_01_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a00f656ee209bcffb8a6be2cec8f7b99.jpg","text":"TemporaryFile(/tmp/multipartBody5786930892750746122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069513514,"filename":"image_20022025_09_02_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/676d01bd0870ef8bf612490fdc517ecf.jpg","text":"TemporaryFile(/tmp/multipartBody2136260789245503554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069513514,"filename":"image_20022025_09_01_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ef1f069994c2dda1386d8cee7ceffbc.jpg","text":"TemporaryFile(/tmp/multipartBody3260403627881259141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069513514,"filename":"image_20022025_09_02_05_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d410d3b01a6a10cfc1e0cbced0be304e.jpg","text":"TemporaryFile(/tmp/multipartBody8799646221765838433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069513514,"filename":"image_20022025_09_01_46_9458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338636195","file1":"1338636194","file0":"1338636193","file4":"1338636199","file5":"1338636201","file3":"1338636197"},"map_files_photo_id_array":[{"photo_id":"1338636201","filename":"file5"},{"photo_id":"1338636195","filename":"file2"},{"photo_id":"1338636199","filename":"file4"},{"photo_id":"1338636194","filename":"file1"},{"photo_id":"1338636193","filename":"file0"},{"photo_id":"1338636197","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636194":["hashtag1","hashtag2"]},{"1338636197":["hashtag1","hashtag2"]},{"1338636201":["hashtag1","hashtag2"]},{"1338636193":["hashtag1","hashtag2"]},{"1338636199":["hashtag1","hashtag2"]},{"1338636195":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636194, 1338636197, 1338636201, 1338636193, 1338636199, 1338636195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.327661752700806 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:38:33.185261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_26_10359.jpg', '/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_35_9396.jpg', '/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_46_10322.jpg', '/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_55_9354.jpg', '/home/pi/Desktop/images/20022025/09/02/image_20022025_09_03_06_10470.jpg', '/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_16_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_26_10359.jpg
/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_35_9396.jpg
/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_46_10322.jpg
/home/pi/Desktop/images/20022025/09/02/image_20022025_09_02_55_9354.jpg
/home/pi/Desktop/images/20022025/09/02/image_20022025_09_03_06_10470.jpg
/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_16_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636237","1338636239","1338636230","1338636224","1338636241","1338636247"],"photo_ids_order":["1338636224","1338636230","1338636237","1338636239","1338636241","1338636247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfb321f590a4eb15295b491813066e78.jpg","text":"TemporaryFile(/tmp/multipartBody3926094117239732364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069573773,"filename":"image_20022025_09_02_46_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eebb464114da4587faefb0b94450eb34.jpg","text":"TemporaryFile(/tmp/multipartBody2076859782118446310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069573773,"filename":"image_20022025_09_02_55_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a33cc74aa612b54a9e9aafe93c1a8f39.jpg","text":"TemporaryFile(/tmp/multipartBody6610700709974075792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069573773,"filename":"image_20022025_09_02_35_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd8792e678611fd481f16c0ac87a5e5f.jpg","text":"TemporaryFile(/tmp/multipartBody5216256525641228828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069573773,"filename":"image_20022025_09_02_26_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a35ba884bfddf5156d84e9b4fd0f113c.jpg","text":"TemporaryFile(/tmp/multipartBody3175123848212322505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069573773,"filename":"image_20022025_09_03_06_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/865a46c10f303c271dcb52f31c47707e.jpg","text":"TemporaryFile(/tmp/multipartBody9209699648510935589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069573773,"filename":"image_20022025_09_03_16_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338636237","file1":"1338636230","file0":"1338636224","file4":"1338636241","file5":"1338636247","file3":"1338636239"},"map_files_photo_id_array":[{"photo_id":"1338636247","filename":"file5"},{"photo_id":"1338636237","filename":"file2"},{"photo_id":"1338636241","filename":"file4"},{"photo_id":"1338636230","filename":"file1"},{"photo_id":"1338636224","filename":"file0"},{"photo_id":"1338636239","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636237":["hashtag1","hashtag2"]},{"1338636239":["hashtag1","hashtag2"]},{"1338636230":["hashtag1","hashtag2"]},{"1338636224":["hashtag1","hashtag2"]},{"1338636241":["hashtag1","hashtag2"]},{"1338636247":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636237, 1338636239, 1338636230, 1338636224, 1338636241, 1338636247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.7375910282135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:39:32.394934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_25_9343.jpg', '/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_36_10445.jpg', '/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_46_10327.jpg', '/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_56_9423.jpg', '/home/pi/Desktop/images/20022025/09/03/image_20022025_09_04_06_10334.jpg', '/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_15_9374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_25_9343.jpg
/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_36_10445.jpg
/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_46_10327.jpg
/home/pi/Desktop/images/20022025/09/03/image_20022025_09_03_56_9423.jpg
/home/pi/Desktop/images/20022025/09/03/image_20022025_09_04_06_10334.jpg
/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_15_9374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636276","1338636286","1338636283","1338636271","1338636279","1338636288"],"photo_ids_order":["1338636271","1338636276","1338636279","1338636283","1338636286","1338636288"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9681215268be670c0a8ce999438ca555.jpg","text":"TemporaryFile(/tmp/multipartBody5787402232522743289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069632954,"filename":"image_20022025_09_03_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/653584a738de755b5b54bd25f882482e.jpg","text":"TemporaryFile(/tmp/multipartBody1288695379040307688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069632954,"filename":"image_20022025_09_04_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f61f5278e5c051172524352888d34488.jpg","text":"TemporaryFile(/tmp/multipartBody4456412731684216289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069632954,"filename":"image_20022025_09_03_56_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88a06404ae64ad1cbbfb7ae658fe4977.jpg","text":"TemporaryFile(/tmp/multipartBody4752414451740676700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069632954,"filename":"image_20022025_09_03_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dcedb1a01d254cf62c2657b66f0051d6.jpg","text":"TemporaryFile(/tmp/multipartBody4596209222844736842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069632954,"filename":"image_20022025_09_03_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d6f442556e0950f29a7bdc479b31471.jpg","text":"TemporaryFile(/tmp/multipartBody6438747186804622852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069632954,"filename":"image_20022025_09_04_15_9374.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338636279","file1":"1338636276","file0":"1338636271","file4":"1338636286","file5":"1338636288","file3":"1338636283"},"map_files_photo_id_array":[{"photo_id":"1338636288","filename":"file5"},{"photo_id":"1338636279","filename":"file2"},{"photo_id":"1338636286","filename":"file4"},{"photo_id":"1338636276","filename":"file1"},{"photo_id":"1338636271","filename":"file0"},{"photo_id":"1338636283","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636276":["hashtag1","hashtag2"]},{"1338636286":["hashtag1","hashtag2"]},{"1338636283":["hashtag1","hashtag2"]},{"1338636271":["hashtag1","hashtag2"]},{"1338636279":["hashtag1","hashtag2"]},{"1338636288":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636276, 1338636286, 1338636283, 1338636271, 1338636279, 1338636288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85057187080383 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:40:32.509430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_26_10427.jpg', '/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_36_10057.jpg', '/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_46_10328.jpg', '/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_55_9347.jpg', '/home/pi/Desktop/images/20022025/09/04/image_20022025_09_05_06_10347.jpg', '/home/pi/Desktop/images/20022025/09/05/image_20022025_09_05_16_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_26_10427.jpg
/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_36_10057.jpg
/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_46_10328.jpg
/home/pi/Desktop/images/20022025/09/04/image_20022025_09_04_55_9347.jpg
/home/pi/Desktop/images/20022025/09/04/image_20022025_09_05_06_10347.jpg
/home/pi/Desktop/images/20022025/09/05/image_20022025_09_05_16_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636306","1338636398","1338636302","1338636304","1338636399","1338636366"],"photo_ids_order":["1338636302","1338636304","1338636306","1338636366","1338636398","1338636399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/efd44dabcb8245cdf1eb2f99ab9b85ba.jpg","text":"TemporaryFile(/tmp/multipartBody8619933316060159519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069693072,"filename":"image_20022025_09_04_46_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18160bcdd35fedf3be375f758be0f7b6.jpg","text":"TemporaryFile(/tmp/multipartBody6955722170680611766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069693072,"filename":"image_20022025_09_05_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ec928f718ab30c2f11aad507da997c1.jpg","text":"TemporaryFile(/tmp/multipartBody7429327422956017849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069693072,"filename":"image_20022025_09_04_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2905baa95c9e75e443f6fec8a859ce30.jpg","text":"TemporaryFile(/tmp/multipartBody79648681024199919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069693072,"filename":"image_20022025_09_04_36_10057.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f075c5d1b30a006cc5b5f2054d39fa6d.jpg","text":"TemporaryFile(/tmp/multipartBody3933984222627942054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069693072,"filename":"image_20022025_09_05_16_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6d95f4ed787a18d30a2d76614efb54ae.jpg","text":"TemporaryFile(/tmp/multipartBody4031804967193248042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069693072,"filename":"image_20022025_09_04_55_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338636306","file1":"1338636304","file0":"1338636302","file4":"1338636398","file5":"1338636399","file3":"1338636366"},"map_files_photo_id_array":[{"photo_id":"1338636399","filename":"file5"},{"photo_id":"1338636306","filename":"file2"},{"photo_id":"1338636398","filename":"file4"},{"photo_id":"1338636304","filename":"file1"},{"photo_id":"1338636302","filename":"file0"},{"photo_id":"1338636366","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636306":["hashtag1","hashtag2"]},{"1338636398":["hashtag1","hashtag2"]},{"1338636302":["hashtag1","hashtag2"]},{"1338636304":["hashtag1","hashtag2"]},{"1338636399":["hashtag1","hashtag2"]},{"1338636366":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636306, 1338636398, 1338636302, 1338636304, 1338636399, 1338636366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.774436235427856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:41:32.719519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/05/image_20022025_09_05_26_9415.jpg', '/home/pi/Desktop/images/20022025/09/05/image_20022025_09_05_36_10337.jpg', '/home/pi/Desktop/images/20022025/09/05/image_20022025_09_05_56_10388.jpg', '/home/pi/Desktop/images/20022025/09/05/image_20022025_09_06_06_10349.jpg', '/home/pi/Desktop/images/20022025/09/06/image_20022025_09_06_15_9395.jpg', '/home/pi/Desktop/images/20022025/09/06/image_20022025_09_06_26_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/05/image_20022025_09_05_26_9415.jpg
/home/pi/Desktop/images/20022025/09/05/image_20022025_09_05_36_10337.jpg
/home/pi/Desktop/images/20022025/09/05/image_20022025_09_05_56_10388.jpg
/home/pi/Desktop/images/20022025/09/05/image_20022025_09_06_06_10349.jpg
/home/pi/Desktop/images/20022025/09/06/image_20022025_09_06_15_9395.jpg
/home/pi/Desktop/images/20022025/09/06/image_20022025_09_06_26_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338636596","1338636598","1338636601","1338636604","1338636597","1338636663"],"photo_ids_order":["1338636596","1338636597","1338636598","1338636601","1338636604","1338636663"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5033f25eb722dbc0cf5480a0b72bc30c.jpg","text":"TemporaryFile(/tmp/multipartBody1635891557901331817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069753283,"filename":"image_20022025_09_05_26_9415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e7d86c96e8f8cb92eca9bf26f12109d.jpg","text":"TemporaryFile(/tmp/multipartBody9152329426152522426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069753283,"filename":"image_20022025_09_05_56_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a01b0bf0d69f51c06ff1baca667aa50.jpg","text":"TemporaryFile(/tmp/multipartBody6020434715140836096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069753283,"filename":"image_20022025_09_06_06_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4efe6394c2f14b4142076d9dd109a1a7.jpg","text":"TemporaryFile(/tmp/multipartBody5238046839776266070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069753283,"filename":"image_20022025_09_06_15_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3ec2159ccc1ba7ea86e37cad9ba60b4.jpg","text":"TemporaryFile(/tmp/multipartBody3841203860421889253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069753283,"filename":"image_20022025_09_05_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f570370c61ac31bff1a0027a8563797a.jpg","text":"TemporaryFile(/tmp/multipartBody2224252495970297676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069753283,"filename":"image_20022025_09_06_26_10360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338636598","file1":"1338636597","file0":"1338636596","file4":"1338636604","file5":"1338636663","file3":"1338636601"},"map_files_photo_id_array":[{"photo_id":"1338636663","filename":"file5"},{"photo_id":"1338636598","filename":"file2"},{"photo_id":"1338636604","filename":"file4"},{"photo_id":"1338636597","filename":"file1"},{"photo_id":"1338636596","filename":"file0"},{"photo_id":"1338636601","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338636596":["hashtag1","hashtag2"]},{"1338636598":["hashtag1","hashtag2"]},{"1338636601":["hashtag1","hashtag2"]},{"1338636604":["hashtag1","hashtag2"]},{"1338636597":["hashtag1","hashtag2"]},{"1338636663":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338636596, 1338636598, 1338636601, 1338636604, 1338636597, 1338636663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45703673362732 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:42:32.907225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/06/image_20022025_09_06_36_10342.jpg', '/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_16_10412.jpg', '/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_26_10361.jpg', '/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_35_9365.jpg', '/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_46_10424.jpg', '/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_56_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/06/image_20022025_09_06_36_10342.jpg
/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_16_10412.jpg
/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_26_10361.jpg
/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_35_9365.jpg
/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_46_10424.jpg
/home/pi/Desktop/images/20022025/09/07/image_20022025_09_07_56_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338637323","1338637631","1338637489","1338637630","1338637573","1338637405"],"photo_ids_order":["1338637323","1338637405","1338637489","1338637573","1338637630","1338637631"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5053095086c5f8b20a25173b201147f0.jpg","text":"TemporaryFile(/tmp/multipartBody6285226411604586944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069813495,"filename":"image_20022025_09_06_36_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd71c198f879122dd731e28b9ace4f31.jpg","text":"TemporaryFile(/tmp/multipartBody2741507062756673760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069813495,"filename":"image_20022025_09_07_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac72eefc46fcdacace984483c3ea78a7.jpg","text":"TemporaryFile(/tmp/multipartBody7753394868300359638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069813495,"filename":"image_20022025_09_07_26_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5130c3a4cba89526253015e422dee46d.jpg","text":"TemporaryFile(/tmp/multipartBody7352114151519866341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069813495,"filename":"image_20022025_09_07_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a451b1d47ee1249d9d5af5ea7fe5c1d.jpg","text":"TemporaryFile(/tmp/multipartBody5939728700421626513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069813495,"filename":"image_20022025_09_07_35_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9932af2a72e6aef325e05b66961ff0e0.jpg","text":"TemporaryFile(/tmp/multipartBody1606663873612677273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069813495,"filename":"image_20022025_09_07_16_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338637489","file1":"1338637405","file0":"1338637323","file4":"1338637630","file5":"1338637631","file3":"1338637573"},"map_files_photo_id_array":[{"photo_id":"1338637631","filename":"file5"},{"photo_id":"1338637489","filename":"file2"},{"photo_id":"1338637630","filename":"file4"},{"photo_id":"1338637405","filename":"file1"},{"photo_id":"1338637323","filename":"file0"},{"photo_id":"1338637573","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338637323":["hashtag1","hashtag2"]},{"1338637631":["hashtag1","hashtag2"]},{"1338637489":["hashtag1","hashtag2"]},{"1338637630":["hashtag1","hashtag2"]},{"1338637573":["hashtag1","hashtag2"]},{"1338637405":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338637323, 1338637631, 1338637489, 1338637630, 1338637573, 1338637405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.43302392959595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:43:33.157232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/07/image_20022025_09_08_06_9435.jpg', '/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_16_10414.jpg', '/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_25_9343.jpg', '/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_36_10522.jpg', '/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_45_9334.jpg', '/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_56_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/07/image_20022025_09_08_06_9435.jpg
/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_16_10414.jpg
/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_25_9343.jpg
/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_36_10522.jpg
/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_45_9334.jpg
/home/pi/Desktop/images/20022025/09/08/image_20022025_09_08_56_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338637664","1338637658","1338637661","1338637666","1338637656","1338637644"],"photo_ids_order":["1338637644","1338637656","1338637658","1338637661","1338637664","1338637666"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9506eb32f40005dbd2cc285a86e0bbd8.jpg","text":"TemporaryFile(/tmp/multipartBody4591099874828766350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069873745,"filename":"image_20022025_09_08_45_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7c54f7dd993fa5e1225ca8f526b1d579.jpg","text":"TemporaryFile(/tmp/multipartBody5072091280503627778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069873745,"filename":"image_20022025_09_08_25_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8fab54f162bb0cd567430a7c12919050.jpg","text":"TemporaryFile(/tmp/multipartBody1203609266428003784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069873745,"filename":"image_20022025_09_08_36_10522.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/97163ff2d9b8da99897fedced47ba931.jpg","text":"TemporaryFile(/tmp/multipartBody599699764740790991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069873745,"filename":"image_20022025_09_08_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed8b58ab8abc4eb2cbd774e2a5cf00f5.jpg","text":"TemporaryFile(/tmp/multipartBody5007502396288369366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069873745,"filename":"image_20022025_09_08_16_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/77879196d4a33ae27f37a3089c4b77c5.jpg","text":"TemporaryFile(/tmp/multipartBody5356196287132018603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069873745,"filename":"image_20022025_09_08_06_9435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338637658","file1":"1338637656","file0":"1338637644","file4":"1338637664","file5":"1338637666","file3":"1338637661"},"map_files_photo_id_array":[{"photo_id":"1338637666","filename":"file5"},{"photo_id":"1338637658","filename":"file2"},{"photo_id":"1338637664","filename":"file4"},{"photo_id":"1338637656","filename":"file1"},{"photo_id":"1338637644","filename":"file0"},{"photo_id":"1338637661","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338637664":["hashtag1","hashtag2"]},{"1338637658":["hashtag1","hashtag2"]},{"1338637661":["hashtag1","hashtag2"]},{"1338637666":["hashtag1","hashtag2"]},{"1338637656":["hashtag1","hashtag2"]},{"1338637644":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338637664, 1338637658, 1338637661, 1338637666, 1338637656, 1338637644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.606008768081665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:44:32.087047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/09/image_20022025_09_09_15_9319.jpg', '/home/pi/Desktop/images/20022025/09/09/image_20022025_09_09_45_9321.jpg', '/home/pi/Desktop/images/20022025/09/09/image_20022025_09_09_56_10340.jpg', '/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_15_9342.jpg', '/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_26_10418.jpg', '/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_36_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/09/image_20022025_09_09_15_9319.jpg
/home/pi/Desktop/images/20022025/09/09/image_20022025_09_09_45_9321.jpg
/home/pi/Desktop/images/20022025/09/09/image_20022025_09_09_56_10340.jpg
/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_15_9342.jpg
/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_26_10418.jpg
/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_36_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338638080","1338638074","1338638068","1338638020","1338638076","1338638079"],"photo_ids_order":["1338638020","1338638068","1338638074","1338638076","1338638079","1338638080"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea18a93882f2a75354ff91cbfd1206e5.jpg","text":"TemporaryFile(/tmp/multipartBody7204294647670414254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069932674,"filename":"image_20022025_09_10_36_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b004635c540a7dacb53e9d87df37f0e.jpg","text":"TemporaryFile(/tmp/multipartBody2938857586332329430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069932674,"filename":"image_20022025_09_09_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac1b769a91adb63038e96ad254278102.jpg","text":"TemporaryFile(/tmp/multipartBody7901872090225842351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069932674,"filename":"image_20022025_09_09_45_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/621c78a7bf6a66d7e52f7dd9f1555bef.jpg","text":"TemporaryFile(/tmp/multipartBody8892137310386808890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069932674,"filename":"image_20022025_09_09_15_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d7cc9e1ce6ceb5ac437c2e82af0f370d.jpg","text":"TemporaryFile(/tmp/multipartBody3729057284912847845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069932674,"filename":"image_20022025_09_10_15_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e8dd7924ad9e88e2ee215fd7b6c7cef1.jpg","text":"TemporaryFile(/tmp/multipartBody8296005185018585311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069932674,"filename":"image_20022025_09_10_26_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338638074","file1":"1338638068","file0":"1338638020","file4":"1338638079","file5":"1338638080","file3":"1338638076"},"map_files_photo_id_array":[{"photo_id":"1338638080","filename":"file5"},{"photo_id":"1338638074","filename":"file2"},{"photo_id":"1338638079","filename":"file4"},{"photo_id":"1338638068","filename":"file1"},{"photo_id":"1338638020","filename":"file0"},{"photo_id":"1338638076","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338638080":["hashtag1","hashtag2"]},{"1338638074":["hashtag1","hashtag2"]},{"1338638068":["hashtag1","hashtag2"]},{"1338638020":["hashtag1","hashtag2"]},{"1338638076":["hashtag1","hashtag2"]},{"1338638079":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338638080, 1338638074, 1338638068, 1338638020, 1338638076, 1338638079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11265301704407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:45:32.331250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_45_9364.jpg', '/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_56_10361.jpg', '/home/pi/Desktop/images/20022025/09/10/image_20022025_09_11_05_9434.jpg', '/home/pi/Desktop/images/20022025/09/11/image_20022025_09_11_26_10357.jpg', '/home/pi/Desktop/images/20022025/09/11/image_20022025_09_11_35_9337.jpg', '/home/pi/Desktop/images/20022025/09/11/image_20022025_09_11_46_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_45_9364.jpg
/home/pi/Desktop/images/20022025/09/10/image_20022025_09_10_56_10361.jpg
/home/pi/Desktop/images/20022025/09/10/image_20022025_09_11_05_9434.jpg
/home/pi/Desktop/images/20022025/09/11/image_20022025_09_11_26_10357.jpg
/home/pi/Desktop/images/20022025/09/11/image_20022025_09_11_35_9337.jpg
/home/pi/Desktop/images/20022025/09/11/image_20022025_09_11_46_10408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338638237","1338638245","1338638239","1338638236","1338638241","1338638247"],"photo_ids_order":["1338638236","1338638237","1338638239","1338638241","1338638245","1338638247"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9fb941c1e0b3faf343df4baeb4794ff3.jpg","text":"TemporaryFile(/tmp/multipartBody1775186356857906795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069992886,"filename":"image_20022025_09_10_56_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88eb3589ce82d2b4a29e521c0bac9d80.jpg","text":"TemporaryFile(/tmp/multipartBody730254575257566229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069992886,"filename":"image_20022025_09_11_35_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0277ca2811f73a98a380227ddc7070c6.jpg","text":"TemporaryFile(/tmp/multipartBody5446832253624662570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069992886,"filename":"image_20022025_09_11_05_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6d1690787174c5ef30aa06b9ac6258ab.jpg","text":"TemporaryFile(/tmp/multipartBody8342391746732417093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069992886,"filename":"image_20022025_09_10_45_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d2ce2b164349b39145c1544f2db4096.jpg","text":"TemporaryFile(/tmp/multipartBody6752371981408873561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069992886,"filename":"image_20022025_09_11_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/984a6e7be32f0a86cdf43256ceac6b5f.jpg","text":"TemporaryFile(/tmp/multipartBody2237521745204089080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740069992886,"filename":"image_20022025_09_11_46_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338638239","file1":"1338638237","file0":"1338638236","file4":"1338638245","file5":"1338638247","file3":"1338638241"},"map_files_photo_id_array":[{"photo_id":"1338638247","filename":"file5"},{"photo_id":"1338638239","filename":"file2"},{"photo_id":"1338638245","filename":"file4"},{"photo_id":"1338638237","filename":"file1"},{"photo_id":"1338638236","filename":"file0"},{"photo_id":"1338638241","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338638237":["hashtag1","hashtag2"]},{"1338638245":["hashtag1","hashtag2"]},{"1338638239":["hashtag1","hashtag2"]},{"1338638236":["hashtag1","hashtag2"]},{"1338638241":["hashtag1","hashtag2"]},{"1338638247":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338638237, 1338638245, 1338638239, 1338638236, 1338638241, 1338638247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.73310852050781 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:46:32.568080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/11/image_20022025_09_11_56_10351.jpg', '/home/pi/Desktop/images/20022025/09/11/image_20022025_09_12_06_9387.jpg', '/home/pi/Desktop/images/20022025/09/12/image_20022025_09_12_16_10342.jpg', '/home/pi/Desktop/images/20022025/09/12/image_20022025_09_12_36_10421.jpg', '/home/pi/Desktop/images/20022025/09/12/image_20022025_09_12_55_9422.jpg', '/home/pi/Desktop/images/20022025/09/12/image_20022025_09_13_06_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/11/image_20022025_09_11_56_10351.jpg
/home/pi/Desktop/images/20022025/09/11/image_20022025_09_12_06_9387.jpg
/home/pi/Desktop/images/20022025/09/12/image_20022025_09_12_16_10342.jpg
/home/pi/Desktop/images/20022025/09/12/image_20022025_09_12_36_10421.jpg
/home/pi/Desktop/images/20022025/09/12/image_20022025_09_12_55_9422.jpg
/home/pi/Desktop/images/20022025/09/12/image_20022025_09_13_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338638546","1338638560","1338638557","1338638550","1338638553","1338638532"],"photo_ids_order":["1338638532","1338638546","1338638550","1338638553","1338638557","1338638560"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2869a23ce7bc449747a52641f83d4ab9.jpg","text":"TemporaryFile(/tmp/multipartBody5239464622145091034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070053157,"filename":"image_20022025_09_12_06_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f2b4852fa955b55f68dd33a9264f5655.jpg","text":"TemporaryFile(/tmp/multipartBody5984378078892956021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070053157,"filename":"image_20022025_09_13_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ab5afe98ba1032062d8c930accc34fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5202655535971459949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070053157,"filename":"image_20022025_09_12_55_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f42adfed1eb79b1ef55b87d26590ab7c.jpg","text":"TemporaryFile(/tmp/multipartBody4261858482759968832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070053157,"filename":"image_20022025_09_12_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f984bf82d25a727c3bb893a3e7a21aca.jpg","text":"TemporaryFile(/tmp/multipartBody3676259349537549619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070053157,"filename":"image_20022025_09_12_36_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6512ff6a851d1ac0d01c6a290241b014.jpg","text":"TemporaryFile(/tmp/multipartBody4899326652884226201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070053157,"filename":"image_20022025_09_11_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338638550","file1":"1338638546","file0":"1338638532","file4":"1338638557","file5":"1338638560","file3":"1338638553"},"map_files_photo_id_array":[{"photo_id":"1338638560","filename":"file5"},{"photo_id":"1338638550","filename":"file2"},{"photo_id":"1338638557","filename":"file4"},{"photo_id":"1338638546","filename":"file1"},{"photo_id":"1338638532","filename":"file0"},{"photo_id":"1338638553","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338638546":["hashtag1","hashtag2"]},{"1338638560":["hashtag1","hashtag2"]},{"1338638557":["hashtag1","hashtag2"]},{"1338638550":["hashtag1","hashtag2"]},{"1338638553":["hashtag1","hashtag2"]},{"1338638532":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338638546, 1338638560, 1338638557, 1338638550, 1338638553, 1338638532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40355634689331 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:47:32.839223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_16_10338.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_25_9414.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_36_10440.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_45_9339.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_56_10354.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_14_06_10319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_16_10338.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_25_9414.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_36_10440.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_45_9339.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_56_10354.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_14_06_10319.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4669795036315918 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 17:47:42.810252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_16_10338.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_25_9414.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_36_10440.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_45_9339.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_56_10354.jpg', '/home/pi/Desktop/images/20022025/09/13/image_20022025_09_14_06_10319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_16_10338.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_25_9414.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_36_10440.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_45_9339.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_13_56_10354.jpg
/home/pi/Desktop/images/20022025/09/13/image_20022025_09_14_06_10319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338638612","1338638609","1338638599","1338638593","1338638608","1338638607"],"photo_ids_order":["1338638593","1338638599","1338638607","1338638608","1338638609","1338638612"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20d34402adb445ea499ec412492e3e49.jpg","text":"TemporaryFile(/tmp/multipartBody6195361196226705713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070123294,"filename":"image_20022025_09_14_06_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/06e40f57f397e93f54fc2d8cf595a0e4.jpg","text":"TemporaryFile(/tmp/multipartBody2543080710469511292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070123294,"filename":"image_20022025_09_13_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26a721498678f071a4b4bb951df80841.jpg","text":"TemporaryFile(/tmp/multipartBody2887608302205313762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070123294,"filename":"image_20022025_09_13_25_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d047df5fa8be84075f43c6eb8a245a8.jpg","text":"TemporaryFile(/tmp/multipartBody5961077756566612128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070123294,"filename":"image_20022025_09_13_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b391d6b06e51cae9416cb4e58da6f353.jpg","text":"TemporaryFile(/tmp/multipartBody5223429956482160943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070123294,"filename":"image_20022025_09_13_45_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b90c7e69c474b5778d31646ef1ed2d4.jpg","text":"TemporaryFile(/tmp/multipartBody567076945405463775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070123294,"filename":"image_20022025_09_13_36_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338638607","file1":"1338638599","file0":"1338638593","file4":"1338638609","file5":"1338638612","file3":"1338638608"},"map_files_photo_id_array":[{"photo_id":"1338638612","filename":"file5"},{"photo_id":"1338638607","filename":"file2"},{"photo_id":"1338638609","filename":"file4"},{"photo_id":"1338638599","filename":"file1"},{"photo_id":"1338638593","filename":"file0"},{"photo_id":"1338638608","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338638612":["hashtag1","hashtag2"]},{"1338638609":["hashtag1","hashtag2"]},{"1338638599":["hashtag1","hashtag2"]},{"1338638593":["hashtag1","hashtag2"]},{"1338638608":["hashtag1","hashtag2"]},{"1338638607":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338638612, 1338638609, 1338638599, 1338638593, 1338638608, 1338638607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21914505958557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:48:33.010361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_15_9311.jpg', '/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_25_10008.jpg', '/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_36_10434.jpg', '/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_46_10339.jpg', '/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_55_9343.jpg', '/home/pi/Desktop/images/20022025/09/14/image_20022025_09_15_06_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_15_9311.jpg
/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_25_10008.jpg
/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_36_10434.jpg
/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_46_10339.jpg
/home/pi/Desktop/images/20022025/09/14/image_20022025_09_14_55_9343.jpg
/home/pi/Desktop/images/20022025/09/14/image_20022025_09_15_06_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338638639","1338638633","1338638636","1338638629","1338638631","1338638628"],"photo_ids_order":["1338638628","1338638629","1338638631","1338638633","1338638636","1338638639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76e5b8dd60024921f697961a2b6be52d.jpg","text":"TemporaryFile(/tmp/multipartBody3455933647568885295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070173581,"filename":"image_20022025_09_15_06_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0a1b75901b8b3e915e5776fe3a0e606.jpg","text":"TemporaryFile(/tmp/multipartBody8597462723307307723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070173581,"filename":"image_20022025_09_14_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a575fcf8093c1d996c0eb6af7bbf2f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7932214888165127045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070173581,"filename":"image_20022025_09_14_55_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ccb1e60399d464f50d10348df93f5ce2.jpg","text":"TemporaryFile(/tmp/multipartBody6217988188976226557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070173581,"filename":"image_20022025_09_14_25_10008.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7001c1a9667ee5ee5cc8742231c8847f.jpg","text":"TemporaryFile(/tmp/multipartBody5670938506273732294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070173581,"filename":"image_20022025_09_14_36_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90e2dcd07e84ea23a098ab9275d50bc3.jpg","text":"TemporaryFile(/tmp/multipartBody6747388053484518236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070173581,"filename":"image_20022025_09_14_15_9311.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338638631","file1":"1338638629","file0":"1338638628","file4":"1338638636","file5":"1338638639","file3":"1338638633"},"map_files_photo_id_array":[{"photo_id":"1338638639","filename":"file5"},{"photo_id":"1338638631","filename":"file2"},{"photo_id":"1338638636","filename":"file4"},{"photo_id":"1338638629","filename":"file1"},{"photo_id":"1338638628","filename":"file0"},{"photo_id":"1338638633","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338638639":["hashtag1","hashtag2"]},{"1338638633":["hashtag1","hashtag2"]},{"1338638636":["hashtag1","hashtag2"]},{"1338638629":["hashtag1","hashtag2"]},{"1338638631":["hashtag1","hashtag2"]},{"1338638628":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338638639, 1338638633, 1338638636, 1338638629, 1338638631, 1338638628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.693769693374634 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:49:33.183199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_16_10340.jpg', '/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_25_9385.jpg', '/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_36_10348.jpg', '/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_45_9318.jpg', '/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_56_10368.jpg', '/home/pi/Desktop/images/20022025/09/15/image_20022025_09_16_06_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_16_10340.jpg
/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_25_9385.jpg
/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_36_10348.jpg
/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_45_9318.jpg
/home/pi/Desktop/images/20022025/09/15/image_20022025_09_15_56_10368.jpg
/home/pi/Desktop/images/20022025/09/15/image_20022025_09_16_06_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338639211","1338638749","1338639141","1338638961","1338638652","1338639213"],"photo_ids_order":["1338638652","1338638749","1338638961","1338639141","1338639211","1338639213"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/584cf258248f00bababbae8cca8354ba.jpg","text":"TemporaryFile(/tmp/multipartBody5969164189053528978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070233742,"filename":"image_20022025_09_15_56_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb6e9bfe6f161ba1e22cde3aa75705ce.jpg","text":"TemporaryFile(/tmp/multipartBody4726936019640603383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070233742,"filename":"image_20022025_09_15_25_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/687a3ec876efe1840df01790ea3a0ddf.jpg","text":"TemporaryFile(/tmp/multipartBody3869847277007807042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070233742,"filename":"image_20022025_09_15_45_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a2a5570ca94dfde6dbe1d2a600b52453.jpg","text":"TemporaryFile(/tmp/multipartBody1132044455178042641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070233742,"filename":"image_20022025_09_15_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ec18853698ffc082f3cc804594ba14b.jpg","text":"TemporaryFile(/tmp/multipartBody2743876803558578302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070233742,"filename":"image_20022025_09_15_16_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd5094f8b9945928c97fb55048af73e0.jpg","text":"TemporaryFile(/tmp/multipartBody2799648791719255088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070233742,"filename":"image_20022025_09_16_06_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338638961","file1":"1338638749","file0":"1338638652","file4":"1338639211","file5":"1338639213","file3":"1338639141"},"map_files_photo_id_array":[{"photo_id":"1338639213","filename":"file5"},{"photo_id":"1338638961","filename":"file2"},{"photo_id":"1338639211","filename":"file4"},{"photo_id":"1338638749","filename":"file1"},{"photo_id":"1338638652","filename":"file0"},{"photo_id":"1338639141","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338639211":["hashtag1","hashtag2"]},{"1338638749":["hashtag1","hashtag2"]},{"1338639141":["hashtag1","hashtag2"]},{"1338638961":["hashtag1","hashtag2"]},{"1338638652":["hashtag1","hashtag2"]},{"1338639213":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338639211, 1338638749, 1338639141, 1338638961, 1338638652, 1338639213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79018568992615 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:50:32.392567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_15_9328.jpg', '/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_26_10451.jpg', '/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_36_10348.jpg', '/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_45_9334.jpg', '/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_56_10422.jpg', '/home/pi/Desktop/images/20022025/09/16/image_20022025_09_17_06_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_15_9328.jpg
/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_26_10451.jpg
/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_36_10348.jpg
/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_45_9334.jpg
/home/pi/Desktop/images/20022025/09/16/image_20022025_09_16_56_10422.jpg
/home/pi/Desktop/images/20022025/09/16/image_20022025_09_17_06_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338639404","1338639406","1338639270","1338639402","1338639230","1338639397"],"photo_ids_order":["1338639230","1338639270","1338639397","1338639402","1338639404","1338639406"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6567a3858b57a4bcd97847f0df040112.jpg","text":"TemporaryFile(/tmp/multipartBody5637922850543263931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070292958,"filename":"image_20022025_09_16_56_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/79e0bb761ff68891b1a5a46567a2a49f.jpg","text":"TemporaryFile(/tmp/multipartBody7563351590405328727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070292958,"filename":"image_20022025_09_17_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1bfedff71e2b76fa8a3cff8e4bd20edf.jpg","text":"TemporaryFile(/tmp/multipartBody5496007181734343093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070292958,"filename":"image_20022025_09_16_26_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e2a3cb548981059e7208f186321d74a.jpg","text":"TemporaryFile(/tmp/multipartBody4522990298602028748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070292958,"filename":"image_20022025_09_16_45_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b0c17dada719a98648bf23e17ac84ba3.jpg","text":"TemporaryFile(/tmp/multipartBody1915379938045061150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070292958,"filename":"image_20022025_09_16_15_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e45d9f7735c15c45caf3d3a08f77c28f.jpg","text":"TemporaryFile(/tmp/multipartBody6563492632939081118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070292958,"filename":"image_20022025_09_16_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338639397","file1":"1338639270","file0":"1338639230","file4":"1338639404","file5":"1338639406","file3":"1338639402"},"map_files_photo_id_array":[{"photo_id":"1338639406","filename":"file5"},{"photo_id":"1338639397","filename":"file2"},{"photo_id":"1338639404","filename":"file4"},{"photo_id":"1338639270","filename":"file1"},{"photo_id":"1338639230","filename":"file0"},{"photo_id":"1338639402","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338639404":["hashtag1","hashtag2"]},{"1338639406":["hashtag1","hashtag2"]},{"1338639270":["hashtag1","hashtag2"]},{"1338639402":["hashtag1","hashtag2"]},{"1338639230":["hashtag1","hashtag2"]},{"1338639397":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338639404, 1338639406, 1338639270, 1338639402, 1338639230, 1338639397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.80598258972168 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:51:32.467039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_16_9458.jpg', '/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_26_10353.jpg', '/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_35_9328.jpg', '/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_46_10452.jpg', '/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_56_10347.jpg', '/home/pi/Desktop/images/20022025/09/17/image_20022025_09_18_05_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_16_9458.jpg
/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_26_10353.jpg
/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_35_9328.jpg
/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_46_10452.jpg
/home/pi/Desktop/images/20022025/09/17/image_20022025_09_17_56_10347.jpg
/home/pi/Desktop/images/20022025/09/17/image_20022025_09_18_05_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338639814","1338639808","1338639837","1338639816","1338639833","1338639830"],"photo_ids_order":["1338639808","1338639814","1338639816","1338639830","1338639833","1338639837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d40a2fcd8725d1b5c06796d209eef6d.jpg","text":"TemporaryFile(/tmp/multipartBody7108378973967148387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070353033,"filename":"image_20022025_09_17_26_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6401307302c82cfe4bf81f172462033b.jpg","text":"TemporaryFile(/tmp/multipartBody1693228175640441255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070353033,"filename":"image_20022025_09_17_16_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fed2f2403380bfd49bacf302ddf6a326.jpg","text":"TemporaryFile(/tmp/multipartBody2985167860141988909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070353033,"filename":"image_20022025_09_18_05_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6167e1e5eee7d8dc35df7eec52a435e.jpg","text":"TemporaryFile(/tmp/multipartBody69098023118521653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070353033,"filename":"image_20022025_09_17_35_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bad98d1e99464e9b9bbdc5675a151b35.jpg","text":"TemporaryFile(/tmp/multipartBody7690968540167873767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070353033,"filename":"image_20022025_09_17_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83e433de22d81be82ed339811b27819e.jpg","text":"TemporaryFile(/tmp/multipartBody4350604142220163625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070353033,"filename":"image_20022025_09_17_46_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338639816","file1":"1338639814","file0":"1338639808","file4":"1338639833","file5":"1338639837","file3":"1338639830"},"map_files_photo_id_array":[{"photo_id":"1338639837","filename":"file5"},{"photo_id":"1338639816","filename":"file2"},{"photo_id":"1338639833","filename":"file4"},{"photo_id":"1338639814","filename":"file1"},{"photo_id":"1338639808","filename":"file0"},{"photo_id":"1338639830","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338639814":["hashtag1","hashtag2"]},{"1338639808":["hashtag1","hashtag2"]},{"1338639837":["hashtag1","hashtag2"]},{"1338639816":["hashtag1","hashtag2"]},{"1338639833":["hashtag1","hashtag2"]},{"1338639830":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338639814, 1338639808, 1338639837, 1338639816, 1338639833, 1338639830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.24248433113098 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:52:32.821489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/18/image_20022025_09_18_16_10363.jpg', '/home/pi/Desktop/images/20022025/09/18/image_20022025_09_18_26_10349.jpg', '/home/pi/Desktop/images/20022025/09/18/image_20022025_09_18_36_9422.jpg', '/home/pi/Desktop/images/20022025/09/18/image_20022025_09_18_46_10420.jpg', '/home/pi/Desktop/images/20022025/09/18/image_20022025_09_19_06_10336.jpg', '/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_16_10418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/18/image_20022025_09_18_16_10363.jpg
/home/pi/Desktop/images/20022025/09/18/image_20022025_09_18_26_10349.jpg
/home/pi/Desktop/images/20022025/09/18/image_20022025_09_18_36_9422.jpg
/home/pi/Desktop/images/20022025/09/18/image_20022025_09_18_46_10420.jpg
/home/pi/Desktop/images/20022025/09/18/image_20022025_09_19_06_10336.jpg
/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_16_10418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338640001","1338640057","1338639939","1338639995","1338639998","1338639985"],"photo_ids_order":["1338639939","1338639985","1338639995","1338639998","1338640001","1338640057"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5b07a0de8e0a2d40a6b8939646c97ec9.jpg","text":"TemporaryFile(/tmp/multipartBody6189313726807537768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070413387,"filename":"image_20022025_09_19_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/89f6af7e22b64c4642551efe0b7b92aa.jpg","text":"TemporaryFile(/tmp/multipartBody3524093290591653233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070413387,"filename":"image_20022025_09_19_16_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/11af97b86e89a76708b8396485c8a77e.jpg","text":"TemporaryFile(/tmp/multipartBody6706668954886666753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070413387,"filename":"image_20022025_09_18_16_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/03c838ee181e64f0a9408c06d75acda4.jpg","text":"TemporaryFile(/tmp/multipartBody51332613396772480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070413387,"filename":"image_20022025_09_18_36_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6a7602d1354686716bce72e9934940e.jpg","text":"TemporaryFile(/tmp/multipartBody8023617367028469158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070413387,"filename":"image_20022025_09_18_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b511f24b1f03b8a7f11f11be0806f8a.jpg","text":"TemporaryFile(/tmp/multipartBody1790926295592520383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070413387,"filename":"image_20022025_09_18_26_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338639995","file1":"1338639985","file0":"1338639939","file4":"1338640001","file5":"1338640057","file3":"1338639998"},"map_files_photo_id_array":[{"photo_id":"1338640057","filename":"file5"},{"photo_id":"1338639995","filename":"file2"},{"photo_id":"1338640001","filename":"file4"},{"photo_id":"1338639985","filename":"file1"},{"photo_id":"1338639939","filename":"file0"},{"photo_id":"1338639998","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338640001":["hashtag1","hashtag2"]},{"1338640057":["hashtag1","hashtag2"]},{"1338639939":["hashtag1","hashtag2"]},{"1338639995":["hashtag1","hashtag2"]},{"1338639998":["hashtag1","hashtag2"]},{"1338639985":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338640001, 1338640057, 1338639939, 1338639995, 1338639998, 1338639985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.292951345443726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:53:33.029615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_25_9333.jpg', '/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_36_10352.jpg', '/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_46_10359.jpg', '/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_56_9429.jpg', '/home/pi/Desktop/images/20022025/09/19/image_20022025_09_20_06_10338.jpg', '/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_15_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_25_9333.jpg
/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_36_10352.jpg
/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_46_10359.jpg
/home/pi/Desktop/images/20022025/09/19/image_20022025_09_19_56_9429.jpg
/home/pi/Desktop/images/20022025/09/19/image_20022025_09_20_06_10338.jpg
/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_15_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338640133","1338640135","1338640140","1338640137","1338640131","1338640142"],"photo_ids_order":["1338640131","1338640133","1338640135","1338640137","1338640140","1338640142"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ef5dc5c9bcdab4829171bb8ce957c93.jpg","text":"TemporaryFile(/tmp/multipartBody8731948856411746992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070473578,"filename":"image_20022025_09_19_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea4e27a3882da9b816ec101a16af1ac5.jpg","text":"TemporaryFile(/tmp/multipartBody3610069924392035500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070473578,"filename":"image_20022025_09_19_46_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/06b3113e93fed4b59875337250532303.jpg","text":"TemporaryFile(/tmp/multipartBody7609259723679892656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070473578,"filename":"image_20022025_09_20_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c462dd839b68e3f7d225471afbad5eb.jpg","text":"TemporaryFile(/tmp/multipartBody7182889011292444362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070473578,"filename":"image_20022025_09_19_56_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a62d1b88b998c79d1056e62e038c12e.jpg","text":"TemporaryFile(/tmp/multipartBody5690720476857412326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070473578,"filename":"image_20022025_09_19_25_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/524ba41daf13f20f56c8608397d92c49.jpg","text":"TemporaryFile(/tmp/multipartBody3492537484500644830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070473578,"filename":"image_20022025_09_20_15_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338640135","file1":"1338640133","file0":"1338640131","file4":"1338640140","file5":"1338640142","file3":"1338640137"},"map_files_photo_id_array":[{"photo_id":"1338640142","filename":"file5"},{"photo_id":"1338640135","filename":"file2"},{"photo_id":"1338640140","filename":"file4"},{"photo_id":"1338640133","filename":"file1"},{"photo_id":"1338640131","filename":"file0"},{"photo_id":"1338640137","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338640133":["hashtag1","hashtag2"]},{"1338640135":["hashtag1","hashtag2"]},{"1338640140":["hashtag1","hashtag2"]},{"1338640137":["hashtag1","hashtag2"]},{"1338640131":["hashtag1","hashtag2"]},{"1338640142":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338640133, 1338640135, 1338640140, 1338640137, 1338640131, 1338640142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.576363563537598 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:54:32.164873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_26_10441.jpg', '/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_36_10349.jpg', '/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_46_9552.jpg', '/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_56_10417.jpg', '/home/pi/Desktop/images/20022025/09/20/image_20022025_09_21_05_9336.jpg', '/home/pi/Desktop/images/20022025/09/21/image_20022025_09_21_16_10364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_26_10441.jpg
/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_36_10349.jpg
/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_46_9552.jpg
/home/pi/Desktop/images/20022025/09/20/image_20022025_09_20_56_10417.jpg
/home/pi/Desktop/images/20022025/09/20/image_20022025_09_21_05_9336.jpg
/home/pi/Desktop/images/20022025/09/21/image_20022025_09_21_16_10364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338640166","1338640171","1338640168","1338640170","1338640160","1338640163"],"photo_ids_order":["1338640160","1338640163","1338640166","1338640168","1338640170","1338640171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b333515f13eff66767fd95123f2990d0.jpg","text":"TemporaryFile(/tmp/multipartBody3177835214144818748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070532983,"filename":"image_20022025_09_20_46_9552.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4084725371d05e532aed5cfd1e8b2a71.jpg","text":"TemporaryFile(/tmp/multipartBody3581431782808406850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070532983,"filename":"image_20022025_09_21_16_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4feec4b2514cd9cb1c61e0469f6ac76.jpg","text":"TemporaryFile(/tmp/multipartBody4997786959288127261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070532983,"filename":"image_20022025_09_20_56_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e37d526a16a1fd4043c3b1a5590997f.jpg","text":"TemporaryFile(/tmp/multipartBody6092730915391985420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070532983,"filename":"image_20022025_09_21_05_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70c1e8084cfd3b7182078ce27cc46252.jpg","text":"TemporaryFile(/tmp/multipartBody2505813516942904943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070532983,"filename":"image_20022025_09_20_26_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2be5ee750e9c9d140f3249c865212aa9.jpg","text":"TemporaryFile(/tmp/multipartBody7410028357988361602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070532983,"filename":"image_20022025_09_20_36_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338640166","file1":"1338640163","file0":"1338640160","file4":"1338640170","file5":"1338640171","file3":"1338640168"},"map_files_photo_id_array":[{"photo_id":"1338640171","filename":"file5"},{"photo_id":"1338640166","filename":"file2"},{"photo_id":"1338640170","filename":"file4"},{"photo_id":"1338640163","filename":"file1"},{"photo_id":"1338640160","filename":"file0"},{"photo_id":"1338640168","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338640166":["hashtag1","hashtag2"]},{"1338640171":["hashtag1","hashtag2"]},{"1338640168":["hashtag1","hashtag2"]},{"1338640170":["hashtag1","hashtag2"]},{"1338640160":["hashtag1","hashtag2"]},{"1338640163":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338640166, 1338640171, 1338640168, 1338640170, 1338640160, 1338640163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76778864860535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:55:32.412717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/21/image_20022025_09_21_26_10337.jpg', '/home/pi/Desktop/images/20022025/09/21/image_20022025_09_21_35_9336.jpg', '/home/pi/Desktop/images/20022025/09/21/image_20022025_09_22_06_10439.jpg', '/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_16_10429.jpg', '/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_25_9335.jpg', '/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_36_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/21/image_20022025_09_21_26_10337.jpg
/home/pi/Desktop/images/20022025/09/21/image_20022025_09_21_35_9336.jpg
/home/pi/Desktop/images/20022025/09/21/image_20022025_09_22_06_10439.jpg
/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_16_10429.jpg
/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_25_9335.jpg
/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_36_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338640186","1338640189","1338640180","1338640183","1338640185","1338640188"],"photo_ids_order":["1338640180","1338640183","1338640185","1338640186","1338640188","1338640189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2536519810f0d42314fecb3c6a1762e.jpg","text":"TemporaryFile(/tmp/multipartBody3328790145783206471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070592985,"filename":"image_20022025_09_22_16_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c759e7ad8ca03caedb8eb1f60c7e10ce.jpg","text":"TemporaryFile(/tmp/multipartBody5051023174219925952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070592985,"filename":"image_20022025_09_22_36_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af427dfa779d74e95d1524ff30a5f83d.jpg","text":"TemporaryFile(/tmp/multipartBody5984727613905144720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070592985,"filename":"image_20022025_09_21_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48fb28fa996e491b565258ec1c679b9c.jpg","text":"TemporaryFile(/tmp/multipartBody7759095334071033561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070592985,"filename":"image_20022025_09_21_35_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16bca5089c55494f15bd30424b0ec099.jpg","text":"TemporaryFile(/tmp/multipartBody69352034450195527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070592985,"filename":"image_20022025_09_22_06_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0a01e605dd2f474f25fc91b7ede90184.jpg","text":"TemporaryFile(/tmp/multipartBody8895726829916248463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070592985,"filename":"image_20022025_09_22_25_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338640185","file1":"1338640183","file0":"1338640180","file4":"1338640188","file5":"1338640189","file3":"1338640186"},"map_files_photo_id_array":[{"photo_id":"1338640189","filename":"file5"},{"photo_id":"1338640185","filename":"file2"},{"photo_id":"1338640188","filename":"file4"},{"photo_id":"1338640183","filename":"file1"},{"photo_id":"1338640180","filename":"file0"},{"photo_id":"1338640186","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338640186":["hashtag1","hashtag2"]},{"1338640189":["hashtag1","hashtag2"]},{"1338640180":["hashtag1","hashtag2"]},{"1338640183":["hashtag1","hashtag2"]},{"1338640185":["hashtag1","hashtag2"]},{"1338640188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338640186, 1338640189, 1338640180, 1338640183, 1338640185, 1338640188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20267915725708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:56:32.687894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_56_9468.jpg', '/home/pi/Desktop/images/20022025/09/22/image_20022025_09_23_06_10333.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_15_9336.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_26_10416.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_36_10354.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_56_9468.jpg
/home/pi/Desktop/images/20022025/09/22/image_20022025_09_23_06_10333.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_15_9336.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_26_10416.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_36_10354.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_45_9351.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.48085927963256836 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 17:56:42.765034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_56_9468.jpg', '/home/pi/Desktop/images/20022025/09/22/image_20022025_09_23_06_10333.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_15_9336.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_26_10416.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_36_10354.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_45_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/22/image_20022025_09_22_56_9468.jpg
/home/pi/Desktop/images/20022025/09/22/image_20022025_09_23_06_10333.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_15_9336.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_26_10416.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_36_10354.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_45_9351.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":["1338640270","1338640267","1338640261","1338640264","1338640272","1338640274"],"photo_ids_order":["1338640261","1338640264","1338640267","1338640270","1338640272","1338640274"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b896cd45acc1b95b39a4af25fdac1e7.jpg","text":"TemporaryFile(/tmp/multipartBody5388185686874250332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070663276,"filename":"image_20022025_09_23_26_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb30bc2b9dede4bce3ffe3b73454f10a.jpg","text":"TemporaryFile(/tmp/multipartBody9075412280565185638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070663276,"filename":"image_20022025_09_23_15_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f311254fc47108c6c6f08ed7df2c794c.jpg","text":"TemporaryFile(/tmp/multipartBody7549732352816477938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070663276,"filename":"image_20022025_09_22_56_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c946a8693f5787b2063cf85ac2494ceb.jpg","text":"TemporaryFile(/tmp/multipartBody1984787623142894869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070663276,"filename":"image_20022025_09_23_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/64b0d96ddc3f1d30c6a1e0f2ab491b92.jpg","text":"TemporaryFile(/tmp/multipartBody4280185564432151901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070663276,"filename":"image_20022025_09_23_36_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/15b806daeebdc5e0d53245cf1bed3872.jpg","text":"TemporaryFile(/tmp/multipartBody8560749688713057377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070663276,"filename":"image_20022025_09_23_45_9351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338640267","file1":"1338640264","file0":"1338640261","file4":"1338640272","file5":"1338640274","file3":"1338640270"},"map_files_photo_id_array":[{"photo_id":"1338640274","filename":"file5"},{"photo_id":"1338640267","filename":"file2"},{"photo_id":"1338640272","filename":"file4"},{"photo_id":"1338640264","filename":"file1"},{"photo_id":"1338640261","filename":"file0"},{"photo_id":"1338640270","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338640270":["hashtag1","hashtag2"]},{"1338640267":["hashtag1","hashtag2"]},{"1338640261":["hashtag1","hashtag2"]},{"1338640264":["hashtag1","hashtag2"]},{"1338640272":["hashtag1","hashtag2"]},{"1338640274":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338640270, 1338640267, 1338640261, 1338640264, 1338640272, 1338640274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.80194878578186 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 17:57:32.827239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_56_10426.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_24_06_10342.jpg', '/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_16_9434.jpg', '/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_26_10421.jpg', '/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_46_10345.jpg', '/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_56_10426.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_24_06_10342.jpg
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_16_9434.jpg
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_26_10421.jpg
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_46_10345.jpg
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_56_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 17:59:03.922964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_56_10426.jpg', '/home/pi/Desktop/images/20022025/09/23/image_20022025_09_24_06_10342.jpg', '/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_16_9434.jpg', '/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_26_10421.jpg', '/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_46_10345.jpg', '/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_56_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_23_56_10426.jpg
/home/pi/Desktop/images/20022025/09/23/image_20022025_09_24_06_10342.jpg
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_16_9434.jpg
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_26_10421.jpg
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_46_10345.jpg
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_24_56_10356.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338640576","1338640579","1338640570","1338640567","1338640583","1338640571"],"photo_ids_order":["1338640567","1338640570","1338640571","1338640576","1338640579","1338640583"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6aa0982b5fcf7f9df4d50ace38e33c4d.jpg","text":"TemporaryFile(/tmp/multipartBody4248594068955460502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070804538,"filename":"image_20022025_09_24_26_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d7c298d030f3f204cc8433f9dee7e42.jpg","text":"TemporaryFile(/tmp/multipartBody2508807493636414288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070804538,"filename":"image_20022025_09_24_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ef3c3081435ab338e37b13b1db24a1a.jpg","text":"TemporaryFile(/tmp/multipartBody4017254618547060095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070804538,"filename":"image_20022025_09_24_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ba182a49875658fd5361c96b788e686.jpg","text":"TemporaryFile(/tmp/multipartBody4818816564462638377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070804538,"filename":"image_20022025_09_23_56_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e7b567a6de5d3e088013a72a9ae94689.jpg","text":"TemporaryFile(/tmp/multipartBody676597644878016115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070804538,"filename":"image_20022025_09_24_56_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9fa5078bfa9cf3b896197717caa2a0de.jpg","text":"TemporaryFile(/tmp/multipartBody6459791108163561080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070804538,"filename":"image_20022025_09_24_16_9434.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338640571","file1":"1338640570","file0":"1338640567","file4":"1338640579","file5":"1338640583","file3":"1338640576"},"map_files_photo_id_array":[{"photo_id":"1338640583","filename":"file5"},{"photo_id":"1338640571","filename":"file2"},{"photo_id":"1338640579","filename":"file4"},{"photo_id":"1338640570","filename":"file1"},{"photo_id":"1338640567","filename":"file0"},{"photo_id":"1338640576","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338640576":["hashtag1","hashtag2"]},{"1338640579":["hashtag1","hashtag2"]},{"1338640570":["hashtag1","hashtag2"]},{"1338640567":["hashtag1","hashtag2"]},{"1338640583":["hashtag1","hashtag2"]},{"1338640571":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338640576, 1338640579, 1338640570, 1338640567, 1338640583, 1338640571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.48538374900818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 17:59:42.224000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/24/image_20022025_09_25_05_9353.jpg', '/home/pi/Desktop/images/20022025/09/25/image_20022025_09_25_16_10412.jpg', '/home/pi/Desktop/images/20022025/09/25/image_20022025_09_25_26_10325.jpg', '/home/pi/Desktop/images/20022025/09/25/image_20022025_09_25_46_10341.jpg', '/home/pi/Desktop/images/20022025/09/25/image_20022025_09_25_55_9346.jpg', '/home/pi/Desktop/images/20022025/09/25/image_20022025_09_26_06_10415.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/24/image_20022025_09_25_05_9353.jpg
/home/pi/Desktop/images/20022025/09/25/image_20022025_09_25_16_10412.jpg
/home/pi/Desktop/images/20022025/09/25/image_20022025_09_25_26_10325.jpg
/home/pi/Desktop/images/20022025/09/25/image_20022025_09_25_46_10341.jpg
/home/pi/Desktop/images/20022025/09/25/image_20022025_09_25_55_9346.jpg
/home/pi/Desktop/images/20022025/09/25/image_20022025_09_26_06_10415.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338640601","1338640604","1338640597","1338640599","1338640595","1338640592"],"photo_ids_order":["1338640592","1338640595","1338640597","1338640599","1338640601","1338640604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2182e0dca8239cf484ea94687aa461e.jpg","text":"TemporaryFile(/tmp/multipartBody1708135495453044681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070842792,"filename":"image_20022025_09_25_55_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5eca995ae037ea7f22ce7d2531c7c493.jpg","text":"TemporaryFile(/tmp/multipartBody5842353519158109264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070842792,"filename":"image_20022025_09_26_06_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da3bf2d28c7e7625c29a66bb4bd5d21e.jpg","text":"TemporaryFile(/tmp/multipartBody8845452883463462456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070842792,"filename":"image_20022025_09_25_26_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca8b978266a8b9142639101d1fccb0a3.jpg","text":"TemporaryFile(/tmp/multipartBody8202806227117652869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070842792,"filename":"image_20022025_09_25_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0e7c503ff11875b66b0f37b89ed70cf.jpg","text":"TemporaryFile(/tmp/multipartBody1630126895146136106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070842792,"filename":"image_20022025_09_25_16_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1cd64101e1e9448b6eca2b2b10ff5859.jpg","text":"TemporaryFile(/tmp/multipartBody1390265647253780635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070842792,"filename":"image_20022025_09_25_05_9353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338640597","file1":"1338640595","file0":"1338640592","file4":"1338640601","file5":"1338640604","file3":"1338640599"},"map_files_photo_id_array":[{"photo_id":"1338640604","filename":"file5"},{"photo_id":"1338640597","filename":"file2"},{"photo_id":"1338640601","filename":"file4"},{"photo_id":"1338640595","filename":"file1"},{"photo_id":"1338640592","filename":"file0"},{"photo_id":"1338640599","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338640601":["hashtag1","hashtag2"]},{"1338640604":["hashtag1","hashtag2"]},{"1338640597":["hashtag1","hashtag2"]},{"1338640599":["hashtag1","hashtag2"]},{"1338640595":["hashtag1","hashtag2"]},{"1338640592":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338640601, 1338640604, 1338640597, 1338640599, 1338640595, 1338640592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.957000970840454 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:00:32.485029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/26/image_20022025_09_26_36_10353.jpg', '/home/pi/Desktop/images/20022025/09/26/image_20022025_09_26_46_10321.jpg', '/home/pi/Desktop/images/20022025/09/26/image_20022025_09_26_55_9360.jpg', '/home/pi/Desktop/images/20022025/09/26/image_20022025_09_27_06_10344.jpg', '/home/pi/Desktop/images/20022025/09/27/image_20022025_09_27_16_10330.jpg', '/home/pi/Desktop/images/20022025/09/27/image_20022025_09_27_36_10424.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/26/image_20022025_09_26_36_10353.jpg
/home/pi/Desktop/images/20022025/09/26/image_20022025_09_26_46_10321.jpg
/home/pi/Desktop/images/20022025/09/26/image_20022025_09_26_55_9360.jpg
/home/pi/Desktop/images/20022025/09/26/image_20022025_09_27_06_10344.jpg
/home/pi/Desktop/images/20022025/09/27/image_20022025_09_27_16_10330.jpg
/home/pi/Desktop/images/20022025/09/27/image_20022025_09_27_36_10424.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338641213","1338641215","1338641104","1338641220","1338641217","1338641222"],"photo_ids_order":["1338641104","1338641213","1338641215","1338641217","1338641220","1338641222"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e37e91aecf6ac043c36404016738fa8.jpg","text":"TemporaryFile(/tmp/multipartBody7016328330594332759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070893046,"filename":"image_20022025_09_26_46_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/693d149654ff6aaea1ad45a5034178f4.jpg","text":"TemporaryFile(/tmp/multipartBody2437638024918082762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070893046,"filename":"image_20022025_09_26_55_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ad0d98954197d83767e06c7dcf9b55e9.jpg","text":"TemporaryFile(/tmp/multipartBody5792847177323811474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070893046,"filename":"image_20022025_09_26_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/62395d9be9adccd765f0d8cab4a4a558.jpg","text":"TemporaryFile(/tmp/multipartBody6141393641251235181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070893046,"filename":"image_20022025_09_27_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e3f40b8a25236a8463943b2ce958a56.jpg","text":"TemporaryFile(/tmp/multipartBody1360607823461127011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070893046,"filename":"image_20022025_09_27_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3313e4608d97f2ba45adf905facdc06.jpg","text":"TemporaryFile(/tmp/multipartBody5496938681539780133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070893046,"filename":"image_20022025_09_27_36_10424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338641215","file1":"1338641213","file0":"1338641104","file4":"1338641220","file5":"1338641222","file3":"1338641217"},"map_files_photo_id_array":[{"photo_id":"1338641222","filename":"file5"},{"photo_id":"1338641215","filename":"file2"},{"photo_id":"1338641220","filename":"file4"},{"photo_id":"1338641213","filename":"file1"},{"photo_id":"1338641104","filename":"file0"},{"photo_id":"1338641217","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338641213":["hashtag1","hashtag2"]},{"1338641215":["hashtag1","hashtag2"]},{"1338641104":["hashtag1","hashtag2"]},{"1338641220":["hashtag1","hashtag2"]},{"1338641217":["hashtag1","hashtag2"]},{"1338641222":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338641213, 1338641215, 1338641104, 1338641220, 1338641217, 1338641222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.254719018936157 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:01:32.655745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/27/image_20022025_09_27_46_10345.jpg', '/home/pi/Desktop/images/20022025/09/27/image_20022025_09_27_56_9409.jpg', '/home/pi/Desktop/images/20022025/09/27/image_20022025_09_28_06_10360.jpg', '/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_15_9361.jpg', '/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_26_10433.jpg', '/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_36_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/27/image_20022025_09_27_46_10345.jpg
/home/pi/Desktop/images/20022025/09/27/image_20022025_09_27_56_9409.jpg
/home/pi/Desktop/images/20022025/09/27/image_20022025_09_28_06_10360.jpg
/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_15_9361.jpg
/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_26_10433.jpg
/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_36_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338641473","1338641391","1338641472","1338641463","1338641439","1338641393"],"photo_ids_order":["1338641391","1338641393","1338641439","1338641463","1338641472","1338641473"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/392934df4f8d01b0043cb50ba1e4e37f.jpg","text":"TemporaryFile(/tmp/multipartBody301725039222547814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070953794,"filename":"image_20022025_09_28_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b09ae7bbade659a2e7b04f1369bdd9d.jpg","text":"TemporaryFile(/tmp/multipartBody5023073784225876316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070953794,"filename":"image_20022025_09_27_46_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b32f40c20055f19e330c5a3c1194952.jpg","text":"TemporaryFile(/tmp/multipartBody7795656589569502188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070953794,"filename":"image_20022025_09_28_26_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ad102cd4031ac8636dcd21bee44b9cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5717943350009610131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070953794,"filename":"image_20022025_09_28_15_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db1629463096206065ed958edcc5970b.jpg","text":"TemporaryFile(/tmp/multipartBody8489115161771558951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070953794,"filename":"image_20022025_09_28_06_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/817ec24151542afc7a3cd02025010e20.jpg","text":"TemporaryFile(/tmp/multipartBody7872881449862789407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740070953794,"filename":"image_20022025_09_27_56_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338641439","file1":"1338641393","file0":"1338641391","file4":"1338641472","file5":"1338641473","file3":"1338641463"},"map_files_photo_id_array":[{"photo_id":"1338641473","filename":"file5"},{"photo_id":"1338641439","filename":"file2"},{"photo_id":"1338641472","filename":"file4"},{"photo_id":"1338641393","filename":"file1"},{"photo_id":"1338641391","filename":"file0"},{"photo_id":"1338641463","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338641473":["hashtag1","hashtag2"]},{"1338641391":["hashtag1","hashtag2"]},{"1338641472":["hashtag1","hashtag2"]},{"1338641463":["hashtag1","hashtag2"]},{"1338641439":["hashtag1","hashtag2"]},{"1338641393":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338641473, 1338641391, 1338641472, 1338641463, 1338641439, 1338641393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.62874221801758 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:02:33.869820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_45_9335.jpg', '/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_56_10351.jpg', '/home/pi/Desktop/images/20022025/09/28/image_20022025_09_29_06_10442.jpg', '/home/pi/Desktop/images/20022025/09/29/image_20022025_09_29_26_10372.jpg', '/home/pi/Desktop/images/20022025/09/29/image_20022025_09_29_46_10424.jpg', '/home/pi/Desktop/images/20022025/09/29/image_20022025_09_29_56_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_45_9335.jpg
/home/pi/Desktop/images/20022025/09/28/image_20022025_09_28_56_10351.jpg
/home/pi/Desktop/images/20022025/09/28/image_20022025_09_29_06_10442.jpg
/home/pi/Desktop/images/20022025/09/29/image_20022025_09_29_26_10372.jpg
/home/pi/Desktop/images/20022025/09/29/image_20022025_09_29_46_10424.jpg
/home/pi/Desktop/images/20022025/09/29/image_20022025_09_29_56_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338641510","1338641506","1338641509","1338641499","1338641503","1338641508"],"photo_ids_order":["1338641499","1338641503","1338641506","1338641508","1338641509","1338641510"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/45c89c756e6e101358cd04765cf4d996.jpg","text":"TemporaryFile(/tmp/multipartBody172762884868485858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071014427,"filename":"image_20022025_09_29_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/155fbc3ac256568abb8522657b133d8c.jpg","text":"TemporaryFile(/tmp/multipartBody4898055402907651928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071014427,"filename":"image_20022025_09_29_06_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83671e69c55fa32888284a3337641d98.jpg","text":"TemporaryFile(/tmp/multipartBody3153620762197077340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071014427,"filename":"image_20022025_09_29_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/839ee23b880a9de961cf017dadb8011e.jpg","text":"TemporaryFile(/tmp/multipartBody5713740478566658250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071014427,"filename":"image_20022025_09_28_45_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7a23ed55ada537de3d0ca766cd251d27.jpg","text":"TemporaryFile(/tmp/multipartBody2979737258635887212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071014427,"filename":"image_20022025_09_28_56_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cce0fa8747ce134617f6dd724f356815.jpg","text":"TemporaryFile(/tmp/multipartBody4393465731399494789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071014427,"filename":"image_20022025_09_29_26_10372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338641506","file1":"1338641503","file0":"1338641499","file4":"1338641509","file5":"1338641510","file3":"1338641508"},"map_files_photo_id_array":[{"photo_id":"1338641510","filename":"file5"},{"photo_id":"1338641506","filename":"file2"},{"photo_id":"1338641509","filename":"file4"},{"photo_id":"1338641503","filename":"file1"},{"photo_id":"1338641499","filename":"file0"},{"photo_id":"1338641508","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338641510":["hashtag1","hashtag2"]},{"1338641506":["hashtag1","hashtag2"]},{"1338641509":["hashtag1","hashtag2"]},{"1338641499":["hashtag1","hashtag2"]},{"1338641503":["hashtag1","hashtag2"]},{"1338641508":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338641510, 1338641506, 1338641509, 1338641499, 1338641503, 1338641508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93111824989319 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:03:33.069327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/29/image_20022025_09_30_05_9392.jpg', '/home/pi/Desktop/images/20022025/09/30/image_20022025_09_30_25_9388.jpg', '/home/pi/Desktop/images/20022025/09/31/image_20022025_09_31_35_9853.jpg', '/home/pi/Desktop/images/20022025/09/31/image_20022025_09_31_46_10334.jpg', '/home/pi/Desktop/images/20022025/09/31/image_20022025_09_31_56_10452.jpg', '/home/pi/Desktop/images/20022025/09/31/image_20022025_09_32_06_9428.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/29/image_20022025_09_30_05_9392.jpg
/home/pi/Desktop/images/20022025/09/30/image_20022025_09_30_25_9388.jpg
/home/pi/Desktop/images/20022025/09/31/image_20022025_09_31_35_9853.jpg
/home/pi/Desktop/images/20022025/09/31/image_20022025_09_31_46_10334.jpg
/home/pi/Desktop/images/20022025/09/31/image_20022025_09_31_56_10452.jpg
/home/pi/Desktop/images/20022025/09/31/image_20022025_09_32_06_9428.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338641530","1338641527","1338641598","1338641679","1338641532","1338641534"],"photo_ids_order":["1338641527","1338641530","1338641532","1338641534","1338641598","1338641679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41bc53fecdce6c71da1537e760c7ab01.jpg","text":"TemporaryFile(/tmp/multipartBody2306783170490098170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071073640,"filename":"image_20022025_09_30_25_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20a6aaab69052895ba4a4283bff7cf56.jpg","text":"TemporaryFile(/tmp/multipartBody4064114676908259043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071073640,"filename":"image_20022025_09_30_05_9392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4bdaf59cb10e8f9543d64eabaa55323.jpg","text":"TemporaryFile(/tmp/multipartBody6571296576981585284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071073640,"filename":"image_20022025_09_31_56_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/405795edb9af77999adcbc8fe93f4db5.jpg","text":"TemporaryFile(/tmp/multipartBody6688171877647778051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071073640,"filename":"image_20022025_09_32_06_9428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a93117c44e2b88cd873b5a71768db67.jpg","text":"TemporaryFile(/tmp/multipartBody5117954814111210472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071073640,"filename":"image_20022025_09_31_35_9853.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8e522664aa5f5bd6040526bf1aef31a.jpg","text":"TemporaryFile(/tmp/multipartBody7286247507287248581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071073640,"filename":"image_20022025_09_31_46_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338641532","file1":"1338641530","file0":"1338641527","file4":"1338641598","file5":"1338641679","file3":"1338641534"},"map_files_photo_id_array":[{"photo_id":"1338641679","filename":"file5"},{"photo_id":"1338641532","filename":"file2"},{"photo_id":"1338641598","filename":"file4"},{"photo_id":"1338641530","filename":"file1"},{"photo_id":"1338641527","filename":"file0"},{"photo_id":"1338641534","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338641530":["hashtag1","hashtag2"]},{"1338641527":["hashtag1","hashtag2"]},{"1338641598":["hashtag1","hashtag2"]},{"1338641679":["hashtag1","hashtag2"]},{"1338641532":["hashtag1","hashtag2"]},{"1338641534":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338641530, 1338641527, 1338641598, 1338641679, 1338641532, 1338641534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29692530632019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:04:33.108100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_16_10334.jpg', '/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_25_9361.jpg', '/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_36_10440.jpg', '/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_46_10401.jpg', '/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_55_9434.jpg', '/home/pi/Desktop/images/20022025/09/32/image_20022025_09_33_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_16_10334.jpg
/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_25_9361.jpg
/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_36_10440.jpg
/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_46_10401.jpg
/home/pi/Desktop/images/20022025/09/32/image_20022025_09_32_55_9434.jpg
/home/pi/Desktop/images/20022025/09/32/image_20022025_09_33_06_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338641710","1338641707","1338641712","1338641703","1338641705","1338641708"],"photo_ids_order":["1338641703","1338641705","1338641707","1338641708","1338641710","1338641712"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3861c2be6f1b4080c274ea3c1d2a8924.jpg","text":"TemporaryFile(/tmp/multipartBody3363657123716868815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071133677,"filename":"image_20022025_09_32_55_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bf91443ee51888c023d719894d9f18ce.jpg","text":"TemporaryFile(/tmp/multipartBody3748673573082245661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071133677,"filename":"image_20022025_09_32_36_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba35624c89351eced6937306714205c8.jpg","text":"TemporaryFile(/tmp/multipartBody8574823063207309222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071133677,"filename":"image_20022025_09_33_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff20eb8eb7d13af458faf3f707e06a10.jpg","text":"TemporaryFile(/tmp/multipartBody9182806057828994383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071133677,"filename":"image_20022025_09_32_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/39c5e5bef248a285873695a2a9624da9.jpg","text":"TemporaryFile(/tmp/multipartBody2154394168250771884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071133677,"filename":"image_20022025_09_32_25_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/849f6545b260a57766a6814b3c4e12dc.jpg","text":"TemporaryFile(/tmp/multipartBody588828349858267393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071133677,"filename":"image_20022025_09_32_46_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338641707","file1":"1338641705","file0":"1338641703","file4":"1338641710","file5":"1338641712","file3":"1338641708"},"map_files_photo_id_array":[{"photo_id":"1338641712","filename":"file5"},{"photo_id":"1338641707","filename":"file2"},{"photo_id":"1338641710","filename":"file4"},{"photo_id":"1338641705","filename":"file1"},{"photo_id":"1338641703","filename":"file0"},{"photo_id":"1338641708","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338641710":["hashtag1","hashtag2"]},{"1338641707":["hashtag1","hashtag2"]},{"1338641712":["hashtag1","hashtag2"]},{"1338641703":["hashtag1","hashtag2"]},{"1338641705":["hashtag1","hashtag2"]},{"1338641708":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338641710, 1338641707, 1338641712, 1338641703, 1338641705, 1338641708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56809973716736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:05:32.283220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/33/image_20022025_09_33_15_9339.jpg', '/home/pi/Desktop/images/20022025/09/33/image_20022025_09_33_36_10352.jpg', '/home/pi/Desktop/images/20022025/09/33/image_20022025_09_33_45_9318.jpg', '/home/pi/Desktop/images/20022025/09/33/image_20022025_09_33_56_10410.jpg', '/home/pi/Desktop/images/20022025/09/33/image_20022025_09_34_06_10420.jpg', '/home/pi/Desktop/images/20022025/09/34/image_20022025_09_34_16_9388.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/33/image_20022025_09_33_15_9339.jpg
/home/pi/Desktop/images/20022025/09/33/image_20022025_09_33_36_10352.jpg
/home/pi/Desktop/images/20022025/09/33/image_20022025_09_33_45_9318.jpg
/home/pi/Desktop/images/20022025/09/33/image_20022025_09_33_56_10410.jpg
/home/pi/Desktop/images/20022025/09/33/image_20022025_09_34_06_10420.jpg
/home/pi/Desktop/images/20022025/09/34/image_20022025_09_34_16_9388.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642270","1338642264","1338642273","1338642261","1338642272","1338642268"],"photo_ids_order":["1338642261","1338642264","1338642268","1338642270","1338642272","1338642273"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/87012028d8d1655fe062cabe5744e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody2461243433096100442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071192856,"filename":"image_20022025_09_33_56_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b46d01ee796f0f256081f2fe20a33da.jpg","text":"TemporaryFile(/tmp/multipartBody4258676862350586016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071192856,"filename":"image_20022025_09_33_36_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/519c46c0c4d893909d1a1ebf1786c2b2.jpg","text":"TemporaryFile(/tmp/multipartBody6392811253791960892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071192856,"filename":"image_20022025_09_34_16_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd8323ddc0a454a1385091a50c943747.jpg","text":"TemporaryFile(/tmp/multipartBody5495021028160194168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071192856,"filename":"image_20022025_09_33_15_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/73bc25765d4780bdee8aab968867b251.jpg","text":"TemporaryFile(/tmp/multipartBody8541429389882633157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071192856,"filename":"image_20022025_09_34_06_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8fba12ef8c230929973f03c9455ec1ab.jpg","text":"TemporaryFile(/tmp/multipartBody6214786086425665659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071192856,"filename":"image_20022025_09_33_45_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642268","file1":"1338642264","file0":"1338642261","file4":"1338642272","file5":"1338642273","file3":"1338642270"},"map_files_photo_id_array":[{"photo_id":"1338642273","filename":"file5"},{"photo_id":"1338642268","filename":"file2"},{"photo_id":"1338642272","filename":"file4"},{"photo_id":"1338642264","filename":"file1"},{"photo_id":"1338642261","filename":"file0"},{"photo_id":"1338642270","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642270":["hashtag1","hashtag2"]},{"1338642264":["hashtag1","hashtag2"]},{"1338642273":["hashtag1","hashtag2"]},{"1338642261":["hashtag1","hashtag2"]},{"1338642272":["hashtag1","hashtag2"]},{"1338642268":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642270, 1338642264, 1338642273, 1338642261, 1338642272, 1338642268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54713273048401 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:06:32.622417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/34/image_20022025_09_34_35_9365.jpg', '/home/pi/Desktop/images/20022025/09/34/image_20022025_09_34_56_10351.jpg', '/home/pi/Desktop/images/20022025/09/34/image_20022025_09_35_05_9328.jpg', '/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_16_10351.jpg', '/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_26_10419.jpg', '/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_35_9405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/34/image_20022025_09_34_35_9365.jpg
/home/pi/Desktop/images/20022025/09/34/image_20022025_09_34_56_10351.jpg
/home/pi/Desktop/images/20022025/09/34/image_20022025_09_35_05_9328.jpg
/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_16_10351.jpg
/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_26_10419.jpg
/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_35_9405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642594","1338642543","1338642444","1338642546","1338642540","1338642490"],"photo_ids_order":["1338642444","1338642490","1338642540","1338642543","1338642546","1338642594"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d11c80fbce64acf5818c830a91204512.jpg","text":"TemporaryFile(/tmp/multipartBody2601423173435003655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071253228,"filename":"image_20022025_09_35_35_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08ee36d708e019fc0692eb9f574fc32c.jpg","text":"TemporaryFile(/tmp/multipartBody2969139720273443703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071253228,"filename":"image_20022025_09_35_16_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/193ef40345c1cdcd151ff44b778592f2.jpg","text":"TemporaryFile(/tmp/multipartBody7318796408546336492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071253228,"filename":"image_20022025_09_34_35_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fcb2b8bcd48884fda1e7244b3a9de48b.jpg","text":"TemporaryFile(/tmp/multipartBody5984236186737189559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071253228,"filename":"image_20022025_09_35_26_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d96bb791c24ddf62f673fe69c49863f7.jpg","text":"TemporaryFile(/tmp/multipartBody1955210332942007063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071253228,"filename":"image_20022025_09_35_05_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c29ea3ee7e0cd36c39e32d597fc1d6bd.jpg","text":"TemporaryFile(/tmp/multipartBody1115074465908061258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071253228,"filename":"image_20022025_09_34_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642540","file1":"1338642490","file0":"1338642444","file4":"1338642546","file5":"1338642594","file3":"1338642543"},"map_files_photo_id_array":[{"photo_id":"1338642594","filename":"file5"},{"photo_id":"1338642540","filename":"file2"},{"photo_id":"1338642546","filename":"file4"},{"photo_id":"1338642490","filename":"file1"},{"photo_id":"1338642444","filename":"file0"},{"photo_id":"1338642543","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642594":["hashtag1","hashtag2"]},{"1338642543":["hashtag1","hashtag2"]},{"1338642444":["hashtag1","hashtag2"]},{"1338642546":["hashtag1","hashtag2"]},{"1338642540":["hashtag1","hashtag2"]},{"1338642490":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642594, 1338642543, 1338642444, 1338642546, 1338642540, 1338642490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.481876611709595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:07:32.729695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_46_10331.jpg', '/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_55_9337.jpg', '/home/pi/Desktop/images/20022025/09/35/image_20022025_09_36_06_10370.jpg', '/home/pi/Desktop/images/20022025/09/36/image_20022025_09_36_25_9337.jpg', '/home/pi/Desktop/images/20022025/09/36/image_20022025_09_36_36_10349.jpg', '/home/pi/Desktop/images/20022025/09/36/image_20022025_09_36_46_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_46_10331.jpg
/home/pi/Desktop/images/20022025/09/35/image_20022025_09_35_55_9337.jpg
/home/pi/Desktop/images/20022025/09/35/image_20022025_09_36_06_10370.jpg
/home/pi/Desktop/images/20022025/09/36/image_20022025_09_36_25_9337.jpg
/home/pi/Desktop/images/20022025/09/36/image_20022025_09_36_36_10349.jpg
/home/pi/Desktop/images/20022025/09/36/image_20022025_09_36_46_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642681","1338642683","1338642686","1338642685","1338642670","1338642688"],"photo_ids_order":["1338642670","1338642681","1338642683","1338642685","1338642686","1338642688"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71d151321646da5cfa34b9a1d9d736d0.jpg","text":"TemporaryFile(/tmp/multipartBody6151027134670999796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071313302,"filename":"image_20022025_09_35_55_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2df34b47dec99a540678cc3b82e4ca1b.jpg","text":"TemporaryFile(/tmp/multipartBody310913659449298481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071313302,"filename":"image_20022025_09_36_06_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3c3ff71e4b95de1d7cbe72861eb8b8b.jpg","text":"TemporaryFile(/tmp/multipartBody6628327666942039963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071313302,"filename":"image_20022025_09_36_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/245023f0a6e938df0f2182acd9c7d7b3.jpg","text":"TemporaryFile(/tmp/multipartBody8795123559386293978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071313302,"filename":"image_20022025_09_36_25_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a06791414d957b163fbb44a7781f7118.jpg","text":"TemporaryFile(/tmp/multipartBody1425388859092152700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071313302,"filename":"image_20022025_09_35_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82afc4bf7a6b6370bab2921d7be13559.jpg","text":"TemporaryFile(/tmp/multipartBody2117682665489038756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071313302,"filename":"image_20022025_09_36_46_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642683","file1":"1338642681","file0":"1338642670","file4":"1338642686","file5":"1338642688","file3":"1338642685"},"map_files_photo_id_array":[{"photo_id":"1338642688","filename":"file5"},{"photo_id":"1338642683","filename":"file2"},{"photo_id":"1338642686","filename":"file4"},{"photo_id":"1338642681","filename":"file1"},{"photo_id":"1338642670","filename":"file0"},{"photo_id":"1338642685","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642681":["hashtag1","hashtag2"]},{"1338642683":["hashtag1","hashtag2"]},{"1338642686":["hashtag1","hashtag2"]},{"1338642685":["hashtag1","hashtag2"]},{"1338642670":["hashtag1","hashtag2"]},{"1338642688":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642681, 1338642683, 1338642686, 1338642685, 1338642670, 1338642688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.208383560180664 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:08:32.942701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/36/image_20022025_09_36_55_9333.jpg', '/home/pi/Desktop/images/20022025/09/36/image_20022025_09_37_06_10332.jpg', '/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_16_10324.jpg', '/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_25_9326.jpg', '/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_36_10450.jpg', '/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_46_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/36/image_20022025_09_36_55_9333.jpg
/home/pi/Desktop/images/20022025/09/36/image_20022025_09_37_06_10332.jpg
/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_16_10324.jpg
/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_25_9326.jpg
/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_36_10450.jpg
/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_46_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642717","1338642705","1338642708","1338642702","1338642719","1338642730"],"photo_ids_order":["1338642702","1338642705","1338642708","1338642717","1338642719","1338642730"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2fbb75bfa8fcfb5ebca96aec70335b37.jpg","text":"TemporaryFile(/tmp/multipartBody4776689936276401886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071373492,"filename":"image_20022025_09_37_25_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8d0075761b48da357ba43c43ef2f49af.jpg","text":"TemporaryFile(/tmp/multipartBody7204109147558880100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071373492,"filename":"image_20022025_09_37_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c49c0cdffd526fb03d9dc92e425170e3.jpg","text":"TemporaryFile(/tmp/multipartBody2299232676735498479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071373492,"filename":"image_20022025_09_37_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5b9912aeeea935874ba03479278bf8c4.jpg","text":"TemporaryFile(/tmp/multipartBody8628718131341278120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071373492,"filename":"image_20022025_09_36_55_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4272792249b167e0396b2c8dbd5596c2.jpg","text":"TemporaryFile(/tmp/multipartBody649738239200367293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071373492,"filename":"image_20022025_09_37_36_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7ddb5d80aff1b2f8044a7e2938840f1.jpg","text":"TemporaryFile(/tmp/multipartBody6862874255382159316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071373492,"filename":"image_20022025_09_37_46_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642708","file1":"1338642705","file0":"1338642702","file4":"1338642719","file5":"1338642730","file3":"1338642717"},"map_files_photo_id_array":[{"photo_id":"1338642730","filename":"file5"},{"photo_id":"1338642708","filename":"file2"},{"photo_id":"1338642719","filename":"file4"},{"photo_id":"1338642705","filename":"file1"},{"photo_id":"1338642702","filename":"file0"},{"photo_id":"1338642717","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642717":["hashtag1","hashtag2"]},{"1338642705":["hashtag1","hashtag2"]},{"1338642708":["hashtag1","hashtag2"]},{"1338642702":["hashtag1","hashtag2"]},{"1338642719":["hashtag1","hashtag2"]},{"1338642730":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642717, 1338642705, 1338642708, 1338642702, 1338642719, 1338642730)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11102509498596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:09:33.087377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_55_9388.jpg', '/home/pi/Desktop/images/20022025/09/37/image_20022025_09_38_06_10401.jpg', '/home/pi/Desktop/images/20022025/09/38/image_20022025_09_38_26_9422.jpg', '/home/pi/Desktop/images/20022025/09/38/image_20022025_09_38_36_10337.jpg', '/home/pi/Desktop/images/20022025/09/38/image_20022025_09_38_45_9332.jpg', '/home/pi/Desktop/images/20022025/09/38/image_20022025_09_38_56_10352.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/37/image_20022025_09_37_55_9388.jpg
/home/pi/Desktop/images/20022025/09/37/image_20022025_09_38_06_10401.jpg
/home/pi/Desktop/images/20022025/09/38/image_20022025_09_38_26_9422.jpg
/home/pi/Desktop/images/20022025/09/38/image_20022025_09_38_36_10337.jpg
/home/pi/Desktop/images/20022025/09/38/image_20022025_09_38_45_9332.jpg
/home/pi/Desktop/images/20022025/09/38/image_20022025_09_38_56_10352.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642753","1338642765","1338642767","1338642761","1338642755","1338642757"],"photo_ids_order":["1338642753","1338642755","1338642757","1338642761","1338642765","1338642767"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f93a2aedab810500bb84107fe0b2f033.jpg","text":"TemporaryFile(/tmp/multipartBody6133907994527250422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071433655,"filename":"image_20022025_09_37_55_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/014420a2a90690c18dece4f85e4666bb.jpg","text":"TemporaryFile(/tmp/multipartBody7602234853522549842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071433655,"filename":"image_20022025_09_38_45_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c8e5be69a4151896d0152907fb02d6f9.jpg","text":"TemporaryFile(/tmp/multipartBody2602750266828710386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071433655,"filename":"image_20022025_09_38_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbd063702d73700388ce9da630f52036.jpg","text":"TemporaryFile(/tmp/multipartBody2333610919654212008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071433655,"filename":"image_20022025_09_38_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/19dc911fc549eaf70525b3ef134d236b.jpg","text":"TemporaryFile(/tmp/multipartBody5578590582397349949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071433655,"filename":"image_20022025_09_38_06_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/849a54a21d63baa849e4274452b4a982.jpg","text":"TemporaryFile(/tmp/multipartBody4848515486088272345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071433655,"filename":"image_20022025_09_38_26_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642757","file1":"1338642755","file0":"1338642753","file4":"1338642765","file5":"1338642767","file3":"1338642761"},"map_files_photo_id_array":[{"photo_id":"1338642767","filename":"file5"},{"photo_id":"1338642757","filename":"file2"},{"photo_id":"1338642765","filename":"file4"},{"photo_id":"1338642755","filename":"file1"},{"photo_id":"1338642753","filename":"file0"},{"photo_id":"1338642761","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642753":["hashtag1","hashtag2"]},{"1338642765":["hashtag1","hashtag2"]},{"1338642767":["hashtag1","hashtag2"]},{"1338642761":["hashtag1","hashtag2"]},{"1338642755":["hashtag1","hashtag2"]},{"1338642757":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642753, 1338642765, 1338642767, 1338642761, 1338642755, 1338642757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.827462911605835 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:10:32.422426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/39/image_20022025_09_39_26_10454.jpg', '/home/pi/Desktop/images/20022025/09/39/image_20022025_09_39_36_10348.jpg', '/home/pi/Desktop/images/20022025/09/39/image_20022025_09_39_45_9379.jpg', '/home/pi/Desktop/images/20022025/09/39/image_20022025_09_39_56_10374.jpg', '/home/pi/Desktop/images/20022025/09/39/image_20022025_09_40_05_9325.jpg', '/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_16_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/39/image_20022025_09_39_26_10454.jpg
/home/pi/Desktop/images/20022025/09/39/image_20022025_09_39_36_10348.jpg
/home/pi/Desktop/images/20022025/09/39/image_20022025_09_39_45_9379.jpg
/home/pi/Desktop/images/20022025/09/39/image_20022025_09_39_56_10374.jpg
/home/pi/Desktop/images/20022025/09/39/image_20022025_09_40_05_9325.jpg
/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_16_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642809","1338642800","1338642803","1338642806","1338642796","1338642799"],"photo_ids_order":["1338642796","1338642799","1338642800","1338642803","1338642806","1338642809"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ffcd6d28b752b236be3b2a3dd4a778b.jpg","text":"TemporaryFile(/tmp/multipartBody3708680756795947918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071492983,"filename":"image_20022025_09_40_16_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c490765673dc8e76a24f286a191e3949.jpg","text":"TemporaryFile(/tmp/multipartBody8176766564893724037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071492983,"filename":"image_20022025_09_39_45_9379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0aa9df0bb9bb106e60bdf481083d051.jpg","text":"TemporaryFile(/tmp/multipartBody8037249036934402062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071492983,"filename":"image_20022025_09_39_56_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4db5ced64dc7bb1f22590b3cba546c10.jpg","text":"TemporaryFile(/tmp/multipartBody8540554044942815191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071492983,"filename":"image_20022025_09_40_05_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dce4cff03dbc95e61670f0b0003f4cde.jpg","text":"TemporaryFile(/tmp/multipartBody3442373227208260154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071492983,"filename":"image_20022025_09_39_26_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4602506909bcdd12458b0360c07376d.jpg","text":"TemporaryFile(/tmp/multipartBody8546801057006671627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071492983,"filename":"image_20022025_09_39_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642800","file1":"1338642799","file0":"1338642796","file4":"1338642806","file5":"1338642809","file3":"1338642803"},"map_files_photo_id_array":[{"photo_id":"1338642809","filename":"file5"},{"photo_id":"1338642800","filename":"file2"},{"photo_id":"1338642806","filename":"file4"},{"photo_id":"1338642799","filename":"file1"},{"photo_id":"1338642796","filename":"file0"},{"photo_id":"1338642803","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642809":["hashtag1","hashtag2"]},{"1338642800":["hashtag1","hashtag2"]},{"1338642803":["hashtag1","hashtag2"]},{"1338642806":["hashtag1","hashtag2"]},{"1338642796":["hashtag1","hashtag2"]},{"1338642799":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642809, 1338642800, 1338642803, 1338642806, 1338642796, 1338642799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41728663444519 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:11:32.567353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_26_10326.jpg', '/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_35_9340.jpg', '/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_46_10428.jpg', '/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_56_10373.jpg', '/home/pi/Desktop/images/20022025/09/40/image_20022025_09_41_05_9337.jpg', '/home/pi/Desktop/images/20022025/09/41/image_20022025_09_41_16_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_26_10326.jpg
/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_35_9340.jpg
/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_46_10428.jpg
/home/pi/Desktop/images/20022025/09/40/image_20022025_09_40_56_10373.jpg
/home/pi/Desktop/images/20022025/09/40/image_20022025_09_41_05_9337.jpg
/home/pi/Desktop/images/20022025/09/41/image_20022025_09_41_16_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642852","1338642848","1338642857","1338642839","1338642856","1338642844"],"photo_ids_order":["1338642839","1338642844","1338642848","1338642852","1338642856","1338642857"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc15edbf7082671de489902e743f236d.jpg","text":"TemporaryFile(/tmp/multipartBody2067763248219113632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071553191,"filename":"image_20022025_09_40_56_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fdfcf546664a6a2df06df45839f33221.jpg","text":"TemporaryFile(/tmp/multipartBody6286199118888697753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071553191,"filename":"image_20022025_09_40_46_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e5132b4ab304bc822a58e92b766e0ef.jpg","text":"TemporaryFile(/tmp/multipartBody9047184299706055834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071553191,"filename":"image_20022025_09_41_16_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b383c24745c26b53c608da595176ad5c.jpg","text":"TemporaryFile(/tmp/multipartBody6331886934746607249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071553191,"filename":"image_20022025_09_40_26_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8da58b9014d55cb4783e2f4156f8187f.jpg","text":"TemporaryFile(/tmp/multipartBody2318785594407745489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071553191,"filename":"image_20022025_09_41_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/45bd85df108a9ce4f038ae160e59acec.jpg","text":"TemporaryFile(/tmp/multipartBody2036430680827455285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071553191,"filename":"image_20022025_09_40_35_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642848","file1":"1338642844","file0":"1338642839","file4":"1338642856","file5":"1338642857","file3":"1338642852"},"map_files_photo_id_array":[{"photo_id":"1338642857","filename":"file5"},{"photo_id":"1338642848","filename":"file2"},{"photo_id":"1338642856","filename":"file4"},{"photo_id":"1338642844","filename":"file1"},{"photo_id":"1338642839","filename":"file0"},{"photo_id":"1338642852","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642852":["hashtag1","hashtag2"]},{"1338642848":["hashtag1","hashtag2"]},{"1338642857":["hashtag1","hashtag2"]},{"1338642839":["hashtag1","hashtag2"]},{"1338642856":["hashtag1","hashtag2"]},{"1338642844":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642852, 1338642848, 1338642857, 1338642839, 1338642856, 1338642844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61044526100159 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:12:32.774336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/41/image_20022025_09_41_25_9409.jpg', '/home/pi/Desktop/images/20022025/09/41/image_20022025_09_41_36_10387.jpg', '/home/pi/Desktop/images/20022025/09/41/image_20022025_09_41_55_9336.jpg', '/home/pi/Desktop/images/20022025/09/41/image_20022025_09_42_06_10418.jpg', '/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_16_10321.jpg', '/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_25_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/41/image_20022025_09_41_25_9409.jpg
/home/pi/Desktop/images/20022025/09/41/image_20022025_09_41_36_10387.jpg
/home/pi/Desktop/images/20022025/09/41/image_20022025_09_41_55_9336.jpg
/home/pi/Desktop/images/20022025/09/41/image_20022025_09_42_06_10418.jpg
/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_16_10321.jpg
/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_25_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642928","1338642916","1338642933","1338642909","1338642914","1338642905"],"photo_ids_order":["1338642905","1338642909","1338642914","1338642916","1338642928","1338642933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/955d51cdf535a8a9ef4f4f1e61b5973f.jpg","text":"TemporaryFile(/tmp/multipartBody2133673239250931512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071613334,"filename":"image_20022025_09_42_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46ac35e28f96ea53737fa039f2d0a5eb.jpg","text":"TemporaryFile(/tmp/multipartBody3768175878857615869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071613334,"filename":"image_20022025_09_42_06_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18130af11cb85199f38adecdbbf85c2d.jpg","text":"TemporaryFile(/tmp/multipartBody5796739359043688467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071613334,"filename":"image_20022025_09_42_25_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e95b6f25129e84314945c6f652e771d.jpg","text":"TemporaryFile(/tmp/multipartBody3647335206752683622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071613334,"filename":"image_20022025_09_41_36_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d8dd127e07ced16c95b1691d8309235d.jpg","text":"TemporaryFile(/tmp/multipartBody5227055878205259913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071613334,"filename":"image_20022025_09_41_55_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1cc498c33dd738f0ac59aac77d9d05be.jpg","text":"TemporaryFile(/tmp/multipartBody6175581514144908289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071613334,"filename":"image_20022025_09_41_25_9409.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642914","file1":"1338642909","file0":"1338642905","file4":"1338642928","file5":"1338642933","file3":"1338642916"},"map_files_photo_id_array":[{"photo_id":"1338642933","filename":"file5"},{"photo_id":"1338642914","filename":"file2"},{"photo_id":"1338642928","filename":"file4"},{"photo_id":"1338642909","filename":"file1"},{"photo_id":"1338642905","filename":"file0"},{"photo_id":"1338642916","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642928":["hashtag1","hashtag2"]},{"1338642916":["hashtag1","hashtag2"]},{"1338642933":["hashtag1","hashtag2"]},{"1338642909":["hashtag1","hashtag2"]},{"1338642914":["hashtag1","hashtag2"]},{"1338642905":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642928, 1338642916, 1338642933, 1338642909, 1338642914, 1338642905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.702361822128296 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:13:32.882133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_36_10345.jpg', '/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_45_9397.jpg', '/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_56_10475.jpg', '/home/pi/Desktop/images/20022025/09/42/image_20022025_09_43_06_10347.jpg', '/home/pi/Desktop/images/20022025/09/43/image_20022025_09_43_15_9329.jpg', '/home/pi/Desktop/images/20022025/09/43/image_20022025_09_43_26_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_36_10345.jpg
/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_45_9397.jpg
/home/pi/Desktop/images/20022025/09/42/image_20022025_09_42_56_10475.jpg
/home/pi/Desktop/images/20022025/09/42/image_20022025_09_43_06_10347.jpg
/home/pi/Desktop/images/20022025/09/43/image_20022025_09_43_15_9329.jpg
/home/pi/Desktop/images/20022025/09/43/image_20022025_09_43_26_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338642984","1338642989","1338642986","1338642971","1338642991","1338642973"],"photo_ids_order":["1338642971","1338642973","1338642984","1338642986","1338642989","1338642991"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa93600d4eaef53d86687300f6ff5872.jpg","text":"TemporaryFile(/tmp/multipartBody5947800724662187538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071673436,"filename":"image_20022025_09_42_56_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/deb3076255fad50cd6dd6f881c3f97dc.jpg","text":"TemporaryFile(/tmp/multipartBody8324217238591232115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071673436,"filename":"image_20022025_09_43_15_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfec6e475502c7cc9f2f1f9ed69b8472.jpg","text":"TemporaryFile(/tmp/multipartBody2751860836505402529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071673436,"filename":"image_20022025_09_43_06_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6334768944e3d48913a5acfe6b9ec9e9.jpg","text":"TemporaryFile(/tmp/multipartBody3226217430163365203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071673436,"filename":"image_20022025_09_42_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5b0b596d63129ce9d67a24fa88a6261a.jpg","text":"TemporaryFile(/tmp/multipartBody3368432541581696038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071673436,"filename":"image_20022025_09_43_26_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ff84407ea5b5a20a37be7d544eb500e.jpg","text":"TemporaryFile(/tmp/multipartBody5814589415647335823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071673436,"filename":"image_20022025_09_42_45_9397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338642984","file1":"1338642973","file0":"1338642971","file4":"1338642989","file5":"1338642991","file3":"1338642986"},"map_files_photo_id_array":[{"photo_id":"1338642991","filename":"file5"},{"photo_id":"1338642984","filename":"file2"},{"photo_id":"1338642989","filename":"file4"},{"photo_id":"1338642973","filename":"file1"},{"photo_id":"1338642971","filename":"file0"},{"photo_id":"1338642986","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338642984":["hashtag1","hashtag2"]},{"1338642989":["hashtag1","hashtag2"]},{"1338642986":["hashtag1","hashtag2"]},{"1338642971":["hashtag1","hashtag2"]},{"1338642991":["hashtag1","hashtag2"]},{"1338642973":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338642984, 1338642989, 1338642986, 1338642971, 1338642991, 1338642973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.34670639038086 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:14:32.989504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/43/image_20022025_09_43_46_10412.jpg', '/home/pi/Desktop/images/20022025/09/43/image_20022025_09_43_56_10336.jpg', '/home/pi/Desktop/images/20022025/09/43/image_20022025_09_44_05_9337.jpg', '/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_16_10400.jpg', '/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_26_10325.jpg', '/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_35_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/43/image_20022025_09_43_46_10412.jpg
/home/pi/Desktop/images/20022025/09/43/image_20022025_09_43_56_10336.jpg
/home/pi/Desktop/images/20022025/09/43/image_20022025_09_44_05_9337.jpg
/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_16_10400.jpg
/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_26_10325.jpg
/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_35_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338643065","1338643059","1338643062","1338643119","1338643072","1338643057"],"photo_ids_order":["1338643057","1338643059","1338643062","1338643065","1338643072","1338643119"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/652b8ebaef667ca348afa2cb901000cf.jpg","text":"TemporaryFile(/tmp/multipartBody5340896718493175241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071733556,"filename":"image_20022025_09_44_16_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/352f8176c0fae2b238776760e9741a6f.jpg","text":"TemporaryFile(/tmp/multipartBody6051332398930592766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071733556,"filename":"image_20022025_09_43_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/565aef00f27b9f806f07ff858c8bc002.jpg","text":"TemporaryFile(/tmp/multipartBody5399694496272714271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071733556,"filename":"image_20022025_09_44_05_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/64830350d048be4fe215e0cbfdd6a946.jpg","text":"TemporaryFile(/tmp/multipartBody4779745370625868291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071733556,"filename":"image_20022025_09_44_35_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4295bc73fec199c5f98aee0c94bce106.jpg","text":"TemporaryFile(/tmp/multipartBody7567271654332129302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071733556,"filename":"image_20022025_09_44_26_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a4d06172950565a84cf37657d411aed.jpg","text":"TemporaryFile(/tmp/multipartBody5298996638062824799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071733556,"filename":"image_20022025_09_43_46_10412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338643062","file1":"1338643059","file0":"1338643057","file4":"1338643072","file5":"1338643119","file3":"1338643065"},"map_files_photo_id_array":[{"photo_id":"1338643119","filename":"file5"},{"photo_id":"1338643062","filename":"file2"},{"photo_id":"1338643072","filename":"file4"},{"photo_id":"1338643059","filename":"file1"},{"photo_id":"1338643057","filename":"file0"},{"photo_id":"1338643065","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338643065":["hashtag1","hashtag2"]},{"1338643059":["hashtag1","hashtag2"]},{"1338643062":["hashtag1","hashtag2"]},{"1338643119":["hashtag1","hashtag2"]},{"1338643072":["hashtag1","hashtag2"]},{"1338643057":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338643065, 1338643059, 1338643062, 1338643119, 1338643072, 1338643057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22995567321777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:15:32.143882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_46_10349.jpg', '/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_56_10351.jpg', '/home/pi/Desktop/images/20022025/09/44/image_20022025_09_45_05_9345.jpg', '/home/pi/Desktop/images/20022025/09/45/image_20022025_09_45_16_10403.jpg', '/home/pi/Desktop/images/20022025/09/45/image_20022025_09_45_25_9401.jpg', '/home/pi/Desktop/images/20022025/09/45/image_20022025_09_45_55_9412.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_46_10349.jpg
/home/pi/Desktop/images/20022025/09/44/image_20022025_09_44_56_10351.jpg
/home/pi/Desktop/images/20022025/09/44/image_20022025_09_45_05_9345.jpg
/home/pi/Desktop/images/20022025/09/45/image_20022025_09_45_16_10403.jpg
/home/pi/Desktop/images/20022025/09/45/image_20022025_09_45_25_9401.jpg
/home/pi/Desktop/images/20022025/09/45/image_20022025_09_45_55_9412.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338643239","1338643232","1338643229","1338643168","1338643234","1338643216"],"photo_ids_order":["1338643168","1338643216","1338643229","1338643232","1338643234","1338643239"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/47e5476224b19292d7624a099a267c70.jpg","text":"TemporaryFile(/tmp/multipartBody1566092889630949432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071792702,"filename":"image_20022025_09_45_55_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/97093ad8abde9a328e1c5338cb2b817e.jpg","text":"TemporaryFile(/tmp/multipartBody4735485733347425987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071792702,"filename":"image_20022025_09_45_16_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/376396004dabc5b1be0fcebc1e224f10.jpg","text":"TemporaryFile(/tmp/multipartBody3739621120651623584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071792702,"filename":"image_20022025_09_45_05_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/466a268ef89740509224b4bac73e8b65.jpg","text":"TemporaryFile(/tmp/multipartBody3828775817497499023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071792702,"filename":"image_20022025_09_44_46_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8f509fb330d5fc11c8635e25e9e5406.jpg","text":"TemporaryFile(/tmp/multipartBody6889947334370923527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071792702,"filename":"image_20022025_09_45_25_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36113de3b9d7c21d2e23cfe0103b7553.jpg","text":"TemporaryFile(/tmp/multipartBody8589041793335097639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071792702,"filename":"image_20022025_09_44_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338643229","file1":"1338643216","file0":"1338643168","file4":"1338643234","file5":"1338643239","file3":"1338643232"},"map_files_photo_id_array":[{"photo_id":"1338643239","filename":"file5"},{"photo_id":"1338643229","filename":"file2"},{"photo_id":"1338643234","filename":"file4"},{"photo_id":"1338643216","filename":"file1"},{"photo_id":"1338643168","filename":"file0"},{"photo_id":"1338643232","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338643239":["hashtag1","hashtag2"]},{"1338643232":["hashtag1","hashtag2"]},{"1338643229":["hashtag1","hashtag2"]},{"1338643168":["hashtag1","hashtag2"]},{"1338643234":["hashtag1","hashtag2"]},{"1338643216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338643239, 1338643232, 1338643229, 1338643168, 1338643234, 1338643216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28963661193848 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:16:32.380108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/45/image_20022025_09_46_06_10430.jpg', '/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_16_10347.jpg', '/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_26_9455.jpg', '/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_36_10406.jpg', '/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_45_9455.jpg', '/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_56_10420.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/45/image_20022025_09_46_06_10430.jpg
/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_16_10347.jpg
/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_26_9455.jpg
/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_36_10406.jpg
/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_45_9455.jpg
/home/pi/Desktop/images/20022025/09/46/image_20022025_09_46_56_10420.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338643383","1338643397","1338643385","1338643381","1338643399","1338643392"],"photo_ids_order":["1338643381","1338643383","1338643385","1338643392","1338643397","1338643399"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b48cdaba7b0be44c59a03ccb53e5c6b1.jpg","text":"TemporaryFile(/tmp/multipartBody4823228601325150784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071852958,"filename":"image_20022025_09_46_16_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a988a7de535245bc93db345d64bbc974.jpg","text":"TemporaryFile(/tmp/multipartBody4076740326891312492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071852958,"filename":"image_20022025_09_46_45_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e2a652cecf0b64fa9faa856d48ae51fd.jpg","text":"TemporaryFile(/tmp/multipartBody8636022862703474218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071852958,"filename":"image_20022025_09_46_26_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25cf9b8f7096682cc7d29a7811e42742.jpg","text":"TemporaryFile(/tmp/multipartBody2033241950790447370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071852958,"filename":"image_20022025_09_46_06_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2fb8a819e10af005e88f2c4fc20bf7c0.jpg","text":"TemporaryFile(/tmp/multipartBody5261866605649620696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071852958,"filename":"image_20022025_09_46_56_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/976904c9bcd808afdfd15fba1644b69e.jpg","text":"TemporaryFile(/tmp/multipartBody7661057823396866610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071852958,"filename":"image_20022025_09_46_36_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338643385","file1":"1338643383","file0":"1338643381","file4":"1338643397","file5":"1338643399","file3":"1338643392"},"map_files_photo_id_array":[{"photo_id":"1338643399","filename":"file5"},{"photo_id":"1338643385","filename":"file2"},{"photo_id":"1338643397","filename":"file4"},{"photo_id":"1338643383","filename":"file1"},{"photo_id":"1338643381","filename":"file0"},{"photo_id":"1338643392","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338643383":["hashtag1","hashtag2"]},{"1338643397":["hashtag1","hashtag2"]},{"1338643385":["hashtag1","hashtag2"]},{"1338643381":["hashtag1","hashtag2"]},{"1338643399":["hashtag1","hashtag2"]},{"1338643392":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338643383, 1338643397, 1338643385, 1338643381, 1338643399, 1338643392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.22831153869629 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:17:32.615292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/46/image_20022025_09_47_05_9316.jpg', '/home/pi/Desktop/images/20022025/09/47/image_20022025_09_47_26_10369.jpg', '/home/pi/Desktop/images/20022025/09/47/image_20022025_09_48_05_9391.jpg', '/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_16_10339.jpg', '/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_25_9338.jpg', '/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_36_10401.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/46/image_20022025_09_47_05_9316.jpg
/home/pi/Desktop/images/20022025/09/47/image_20022025_09_47_26_10369.jpg
/home/pi/Desktop/images/20022025/09/47/image_20022025_09_48_05_9391.jpg
/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_16_10339.jpg
/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_25_9338.jpg
/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_36_10401.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338643437","1338643434","1338643439","1338643427","1338643432","1338643435"],"photo_ids_order":["1338643427","1338643432","1338643434","1338643435","1338643437","1338643439"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/579dad252e56281fee36665518fd7452.jpg","text":"TemporaryFile(/tmp/multipartBody4044026256798297971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071913165,"filename":"image_20022025_09_48_25_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a568accdcda819134b839dd5c02ab19b.jpg","text":"TemporaryFile(/tmp/multipartBody5446846791947244161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071913165,"filename":"image_20022025_09_48_05_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e605e58df9a44179ff266499f5a72c42.jpg","text":"TemporaryFile(/tmp/multipartBody1689209969519630656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071913165,"filename":"image_20022025_09_48_36_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a296e05d7ff9e725a480c3e7762c651.jpg","text":"TemporaryFile(/tmp/multipartBody3928483223271610268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071913165,"filename":"image_20022025_09_47_05_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3e257293b27cb2973b214bbc10f8fdc3.jpg","text":"TemporaryFile(/tmp/multipartBody4090586279229580100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071913165,"filename":"image_20022025_09_47_26_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36c166d5f7f10861eb99be2467132d06.jpg","text":"TemporaryFile(/tmp/multipartBody8201502227612001014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071913165,"filename":"image_20022025_09_48_16_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338643434","file1":"1338643432","file0":"1338643427","file4":"1338643437","file5":"1338643439","file3":"1338643435"},"map_files_photo_id_array":[{"photo_id":"1338643439","filename":"file5"},{"photo_id":"1338643434","filename":"file2"},{"photo_id":"1338643437","filename":"file4"},{"photo_id":"1338643432","filename":"file1"},{"photo_id":"1338643427","filename":"file0"},{"photo_id":"1338643435","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338643437":["hashtag1","hashtag2"]},{"1338643434":["hashtag1","hashtag2"]},{"1338643439":["hashtag1","hashtag2"]},{"1338643427":["hashtag1","hashtag2"]},{"1338643432":["hashtag1","hashtag2"]},{"1338643435":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338643437, 1338643434, 1338643439, 1338643427, 1338643432, 1338643435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99357223510742 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:18:32.822151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_46_10329.jpg', '/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_55_9334.jpg', '/home/pi/Desktop/images/20022025/09/48/image_20022025_09_49_06_10342.jpg', '/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_16_10367.jpg', '/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_25_9348.jpg', '/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_36_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_46_10329.jpg
/home/pi/Desktop/images/20022025/09/48/image_20022025_09_48_55_9334.jpg
/home/pi/Desktop/images/20022025/09/48/image_20022025_09_49_06_10342.jpg
/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_16_10367.jpg
/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_25_9348.jpg
/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_36_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338643452","1338643454","1338643457","1338643459","1338643450","1338643456"],"photo_ids_order":["1338643450","1338643452","1338643454","1338643456","1338643457","1338643459"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/517aa2ef779ce6bc503056aea087095e.jpg","text":"TemporaryFile(/tmp/multipartBody5175197102436418940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071973368,"filename":"image_20022025_09_48_55_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1d195b801fdc0a3ea9f68c39eb115e12.jpg","text":"TemporaryFile(/tmp/multipartBody8430249233610238000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071973368,"filename":"image_20022025_09_49_06_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/822aa0ad0c437aeb9f461bd466650250.jpg","text":"TemporaryFile(/tmp/multipartBody5364496102527162078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071973368,"filename":"image_20022025_09_49_25_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9c45517207140558cd917070ddb3d15.jpg","text":"TemporaryFile(/tmp/multipartBody8567100472459243882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071973368,"filename":"image_20022025_09_49_36_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/58fed93f83dda4644884d11222101274.jpg","text":"TemporaryFile(/tmp/multipartBody7370188324598347391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071973368,"filename":"image_20022025_09_48_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0833e387f4109e86e2809d2128288c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3826985376661084123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740071973368,"filename":"image_20022025_09_49_16_10367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338643454","file1":"1338643452","file0":"1338643450","file4":"1338643457","file5":"1338643459","file3":"1338643456"},"map_files_photo_id_array":[{"photo_id":"1338643459","filename":"file5"},{"photo_id":"1338643454","filename":"file2"},{"photo_id":"1338643457","filename":"file4"},{"photo_id":"1338643452","filename":"file1"},{"photo_id":"1338643450","filename":"file0"},{"photo_id":"1338643456","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338643452":["hashtag1","hashtag2"]},{"1338643454":["hashtag1","hashtag2"]},{"1338643457":["hashtag1","hashtag2"]},{"1338643459":["hashtag1","hashtag2"]},{"1338643450":["hashtag1","hashtag2"]},{"1338643456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338643452, 1338643454, 1338643457, 1338643459, 1338643450, 1338643456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17024302482605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:19:32.818924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_46_10327.jpg', '/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_55_9365.jpg', '/home/pi/Desktop/images/20022025/09/50/image_20022025_09_50_26_10445.jpg', '/home/pi/Desktop/images/20022025/09/50/image_20022025_09_50_36_10444.jpg', '/home/pi/Desktop/images/20022025/09/50/image_20022025_09_50_45_9385.jpg', '/home/pi/Desktop/images/20022025/09/50/image_20022025_09_51_05_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_46_10327.jpg
/home/pi/Desktop/images/20022025/09/49/image_20022025_09_49_55_9365.jpg
/home/pi/Desktop/images/20022025/09/50/image_20022025_09_50_26_10445.jpg
/home/pi/Desktop/images/20022025/09/50/image_20022025_09_50_36_10444.jpg
/home/pi/Desktop/images/20022025/09/50/image_20022025_09_50_45_9385.jpg
/home/pi/Desktop/images/20022025/09/50/image_20022025_09_51_05_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338643866","1338644165","1338643722","1338644300","1338644018","1338644308"],"photo_ids_order":["1338643722","1338643866","1338644018","1338644165","1338644300","1338644308"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9caaa944e8ab61ff0ca07943d976e26e.jpg","text":"TemporaryFile(/tmp/multipartBody736089126174632785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072033365,"filename":"image_20022025_09_49_55_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd83b050fbb5028b6adac6eab14cdc75.jpg","text":"TemporaryFile(/tmp/multipartBody1588579110570088960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072033365,"filename":"image_20022025_09_50_36_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2188788dd2e2f036fab392fd0c502533.jpg","text":"TemporaryFile(/tmp/multipartBody4282777508210570120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072033365,"filename":"image_20022025_09_49_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/900be0fb7307608a0df3e3720670903f.jpg","text":"TemporaryFile(/tmp/multipartBody7437502689960606034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072033365,"filename":"image_20022025_09_50_45_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a05c16dd328ba07dc52fc56fd1f8d8d.jpg","text":"TemporaryFile(/tmp/multipartBody5431029645861584952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072033365,"filename":"image_20022025_09_50_26_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c3ad6c8d936220946a0ba2f700f2d73.jpg","text":"TemporaryFile(/tmp/multipartBody448464030756389799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072033365,"filename":"image_20022025_09_51_05_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338644018","file1":"1338643866","file0":"1338643722","file4":"1338644300","file5":"1338644308","file3":"1338644165"},"map_files_photo_id_array":[{"photo_id":"1338644308","filename":"file5"},{"photo_id":"1338644018","filename":"file2"},{"photo_id":"1338644300","filename":"file4"},{"photo_id":"1338643866","filename":"file1"},{"photo_id":"1338643722","filename":"file0"},{"photo_id":"1338644165","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338643866":["hashtag1","hashtag2"]},{"1338644165":["hashtag1","hashtag2"]},{"1338643722":["hashtag1","hashtag2"]},{"1338644300":["hashtag1","hashtag2"]},{"1338644018":["hashtag1","hashtag2"]},{"1338644308":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338643866, 1338644165, 1338643722, 1338644300, 1338644018, 1338644308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96938991546631 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:20:33.100925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/51/image_20022025_09_51_16_10469.jpg', '/home/pi/Desktop/images/20022025/09/51/image_20022025_09_51_46_10410.jpg', '/home/pi/Desktop/images/20022025/09/51/image_20022025_09_51_56_10352.jpg', '/home/pi/Desktop/images/20022025/09/51/image_20022025_09_52_05_9421.jpg', '/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_16_10395.jpg', '/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_25_9396.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/51/image_20022025_09_51_16_10469.jpg
/home/pi/Desktop/images/20022025/09/51/image_20022025_09_51_46_10410.jpg
/home/pi/Desktop/images/20022025/09/51/image_20022025_09_51_56_10352.jpg
/home/pi/Desktop/images/20022025/09/51/image_20022025_09_52_05_9421.jpg
/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_16_10395.jpg
/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_25_9396.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338644544","1338644517","1338644489","1338644561","1338644558","1338644447"],"photo_ids_order":["1338644447","1338644489","1338644517","1338644544","1338644558","1338644561"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/62a95d12673fbcfe331a4a00a55d1d1f.jpg","text":"TemporaryFile(/tmp/multipartBody1103530771546197779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072093658,"filename":"image_20022025_09_52_05_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b95b9947d3e6ac8d11a0851da857f2c5.jpg","text":"TemporaryFile(/tmp/multipartBody194814188432924916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072093658,"filename":"image_20022025_09_51_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfc7bea4ac76bdb900545da0610f8eba.jpg","text":"TemporaryFile(/tmp/multipartBody7904843813342744287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072093658,"filename":"image_20022025_09_51_46_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/874b78dc0ca25dc9bd32b48eb3151650.jpg","text":"TemporaryFile(/tmp/multipartBody4467813179716645891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072093658,"filename":"image_20022025_09_52_25_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe29473bfdd2901e045d94e8943404df.jpg","text":"TemporaryFile(/tmp/multipartBody3277728844190595059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072093658,"filename":"image_20022025_09_52_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9f6d9594cce5a824f1683c4b09d2c335.jpg","text":"TemporaryFile(/tmp/multipartBody3270604332968164699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072093658,"filename":"image_20022025_09_51_16_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338644517","file1":"1338644489","file0":"1338644447","file4":"1338644558","file5":"1338644561","file3":"1338644544"},"map_files_photo_id_array":[{"photo_id":"1338644561","filename":"file5"},{"photo_id":"1338644517","filename":"file2"},{"photo_id":"1338644558","filename":"file4"},{"photo_id":"1338644489","filename":"file1"},{"photo_id":"1338644447","filename":"file0"},{"photo_id":"1338644544","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338644544":["hashtag1","hashtag2"]},{"1338644517":["hashtag1","hashtag2"]},{"1338644489":["hashtag1","hashtag2"]},{"1338644561":["hashtag1","hashtag2"]},{"1338644558":["hashtag1","hashtag2"]},{"1338644447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338644544, 1338644517, 1338644489, 1338644561, 1338644558, 1338644447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.506808280944824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:21:32.106435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_36_10442.jpg', '/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_46_10319.jpg', '/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_55_9441.jpg', '/home/pi/Desktop/images/20022025/09/52/image_20022025_09_53_06_10384.jpg', '/home/pi/Desktop/images/20022025/09/53/image_20022025_09_53_15_9335.jpg', '/home/pi/Desktop/images/20022025/09/53/image_20022025_09_53_26_10455.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_36_10442.jpg
/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_46_10319.jpg
/home/pi/Desktop/images/20022025/09/52/image_20022025_09_52_55_9441.jpg
/home/pi/Desktop/images/20022025/09/52/image_20022025_09_53_06_10384.jpg
/home/pi/Desktop/images/20022025/09/53/image_20022025_09_53_15_9335.jpg
/home/pi/Desktop/images/20022025/09/53/image_20022025_09_53_26_10455.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338644847","1338644907","1338644708","1338644665","1338644767","1338644668"],"photo_ids_order":["1338644665","1338644668","1338644708","1338644767","1338644847","1338644907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f6a2caef8df156371a7680a7bbbeddc.jpg","text":"TemporaryFile(/tmp/multipartBody7173734778127211184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072152673,"filename":"image_20022025_09_53_15_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b0da890f4a8e7423d2022310eb8e76cc.jpg","text":"TemporaryFile(/tmp/multipartBody1826478364091664190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072152673,"filename":"image_20022025_09_53_26_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82f3f72214e558f1ebd27e408e93f72a.jpg","text":"TemporaryFile(/tmp/multipartBody4443774297112318713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072152673,"filename":"image_20022025_09_52_55_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59294cbc1fb1c4e304ef61bdbc265e97.jpg","text":"TemporaryFile(/tmp/multipartBody5178075752552406842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072152673,"filename":"image_20022025_09_52_36_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30ff7d6d93f8e2373d7cb9b5272f2205.jpg","text":"TemporaryFile(/tmp/multipartBody987033779109907251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072152673,"filename":"image_20022025_09_53_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b06ce747d2a6c8bb07bf2feb042609e0.jpg","text":"TemporaryFile(/tmp/multipartBody2542934181790610861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072152673,"filename":"image_20022025_09_52_46_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338644708","file1":"1338644668","file0":"1338644665","file4":"1338644847","file5":"1338644907","file3":"1338644767"},"map_files_photo_id_array":[{"photo_id":"1338644907","filename":"file5"},{"photo_id":"1338644708","filename":"file2"},{"photo_id":"1338644847","filename":"file4"},{"photo_id":"1338644668","filename":"file1"},{"photo_id":"1338644665","filename":"file0"},{"photo_id":"1338644767","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338644847":["hashtag1","hashtag2"]},{"1338644907":["hashtag1","hashtag2"]},{"1338644708":["hashtag1","hashtag2"]},{"1338644665":["hashtag1","hashtag2"]},{"1338644767":["hashtag1","hashtag2"]},{"1338644668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338644847, 1338644907, 1338644708, 1338644665, 1338644767, 1338644668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42408466339111 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:22:32.322338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/53/image_20022025_09_53_36_10347.jpg', '/home/pi/Desktop/images/20022025/09/53/image_20022025_09_53_45_9316.jpg', '/home/pi/Desktop/images/20022025/09/54/image_20022025_09_54_46_9372.jpg', '/home/pi/Desktop/images/20022025/09/54/image_20022025_09_54_56_10365.jpg', '/home/pi/Desktop/images/20022025/09/54/image_20022025_09_55_05_9431.jpg', '/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_16_10423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/53/image_20022025_09_53_36_10347.jpg
/home/pi/Desktop/images/20022025/09/53/image_20022025_09_53_45_9316.jpg
/home/pi/Desktop/images/20022025/09/54/image_20022025_09_54_46_9372.jpg
/home/pi/Desktop/images/20022025/09/54/image_20022025_09_54_56_10365.jpg
/home/pi/Desktop/images/20022025/09/54/image_20022025_09_55_05_9431.jpg
/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_16_10423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645125","1338645155","1338645151","1338645112","1338645171","1338645165"],"photo_ids_order":["1338645112","1338645125","1338645151","1338645155","1338645165","1338645171"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b231357b501cbd9ce3502d8a2465ea7.jpg","text":"TemporaryFile(/tmp/multipartBody6812105750497806652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072213338,"filename":"image_20022025_09_53_45_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce4f65fa1fe77e1e2fdb4af1d0d4b350.jpg","text":"TemporaryFile(/tmp/multipartBody5883339388350598355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072213338,"filename":"image_20022025_09_54_56_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7de0ed1a64aa5f771c99d0d2ba977177.jpg","text":"TemporaryFile(/tmp/multipartBody5515175395958655786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072213338,"filename":"image_20022025_09_54_46_9372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/45a526c64807ab4a318c855425a20c70.jpg","text":"TemporaryFile(/tmp/multipartBody5338014619883316061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072213338,"filename":"image_20022025_09_53_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dca804eba7d9e778f385f00a6b13180f.jpg","text":"TemporaryFile(/tmp/multipartBody6314200604345481261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072213338,"filename":"image_20022025_09_55_16_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92e45f8ad6e6e7a0391ceae736c512c7.jpg","text":"TemporaryFile(/tmp/multipartBody6426768199164894030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072213338,"filename":"image_20022025_09_55_05_9431.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645151","file1":"1338645125","file0":"1338645112","file4":"1338645165","file5":"1338645171","file3":"1338645155"},"map_files_photo_id_array":[{"photo_id":"1338645171","filename":"file5"},{"photo_id":"1338645151","filename":"file2"},{"photo_id":"1338645165","filename":"file4"},{"photo_id":"1338645125","filename":"file1"},{"photo_id":"1338645112","filename":"file0"},{"photo_id":"1338645155","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645125":["hashtag1","hashtag2"]},{"1338645155":["hashtag1","hashtag2"]},{"1338645151":["hashtag1","hashtag2"]},{"1338645112":["hashtag1","hashtag2"]},{"1338645171":["hashtag1","hashtag2"]},{"1338645165":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645125, 1338645155, 1338645151, 1338645112, 1338645171, 1338645165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88827705383301 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:23:32.607244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_26_10340.jpg', '/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_36_9445.jpg', '/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_46_10399.jpg', '/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_55_9416.jpg', '/home/pi/Desktop/images/20022025/09/55/image_20022025_09_56_06_10332.jpg', '/home/pi/Desktop/images/20022025/09/56/image_20022025_09_56_16_10399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_26_10340.jpg
/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_36_9445.jpg
/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_46_10399.jpg
/home/pi/Desktop/images/20022025/09/55/image_20022025_09_55_55_9416.jpg
/home/pi/Desktop/images/20022025/09/55/image_20022025_09_56_06_10332.jpg
/home/pi/Desktop/images/20022025/09/56/image_20022025_09_56_16_10399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645509","1338645532","1338645529","1338645523","1338645456","1338645459"],"photo_ids_order":["1338645456","1338645459","1338645509","1338645523","1338645529","1338645532"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9422e90a3bbf95e5dfd08f1dbcbceac3.jpg","text":"TemporaryFile(/tmp/multipartBody2911319370753119421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072273166,"filename":"image_20022025_09_55_46_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4424a124a9f0972486593c2b58e6de75.jpg","text":"TemporaryFile(/tmp/multipartBody2515107495367599583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072273166,"filename":"image_20022025_09_56_16_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed08af300a9c4c4f875407cb270607a3.jpg","text":"TemporaryFile(/tmp/multipartBody2638561311818555826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072273166,"filename":"image_20022025_09_56_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c8152223870c34862a26649fc6fc9c21.jpg","text":"TemporaryFile(/tmp/multipartBody1230347267438898533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072273166,"filename":"image_20022025_09_55_55_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a55b9b562ba96f2cc0621c2278378b1.jpg","text":"TemporaryFile(/tmp/multipartBody873634320630491245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072273166,"filename":"image_20022025_09_55_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e076159da02f5afad505ae05af13047.jpg","text":"TemporaryFile(/tmp/multipartBody3029634106596443349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072273166,"filename":"image_20022025_09_55_36_9445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645509","file1":"1338645459","file0":"1338645456","file4":"1338645529","file5":"1338645532","file3":"1338645523"},"map_files_photo_id_array":[{"photo_id":"1338645532","filename":"file5"},{"photo_id":"1338645509","filename":"file2"},{"photo_id":"1338645529","filename":"file4"},{"photo_id":"1338645459","filename":"file1"},{"photo_id":"1338645456","filename":"file0"},{"photo_id":"1338645523","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645509":["hashtag1","hashtag2"]},{"1338645532":["hashtag1","hashtag2"]},{"1338645529":["hashtag1","hashtag2"]},{"1338645523":["hashtag1","hashtag2"]},{"1338645456":["hashtag1","hashtag2"]},{"1338645459":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645509, 1338645532, 1338645529, 1338645523, 1338645456, 1338645459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1452739238739 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:24:32.838262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/56/image_20022025_09_56_25_9422.jpg', '/home/pi/Desktop/images/20022025/09/56/image_20022025_09_56_36_10335.jpg', '/home/pi/Desktop/images/20022025/09/56/image_20022025_09_56_46_10322.jpg', '/home/pi/Desktop/images/20022025/09/56/image_20022025_09_57_06_10322.jpg', '/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_15_9367.jpg', '/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_26_10440.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/56/image_20022025_09_56_25_9422.jpg
/home/pi/Desktop/images/20022025/09/56/image_20022025_09_56_36_10335.jpg
/home/pi/Desktop/images/20022025/09/56/image_20022025_09_56_46_10322.jpg
/home/pi/Desktop/images/20022025/09/56/image_20022025_09_57_06_10322.jpg
/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_15_9367.jpg
/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_26_10440.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645611","1338645605","1338645614","1338645608","1338645616","1338645600"],"photo_ids_order":["1338645600","1338645605","1338645608","1338645611","1338645614","1338645616"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f9d7ced9c8abc491de1b324c610cdb5.jpg","text":"TemporaryFile(/tmp/multipartBody7175274148697393946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072333404,"filename":"image_20022025_09_57_06_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac5dac13dbf58dff97d67770a6d705e0.jpg","text":"TemporaryFile(/tmp/multipartBody1025062842320788204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072333404,"filename":"image_20022025_09_56_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b4dcc61bad69170d2aacf107cd5ff86b.jpg","text":"TemporaryFile(/tmp/multipartBody6600423311915678385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072333404,"filename":"image_20022025_09_57_15_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d27fdc0e1f9b14af512f34d535e424f2.jpg","text":"TemporaryFile(/tmp/multipartBody8075321607329238450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072333404,"filename":"image_20022025_09_56_46_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc0f983806080a0578b28c3585aa3180.jpg","text":"TemporaryFile(/tmp/multipartBody3222827682094789403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072333404,"filename":"image_20022025_09_57_26_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b347b220cfd6e7033c855b94db3a579.jpg","text":"TemporaryFile(/tmp/multipartBody4343681534709393788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072333404,"filename":"image_20022025_09_56_25_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645608","file1":"1338645605","file0":"1338645600","file4":"1338645614","file5":"1338645616","file3":"1338645611"},"map_files_photo_id_array":[{"photo_id":"1338645616","filename":"file5"},{"photo_id":"1338645608","filename":"file2"},{"photo_id":"1338645614","filename":"file4"},{"photo_id":"1338645605","filename":"file1"},{"photo_id":"1338645600","filename":"file0"},{"photo_id":"1338645611","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645611":["hashtag1","hashtag2"]},{"1338645605":["hashtag1","hashtag2"]},{"1338645614":["hashtag1","hashtag2"]},{"1338645608":["hashtag1","hashtag2"]},{"1338645616":["hashtag1","hashtag2"]},{"1338645600":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645611, 1338645605, 1338645614, 1338645608, 1338645616, 1338645600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.896820306777954 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:25:32.935773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_36_10398.jpg', '/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_45_9422.jpg', '/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_16_10456.jpg', '/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_35_9349.jpg', '/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_46_10445.jpg', '/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_56_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_36_10398.jpg
/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_45_9422.jpg
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_16_10456.jpg
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_35_9349.jpg
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_46_10445.jpg
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_56_10326.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4676508903503418 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 18:25:42.997004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_36_10398.jpg', '/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_45_9422.jpg', '/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_16_10456.jpg', '/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_35_9349.jpg', '/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_46_10445.jpg', '/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_56_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_36_10398.jpg
/home/pi/Desktop/images/20022025/09/57/image_20022025_09_57_45_9422.jpg
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_16_10456.jpg
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_35_9349.jpg
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_46_10445.jpg
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_58_56_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645665","1338645644","1338645652","1338645654","1338645663","1338645648"],"photo_ids_order":["1338645644","1338645648","1338645652","1338645654","1338645663","1338645665"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c16849be09a02686b8a40580c106f870.jpg","text":"TemporaryFile(/tmp/multipartBody2283774856864922535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072403494,"filename":"image_20022025_09_58_56_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c1658b8d64d88612bd8c65c64604dc8c.jpg","text":"TemporaryFile(/tmp/multipartBody296834291470742422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072403494,"filename":"image_20022025_09_57_36_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa6da58e757e439f0986e8848f735ea1.jpg","text":"TemporaryFile(/tmp/multipartBody5383636425781807628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072403494,"filename":"image_20022025_09_58_16_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/772a228248a108d6a3c69303eab38bdd.jpg","text":"TemporaryFile(/tmp/multipartBody769052236296766089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072403494,"filename":"image_20022025_09_58_35_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4dbbdb041c5c04338c1a865df995a744.jpg","text":"TemporaryFile(/tmp/multipartBody5815998110726783155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072403494,"filename":"image_20022025_09_58_46_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5710ca0662a21d821a604e82f1ae5dea.jpg","text":"TemporaryFile(/tmp/multipartBody6598400016792461904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072403494,"filename":"image_20022025_09_57_45_9422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645652","file1":"1338645648","file0":"1338645644","file4":"1338645663","file5":"1338645665","file3":"1338645654"},"map_files_photo_id_array":[{"photo_id":"1338645665","filename":"file5"},{"photo_id":"1338645652","filename":"file2"},{"photo_id":"1338645663","filename":"file4"},{"photo_id":"1338645648","filename":"file1"},{"photo_id":"1338645644","filename":"file0"},{"photo_id":"1338645654","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645665":["hashtag1","hashtag2"]},{"1338645644":["hashtag1","hashtag2"]},{"1338645652":["hashtag1","hashtag2"]},{"1338645654":["hashtag1","hashtag2"]},{"1338645663":["hashtag1","hashtag2"]},{"1338645648":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645665, 1338645644, 1338645652, 1338645654, 1338645663, 1338645648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06474328041077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:26:33.077947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/09/58/image_20022025_09_59_06_9447.jpg', '/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_16_10342.jpg', '/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_25_9328.jpg', '/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_36_10391.jpg', '/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_46_10324.jpg', '/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_55_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/09/58/image_20022025_09_59_06_9447.jpg
/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_16_10342.jpg
/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_25_9328.jpg
/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_36_10391.jpg
/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_46_10324.jpg
/home/pi/Desktop/images/20022025/09/59/image_20022025_09_59_55_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645686","1338645680","1338645688","1338645690","1338645683","1338645677"],"photo_ids_order":["1338645677","1338645680","1338645683","1338645686","1338645688","1338645690"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a12779c3dcbb82c10f1297974635610.jpg","text":"TemporaryFile(/tmp/multipartBody1663078318250406429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072453642,"filename":"image_20022025_09_59_36_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aebc6fcae9fba55150af9725cf0f5c41.jpg","text":"TemporaryFile(/tmp/multipartBody7976690697434007733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072453642,"filename":"image_20022025_09_59_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/daf48781980ae2c749d237f40663a481.jpg","text":"TemporaryFile(/tmp/multipartBody6502082467063354249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072453642,"filename":"image_20022025_09_59_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/89bbbb6da67b46d0cb1d8395fc77d4a2.jpg","text":"TemporaryFile(/tmp/multipartBody9117575189168958366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072453642,"filename":"image_20022025_09_59_55_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1c70a33ca0ec6b72d235fdd25638d746.jpg","text":"TemporaryFile(/tmp/multipartBody7156802526066526460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072453642,"filename":"image_20022025_09_59_25_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca08d81cbef1e641b777b8dba4dc13a4.jpg","text":"TemporaryFile(/tmp/multipartBody8406608374110293692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072453642,"filename":"image_20022025_09_59_06_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645683","file1":"1338645680","file0":"1338645677","file4":"1338645688","file5":"1338645690","file3":"1338645686"},"map_files_photo_id_array":[{"photo_id":"1338645690","filename":"file5"},{"photo_id":"1338645683","filename":"file2"},{"photo_id":"1338645688","filename":"file4"},{"photo_id":"1338645680","filename":"file1"},{"photo_id":"1338645677","filename":"file0"},{"photo_id":"1338645686","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645686":["hashtag1","hashtag2"]},{"1338645680":["hashtag1","hashtag2"]},{"1338645688":["hashtag1","hashtag2"]},{"1338645690":["hashtag1","hashtag2"]},{"1338645683":["hashtag1","hashtag2"]},{"1338645677":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645686, 1338645680, 1338645688, 1338645690, 1338645683, 1338645677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54435467720032 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:27:32.214806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_16_10070.jpg', '/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_26_10350.jpg', '/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_36_10369.jpg', '/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_46_9345.jpg', '/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_56_10355.jpg', '/home/pi/Desktop/images/20022025/10/00/image_20022025_10_01_06_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_16_10070.jpg
/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_26_10350.jpg
/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_36_10369.jpg
/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_46_9345.jpg
/home/pi/Desktop/images/20022025/10/00/image_20022025_10_00_56_10355.jpg
/home/pi/Desktop/images/20022025/10/00/image_20022025_10_01_06_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645773","1338645743","1338645769","1338645766","1338645771","1338645756"],"photo_ids_order":["1338645743","1338645756","1338645766","1338645769","1338645771","1338645773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/786523a0f27cea6c20cb69207ac1d310.jpg","text":"TemporaryFile(/tmp/multipartBody3699018203364536592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072512789,"filename":"image_20022025_10_01_06_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14c18d90cc5bef94dc4b691482c662ed.jpg","text":"TemporaryFile(/tmp/multipartBody2191440925257912439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072512789,"filename":"image_20022025_10_00_16_10070.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d69798a695430573c766cf5bf8e4b2b8.jpg","text":"TemporaryFile(/tmp/multipartBody3451174886975317425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072512789,"filename":"image_20022025_10_00_46_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ef2c76c3414dd0dce872a12e963474e.jpg","text":"TemporaryFile(/tmp/multipartBody6318429530038094808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072512789,"filename":"image_20022025_10_00_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/df96b33ca9932de908395f3cbdca4b21.jpg","text":"TemporaryFile(/tmp/multipartBody4903890154693719965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072512789,"filename":"image_20022025_10_00_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5400860afbd6d111ae6b5f765454ef36.jpg","text":"TemporaryFile(/tmp/multipartBody3707434558962265092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072512789,"filename":"image_20022025_10_00_26_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645766","file1":"1338645756","file0":"1338645743","file4":"1338645771","file5":"1338645773","file3":"1338645769"},"map_files_photo_id_array":[{"photo_id":"1338645773","filename":"file5"},{"photo_id":"1338645766","filename":"file2"},{"photo_id":"1338645771","filename":"file4"},{"photo_id":"1338645756","filename":"file1"},{"photo_id":"1338645743","filename":"file0"},{"photo_id":"1338645769","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645773":["hashtag1","hashtag2"]},{"1338645743":["hashtag1","hashtag2"]},{"1338645769":["hashtag1","hashtag2"]},{"1338645766":["hashtag1","hashtag2"]},{"1338645771":["hashtag1","hashtag2"]},{"1338645756":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645773, 1338645743, 1338645769, 1338645766, 1338645771, 1338645756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.01621627807617 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:28:32.556730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_16_9344.jpg', '/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_26_10335.jpg', '/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_36_9384.jpg', '/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_46_10324.jpg', '/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_56_10352.jpg', '/home/pi/Desktop/images/20022025/10/01/image_20022025_10_02_06_9439.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_16_9344.jpg
/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_26_10335.jpg
/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_36_9384.jpg
/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_46_10324.jpg
/home/pi/Desktop/images/20022025/10/01/image_20022025_10_01_56_10352.jpg
/home/pi/Desktop/images/20022025/10/01/image_20022025_10_02_06_9439.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645839","1338645827","1338645836","1338645834","1338645837","1338645831"],"photo_ids_order":["1338645827","1338645831","1338645834","1338645836","1338645837","1338645839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aca1f3063aa81702e229fe3a8f8cdcf2.jpg","text":"TemporaryFile(/tmp/multipartBody3869415062117964212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072573140,"filename":"image_20022025_10_02_06_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8d3080b804342d64a16a5a2ca22c3fc.jpg","text":"TemporaryFile(/tmp/multipartBody5612556865613096793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072573140,"filename":"image_20022025_10_01_16_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af70ff748044fdae258d8fbd64cb896c.jpg","text":"TemporaryFile(/tmp/multipartBody2424074071332563010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072573140,"filename":"image_20022025_10_01_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/67b88336df01adc63ad7b99767ddd0d0.jpg","text":"TemporaryFile(/tmp/multipartBody2668349444905484142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072573140,"filename":"image_20022025_10_01_36_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a7dbb2ee8d312b15ebc01cf30e0de5b.jpg","text":"TemporaryFile(/tmp/multipartBody8153318089909836392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072573140,"filename":"image_20022025_10_01_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c72d179436b986d76af598a4d73c8aa2.jpg","text":"TemporaryFile(/tmp/multipartBody6096229087121559919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072573140,"filename":"image_20022025_10_01_26_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645834","file1":"1338645831","file0":"1338645827","file4":"1338645837","file5":"1338645839","file3":"1338645836"},"map_files_photo_id_array":[{"photo_id":"1338645839","filename":"file5"},{"photo_id":"1338645834","filename":"file2"},{"photo_id":"1338645837","filename":"file4"},{"photo_id":"1338645831","filename":"file1"},{"photo_id":"1338645827","filename":"file0"},{"photo_id":"1338645836","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645839":["hashtag1","hashtag2"]},{"1338645827":["hashtag1","hashtag2"]},{"1338645836":["hashtag1","hashtag2"]},{"1338645834":["hashtag1","hashtag2"]},{"1338645837":["hashtag1","hashtag2"]},{"1338645831":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645839, 1338645827, 1338645836, 1338645834, 1338645837, 1338645831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46502876281738 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:29:32.816032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_16_10395.jpg', '/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_26_10346.jpg', '/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_36_9333.jpg', '/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_46_10332.jpg', '/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_57_10461.jpg', '/home/pi/Desktop/images/20022025/10/02/image_20022025_10_03_06_9360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_16_10395.jpg
/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_26_10346.jpg
/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_36_9333.jpg
/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_46_10332.jpg
/home/pi/Desktop/images/20022025/10/02/image_20022025_10_02_57_10461.jpg
/home/pi/Desktop/images/20022025/10/02/image_20022025_10_03_06_9360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645878","1338645872","1338645869","1338645880","1338645865","1338645876"],"photo_ids_order":["1338645865","1338645869","1338645872","1338645876","1338645878","1338645880"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d01469f0ec3b6439f94fb855200bd9da.jpg","text":"TemporaryFile(/tmp/multipartBody1664922390417539760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072633371,"filename":"image_20022025_10_02_57_10461.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b582ce8f87b8728e7eb209c29df26449.jpg","text":"TemporaryFile(/tmp/multipartBody6207010581793427961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072633371,"filename":"image_20022025_10_02_36_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5f95698681d8c62320a5cfe300b59565.jpg","text":"TemporaryFile(/tmp/multipartBody5291295281756039450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072633371,"filename":"image_20022025_10_02_26_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e54aa7be9c3b75d898cf07cc60caef5.jpg","text":"TemporaryFile(/tmp/multipartBody4337826934593065864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072633371,"filename":"image_20022025_10_03_06_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd10019b4f795a4f0b2804fcb87b4038.jpg","text":"TemporaryFile(/tmp/multipartBody9170673568270777132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072633371,"filename":"image_20022025_10_02_16_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dafbd1f46f728335bee65a1a2db8c66c.jpg","text":"TemporaryFile(/tmp/multipartBody3083121371306761816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072633371,"filename":"image_20022025_10_02_46_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645872","file1":"1338645869","file0":"1338645865","file4":"1338645878","file5":"1338645880","file3":"1338645876"},"map_files_photo_id_array":[{"photo_id":"1338645880","filename":"file5"},{"photo_id":"1338645872","filename":"file2"},{"photo_id":"1338645878","filename":"file4"},{"photo_id":"1338645869","filename":"file1"},{"photo_id":"1338645865","filename":"file0"},{"photo_id":"1338645876","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645878":["hashtag1","hashtag2"]},{"1338645872":["hashtag1","hashtag2"]},{"1338645869":["hashtag1","hashtag2"]},{"1338645880":["hashtag1","hashtag2"]},{"1338645865":["hashtag1","hashtag2"]},{"1338645876":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645878, 1338645872, 1338645869, 1338645880, 1338645865, 1338645876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2316358089447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:30:32.894607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_16_10344.jpg', '/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_26_9414.jpg', '/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_36_10339.jpg', '/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_46_10400.jpg', '/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_56_9340.jpg', '/home/pi/Desktop/images/20022025/10/03/image_20022025_10_04_06_10357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_16_10344.jpg
/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_26_9414.jpg
/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_36_10339.jpg
/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_46_10400.jpg
/home/pi/Desktop/images/20022025/10/03/image_20022025_10_03_56_9340.jpg
/home/pi/Desktop/images/20022025/10/03/image_20022025_10_04_06_10357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645900","1338645911","1338645914","1338645905","1338645913","1338645896"],"photo_ids_order":["1338645896","1338645900","1338645905","1338645911","1338645913","1338645914"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a11ff26a6cfe687447f571f729f65c09.jpg","text":"TemporaryFile(/tmp/multipartBody938935348700547508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072693456,"filename":"image_20022025_10_03_26_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce3d7edb3aa6200fce816e99a342bc80.jpg","text":"TemporaryFile(/tmp/multipartBody2400134012079019843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072693456,"filename":"image_20022025_10_03_46_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d158eef4fd985c2f9ec2f127ec5d5930.jpg","text":"TemporaryFile(/tmp/multipartBody4832183027608918353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072693456,"filename":"image_20022025_10_04_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/99c3b6c85209cbdf20eb83849cb0b05d.jpg","text":"TemporaryFile(/tmp/multipartBody2931603813174127276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072693456,"filename":"image_20022025_10_03_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14045a8fd243e259bd24b4fc533bb4e6.jpg","text":"TemporaryFile(/tmp/multipartBody2278112520463617557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072693456,"filename":"image_20022025_10_03_56_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00da4310477f4136e6f71147e42c331f.jpg","text":"TemporaryFile(/tmp/multipartBody1285588075943655324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072693456,"filename":"image_20022025_10_03_16_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645905","file1":"1338645900","file0":"1338645896","file4":"1338645913","file5":"1338645914","file3":"1338645911"},"map_files_photo_id_array":[{"photo_id":"1338645914","filename":"file5"},{"photo_id":"1338645905","filename":"file2"},{"photo_id":"1338645913","filename":"file4"},{"photo_id":"1338645900","filename":"file1"},{"photo_id":"1338645896","filename":"file0"},{"photo_id":"1338645911","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645900":["hashtag1","hashtag2"]},{"1338645911":["hashtag1","hashtag2"]},{"1338645914":["hashtag1","hashtag2"]},{"1338645905":["hashtag1","hashtag2"]},{"1338645913":["hashtag1","hashtag2"]},{"1338645896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645900, 1338645911, 1338645914, 1338645905, 1338645913, 1338645896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29383659362793 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:31:33.062537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_16_10426.jpg', '/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_26_9323.jpg', '/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_36_10398.jpg', '/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_46_9370.jpg', '/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_56_10389.jpg', '/home/pi/Desktop/images/20022025/10/05/image_20022025_10_05_16_9417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_16_10426.jpg
/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_26_9323.jpg
/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_36_10398.jpg
/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_46_9370.jpg
/home/pi/Desktop/images/20022025/10/04/image_20022025_10_04_56_10389.jpg
/home/pi/Desktop/images/20022025/10/05/image_20022025_10_05_16_9417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645944","1338645941","1338645946","1338645948","1338645936","1338645939"],"photo_ids_order":["1338645936","1338645939","1338645941","1338645944","1338645946","1338645948"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d771cdef4f590bc3e06a7a08e9b0ebd.jpg","text":"TemporaryFile(/tmp/multipartBody3867162985564566443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072753612,"filename":"image_20022025_10_04_46_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/86b4854cc2d93c0546df479b9ceccd5a.jpg","text":"TemporaryFile(/tmp/multipartBody2145061832230434089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072753612,"filename":"image_20022025_10_04_36_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d54ed928565ef767dc6f598921945b41.jpg","text":"TemporaryFile(/tmp/multipartBody6814586451268557803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072753612,"filename":"image_20022025_10_04_56_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ca2c60a509b04dff53efe8b842ab815.jpg","text":"TemporaryFile(/tmp/multipartBody4921553861518379055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072753612,"filename":"image_20022025_10_05_16_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b47cf473008ebd885637c371445ddf2.jpg","text":"TemporaryFile(/tmp/multipartBody1452089024629506730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072753612,"filename":"image_20022025_10_04_16_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8085328b2d19e75e0582b7d03b223d85.jpg","text":"TemporaryFile(/tmp/multipartBody2043943299642203967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072753612,"filename":"image_20022025_10_04_26_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645941","file1":"1338645939","file0":"1338645936","file4":"1338645946","file5":"1338645948","file3":"1338645944"},"map_files_photo_id_array":[{"photo_id":"1338645948","filename":"file5"},{"photo_id":"1338645941","filename":"file2"},{"photo_id":"1338645946","filename":"file4"},{"photo_id":"1338645939","filename":"file1"},{"photo_id":"1338645936","filename":"file0"},{"photo_id":"1338645944","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645944":["hashtag1","hashtag2"]},{"1338645941":["hashtag1","hashtag2"]},{"1338645946":["hashtag1","hashtag2"]},{"1338645948":["hashtag1","hashtag2"]},{"1338645936":["hashtag1","hashtag2"]},{"1338645939":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645944, 1338645941, 1338645946, 1338645948, 1338645936, 1338645939)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.184489011764526 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:32:32.084241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/05/image_20022025_10_05_26_10378.jpg', '/home/pi/Desktop/images/20022025/10/05/image_20022025_10_05_56_10355.jpg', '/home/pi/Desktop/images/20022025/10/06/image_20022025_10_06_16_10352.jpg', '/home/pi/Desktop/images/20022025/10/06/image_20022025_10_06_27_10459.jpg', '/home/pi/Desktop/images/20022025/10/06/image_20022025_10_06_46_10334.jpg', '/home/pi/Desktop/images/20022025/10/06/image_20022025_10_06_56_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/05/image_20022025_10_05_26_10378.jpg
/home/pi/Desktop/images/20022025/10/05/image_20022025_10_05_56_10355.jpg
/home/pi/Desktop/images/20022025/10/06/image_20022025_10_06_16_10352.jpg
/home/pi/Desktop/images/20022025/10/06/image_20022025_10_06_27_10459.jpg
/home/pi/Desktop/images/20022025/10/06/image_20022025_10_06_46_10334.jpg
/home/pi/Desktop/images/20022025/10/06/image_20022025_10_06_56_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338645985","1338645978","1338645987","1338646002","1338645969","1338645989"],"photo_ids_order":["1338645969","1338645978","1338645985","1338645987","1338645989","1338646002"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/419901380a02f190e09efca0b478ff00.jpg","text":"TemporaryFile(/tmp/multipartBody4998423667551446902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072812648,"filename":"image_20022025_10_06_16_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5f79c8ebc5dd11709909f288af20c221.jpg","text":"TemporaryFile(/tmp/multipartBody8839199640661235681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072812648,"filename":"image_20022025_10_05_56_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6495e2ff12854e06d4b10e4e75d4aa00.jpg","text":"TemporaryFile(/tmp/multipartBody81611498464923610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072812648,"filename":"image_20022025_10_06_27_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c8e068bfe7458991f16501ddda2558c6.jpg","text":"TemporaryFile(/tmp/multipartBody6088341802765915279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072812648,"filename":"image_20022025_10_06_56_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18dbc218a609ac4654e344278547543a.jpg","text":"TemporaryFile(/tmp/multipartBody2482681348207671367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072812648,"filename":"image_20022025_10_05_26_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b64c87b13645ec1129d529529087b3d6.jpg","text":"TemporaryFile(/tmp/multipartBody368975388920962544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072812648,"filename":"image_20022025_10_06_46_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338645985","file1":"1338645978","file0":"1338645969","file4":"1338645989","file5":"1338646002","file3":"1338645987"},"map_files_photo_id_array":[{"photo_id":"1338646002","filename":"file5"},{"photo_id":"1338645985","filename":"file2"},{"photo_id":"1338645989","filename":"file4"},{"photo_id":"1338645978","filename":"file1"},{"photo_id":"1338645969","filename":"file0"},{"photo_id":"1338645987","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338645985":["hashtag1","hashtag2"]},{"1338645978":["hashtag1","hashtag2"]},{"1338645987":["hashtag1","hashtag2"]},{"1338646002":["hashtag1","hashtag2"]},{"1338645969":["hashtag1","hashtag2"]},{"1338645989":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338645985, 1338645978, 1338645987, 1338646002, 1338645969, 1338645989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16436815261841 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:33:32.287851
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/07/image_20022025_10_07_26_9335.jpg', '/home/pi/Desktop/images/20022025/10/07/image_20022025_10_07_47_10460.jpg', '/home/pi/Desktop/images/20022025/10/07/image_20022025_10_07_56_9422.jpg', '/home/pi/Desktop/images/20022025/10/07/image_20022025_10_08_06_10345.jpg', '/home/pi/Desktop/images/20022025/10/08/image_20022025_10_08_16_9394.jpg', '/home/pi/Desktop/images/20022025/10/08/image_20022025_10_08_36_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/07/image_20022025_10_07_26_9335.jpg
/home/pi/Desktop/images/20022025/10/07/image_20022025_10_07_47_10460.jpg
/home/pi/Desktop/images/20022025/10/07/image_20022025_10_07_56_9422.jpg
/home/pi/Desktop/images/20022025/10/07/image_20022025_10_08_06_10345.jpg
/home/pi/Desktop/images/20022025/10/08/image_20022025_10_08_16_9394.jpg
/home/pi/Desktop/images/20022025/10/08/image_20022025_10_08_36_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338646042","1338646036","1338646039","1338646044","1338646047","1338646038"],"photo_ids_order":["1338646036","1338646038","1338646039","1338646042","1338646044","1338646047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20df28a9f88a7fad07293188b89af65d.jpg","text":"TemporaryFile(/tmp/multipartBody3855890059132015487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072872843,"filename":"image_20022025_10_08_06_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4374614ae1734e9980165275b369b1e2.jpg","text":"TemporaryFile(/tmp/multipartBody6430237962092139969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072872843,"filename":"image_20022025_10_07_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88a32477c8a350c18e60eb78bd2aeb63.jpg","text":"TemporaryFile(/tmp/multipartBody4581818851459499176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072872843,"filename":"image_20022025_10_07_56_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2f0f54ebe243020c1adc0aee531219e.jpg","text":"TemporaryFile(/tmp/multipartBody1909525127511609170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072872843,"filename":"image_20022025_10_08_16_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd4cd6de8e026680ac775017c1d163b7.jpg","text":"TemporaryFile(/tmp/multipartBody3662126048544289080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072872843,"filename":"image_20022025_10_08_36_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eaa31f82dcc418001a6a1fd90b63829b.jpg","text":"TemporaryFile(/tmp/multipartBody6540152249283090546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072872843,"filename":"image_20022025_10_07_47_10460.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338646039","file1":"1338646038","file0":"1338646036","file4":"1338646044","file5":"1338646047","file3":"1338646042"},"map_files_photo_id_array":[{"photo_id":"1338646047","filename":"file5"},{"photo_id":"1338646039","filename":"file2"},{"photo_id":"1338646044","filename":"file4"},{"photo_id":"1338646038","filename":"file1"},{"photo_id":"1338646036","filename":"file0"},{"photo_id":"1338646042","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338646042":["hashtag1","hashtag2"]},{"1338646036":["hashtag1","hashtag2"]},{"1338646039":["hashtag1","hashtag2"]},{"1338646044":["hashtag1","hashtag2"]},{"1338646047":["hashtag1","hashtag2"]},{"1338646038":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338646042, 1338646036, 1338646039, 1338646044, 1338646047, 1338646038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39332103729248 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:34:32.605755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/08/image_20022025_10_08_46_9315.jpg', '/home/pi/Desktop/images/20022025/10/08/image_20022025_10_09_07_10375.jpg', '/home/pi/Desktop/images/20022025/10/09/image_20022025_10_09_36_9334.jpg', '/home/pi/Desktop/images/20022025/10/09/image_20022025_10_09_56_10346.jpg', '/home/pi/Desktop/images/20022025/10/09/image_20022025_10_10_06_9419.jpg', '/home/pi/Desktop/images/20022025/10/10/image_20022025_10_10_46_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/08/image_20022025_10_08_46_9315.jpg
/home/pi/Desktop/images/20022025/10/08/image_20022025_10_09_07_10375.jpg
/home/pi/Desktop/images/20022025/10/09/image_20022025_10_09_36_9334.jpg
/home/pi/Desktop/images/20022025/10/09/image_20022025_10_09_56_10346.jpg
/home/pi/Desktop/images/20022025/10/09/image_20022025_10_10_06_9419.jpg
/home/pi/Desktop/images/20022025/10/10/image_20022025_10_10_46_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338646106","1338646096","1338646084","1338646114","1338646092","1338646088"],"photo_ids_order":["1338646084","1338646088","1338646092","1338646096","1338646106","1338646114"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c1526d1858f1d829adcd890c85ed49ac.jpg","text":"TemporaryFile(/tmp/multipartBody8641601937665664247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072933168,"filename":"image_20022025_10_10_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22cc0d4b0eacac1f5e379c230fd0f563.jpg","text":"TemporaryFile(/tmp/multipartBody5832113784308490264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072933168,"filename":"image_20022025_10_09_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81fc79b27264def2ccaf6c5d846476b2.jpg","text":"TemporaryFile(/tmp/multipartBody4302800966924835692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072933168,"filename":"image_20022025_10_08_46_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cac96d2e4dd87592b834df8b285439c2.jpg","text":"TemporaryFile(/tmp/multipartBody4509002181760432668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072933168,"filename":"image_20022025_10_10_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b617e87c75ff47bb066c999404faaa2c.jpg","text":"TemporaryFile(/tmp/multipartBody7465280074985483774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072933168,"filename":"image_20022025_10_09_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00268616b8495f150997417a03cb43f5.jpg","text":"TemporaryFile(/tmp/multipartBody8942175629632894594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072933168,"filename":"image_20022025_10_09_07_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338646092","file1":"1338646088","file0":"1338646084","file4":"1338646106","file5":"1338646114","file3":"1338646096"},"map_files_photo_id_array":[{"photo_id":"1338646114","filename":"file5"},{"photo_id":"1338646092","filename":"file2"},{"photo_id":"1338646106","filename":"file4"},{"photo_id":"1338646088","filename":"file1"},{"photo_id":"1338646084","filename":"file0"},{"photo_id":"1338646096","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338646106":["hashtag1","hashtag2"]},{"1338646096":["hashtag1","hashtag2"]},{"1338646084":["hashtag1","hashtag2"]},{"1338646114":["hashtag1","hashtag2"]},{"1338646092":["hashtag1","hashtag2"]},{"1338646088":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338646106, 1338646096, 1338646084, 1338646114, 1338646092, 1338646088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.869057178497314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:35:32.836162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/10/image_20022025_10_10_57_10447.jpg', '/home/pi/Desktop/images/20022025/10/10/image_20022025_10_11_06_9419.jpg', '/home/pi/Desktop/images/20022025/10/11/image_20022025_10_11_16_10330.jpg', '/home/pi/Desktop/images/20022025/10/11/image_20022025_10_11_36_10348.jpg', '/home/pi/Desktop/images/20022025/10/11/image_20022025_10_11_46_10328.jpg', '/home/pi/Desktop/images/20022025/10/11/image_20022025_10_12_06_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/10/image_20022025_10_10_57_10447.jpg
/home/pi/Desktop/images/20022025/10/10/image_20022025_10_11_06_9419.jpg
/home/pi/Desktop/images/20022025/10/11/image_20022025_10_11_16_10330.jpg
/home/pi/Desktop/images/20022025/10/11/image_20022025_10_11_36_10348.jpg
/home/pi/Desktop/images/20022025/10/11/image_20022025_10_11_46_10328.jpg
/home/pi/Desktop/images/20022025/10/11/image_20022025_10_12_06_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338646754","1338646783","1338646764","1338646758","1338646773","1338646769"],"photo_ids_order":["1338646754","1338646758","1338646764","1338646769","1338646773","1338646783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bd123d17322772c93a86392a3e61759.jpg","text":"TemporaryFile(/tmp/multipartBody6417676240453191772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072993479,"filename":"image_20022025_10_10_57_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52b797ef6eccd115047a7ce6b9c80ca6.jpg","text":"TemporaryFile(/tmp/multipartBody8930940213963859816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072993479,"filename":"image_20022025_10_12_06_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04aa61a2ea0e854bf65d3dcc886e9e69.jpg","text":"TemporaryFile(/tmp/multipartBody1817817492474579543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072993479,"filename":"image_20022025_10_11_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f03a013e0d86a5d42ebd005d10132128.jpg","text":"TemporaryFile(/tmp/multipartBody5974279810644455347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072993479,"filename":"image_20022025_10_11_06_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee22aa10913a745b523d09476f5fe592.jpg","text":"TemporaryFile(/tmp/multipartBody5940532653302355333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072993479,"filename":"image_20022025_10_11_46_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5f4feae281c95c3e758ebd1d3e408690.jpg","text":"TemporaryFile(/tmp/multipartBody2612819081153237198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740072993479,"filename":"image_20022025_10_11_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338646764","file1":"1338646758","file0":"1338646754","file4":"1338646773","file5":"1338646783","file3":"1338646769"},"map_files_photo_id_array":[{"photo_id":"1338646783","filename":"file5"},{"photo_id":"1338646764","filename":"file2"},{"photo_id":"1338646773","filename":"file4"},{"photo_id":"1338646758","filename":"file1"},{"photo_id":"1338646754","filename":"file0"},{"photo_id":"1338646769","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338646754":["hashtag1","hashtag2"]},{"1338646783":["hashtag1","hashtag2"]},{"1338646764":["hashtag1","hashtag2"]},{"1338646758":["hashtag1","hashtag2"]},{"1338646773":["hashtag1","hashtag2"]},{"1338646769":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338646754, 1338646783, 1338646764, 1338646758, 1338646773, 1338646769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36714577674866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:36:33.043311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_16_10346.jpg', '/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_26_9377.jpg', '/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_56_9376.jpg', '/home/pi/Desktop/images/20022025/10/12/image_20022025_10_13_06_10341.jpg', '/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_26_10357.jpg', '/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_16_10346.jpg
/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_26_9377.jpg
/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_56_9376.jpg
/home/pi/Desktop/images/20022025/10/12/image_20022025_10_13_06_10341.jpg
/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_26_10357.jpg
/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_36_10346.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.45917320251464844 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 18:36:43.008872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_16_10346.jpg', '/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_26_9377.jpg', '/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_56_9376.jpg', '/home/pi/Desktop/images/20022025/10/12/image_20022025_10_13_06_10341.jpg', '/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_26_10357.jpg', '/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_36_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_16_10346.jpg
/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_26_9377.jpg
/home/pi/Desktop/images/20022025/10/12/image_20022025_10_12_56_9376.jpg
/home/pi/Desktop/images/20022025/10/12/image_20022025_10_13_06_10341.jpg
/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_26_10357.jpg
/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_36_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647086","1338647084","1338647093","1338647072","1338647089","1338647080"],"photo_ids_order":["1338647072","1338647080","1338647084","1338647086","1338647089","1338647093"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8df32f4a25877c41509aed545d4823e0.jpg","text":"TemporaryFile(/tmp/multipartBody7730769478899190031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073063517,"filename":"image_20022025_10_13_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65241abb2261b1541b12252310a4f264.jpg","text":"TemporaryFile(/tmp/multipartBody5113374654595705704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073063517,"filename":"image_20022025_10_12_56_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56bcaacf85f142b68109d2b8e9ef1f9d.jpg","text":"TemporaryFile(/tmp/multipartBody2440290543526314397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073063517,"filename":"image_20022025_10_13_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/61a95a1b2bf50eba56ebf389036cbb29.jpg","text":"TemporaryFile(/tmp/multipartBody3196268654767781244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073063517,"filename":"image_20022025_10_12_16_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dec905b477b60d220ceae39eebb6cd7a.jpg","text":"TemporaryFile(/tmp/multipartBody3650180470013382375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073063517,"filename":"image_20022025_10_13_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22a687d3adb77dec144e47ec7f4605f9.jpg","text":"TemporaryFile(/tmp/multipartBody6737937279627435342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073063517,"filename":"image_20022025_10_12_26_9377.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647084","file1":"1338647080","file0":"1338647072","file4":"1338647089","file5":"1338647093","file3":"1338647086"},"map_files_photo_id_array":[{"photo_id":"1338647093","filename":"file5"},{"photo_id":"1338647084","filename":"file2"},{"photo_id":"1338647089","filename":"file4"},{"photo_id":"1338647080","filename":"file1"},{"photo_id":"1338647072","filename":"file0"},{"photo_id":"1338647086","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647086":["hashtag1","hashtag2"]},{"1338647084":["hashtag1","hashtag2"]},{"1338647093":["hashtag1","hashtag2"]},{"1338647072":["hashtag1","hashtag2"]},{"1338647089":["hashtag1","hashtag2"]},{"1338647080":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647086, 1338647084, 1338647093, 1338647072, 1338647089, 1338647080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79631853103638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:37:32.136676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_46_9317.jpg', '/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_56_10336.jpg', '/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_16_9375.jpg', '/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_26_10351.jpg', '/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_36_10445.jpg', '/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_46_9423.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_46_9317.jpg
/home/pi/Desktop/images/20022025/10/13/image_20022025_10_13_56_10336.jpg
/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_16_9375.jpg
/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_26_10351.jpg
/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_36_10445.jpg
/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_46_9423.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647140","1338647107","1338647110","1338647132","1338647123","1338647117"],"photo_ids_order":["1338647107","1338647110","1338647117","1338647123","1338647132","1338647140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/368330810d9cf77341026f390ee9c10d.jpg","text":"TemporaryFile(/tmp/multipartBody4129626147575537580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073112677,"filename":"image_20022025_10_14_46_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c73a2bf017379d1ee7ce153609669779.jpg","text":"TemporaryFile(/tmp/multipartBody1508292043631517076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073112677,"filename":"image_20022025_10_13_46_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e3d51f9439866bbdd3786ddbf0b7a36.jpg","text":"TemporaryFile(/tmp/multipartBody1485564287838835841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073112677,"filename":"image_20022025_10_13_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/43ed5117db48ef0b95e109bb823241fe.jpg","text":"TemporaryFile(/tmp/multipartBody4048739603270049036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073112677,"filename":"image_20022025_10_14_36_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3df048870ef52268a07b61e51405025f.jpg","text":"TemporaryFile(/tmp/multipartBody3523763076027083873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073112677,"filename":"image_20022025_10_14_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e60324ff8711da1385c9de6b1250f160.jpg","text":"TemporaryFile(/tmp/multipartBody1012039533429537556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073112677,"filename":"image_20022025_10_14_16_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647117","file1":"1338647110","file0":"1338647107","file4":"1338647132","file5":"1338647140","file3":"1338647123"},"map_files_photo_id_array":[{"photo_id":"1338647140","filename":"file5"},{"photo_id":"1338647117","filename":"file2"},{"photo_id":"1338647132","filename":"file4"},{"photo_id":"1338647110","filename":"file1"},{"photo_id":"1338647107","filename":"file0"},{"photo_id":"1338647123","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647140":["hashtag1","hashtag2"]},{"1338647107":["hashtag1","hashtag2"]},{"1338647110":["hashtag1","hashtag2"]},{"1338647132":["hashtag1","hashtag2"]},{"1338647123":["hashtag1","hashtag2"]},{"1338647117":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647140, 1338647107, 1338647110, 1338647132, 1338647123, 1338647117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43643498420715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:38:32.371828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_56_10341.jpg', '/home/pi/Desktop/images/20022025/10/14/image_20022025_10_15_06_9324.jpg', '/home/pi/Desktop/images/20022025/10/15/image_20022025_10_15_16_10330.jpg', '/home/pi/Desktop/images/20022025/10/15/image_20022025_10_15_26_10340.jpg', '/home/pi/Desktop/images/20022025/10/15/image_20022025_10_15_36_9337.jpg', '/home/pi/Desktop/images/20022025/10/15/image_20022025_10_15_56_10448.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/14/image_20022025_10_14_56_10341.jpg
/home/pi/Desktop/images/20022025/10/14/image_20022025_10_15_06_9324.jpg
/home/pi/Desktop/images/20022025/10/15/image_20022025_10_15_16_10330.jpg
/home/pi/Desktop/images/20022025/10/15/image_20022025_10_15_26_10340.jpg
/home/pi/Desktop/images/20022025/10/15/image_20022025_10_15_36_9337.jpg
/home/pi/Desktop/images/20022025/10/15/image_20022025_10_15_56_10448.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647179","1338647187","1338647169","1338647163","1338647183","1338647188"],"photo_ids_order":["1338647163","1338647169","1338647179","1338647183","1338647187","1338647188"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e30a62bba593072d2d2982c52d932275.jpg","text":"TemporaryFile(/tmp/multipartBody173762640446766264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073173002,"filename":"image_20022025_10_15_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0cce631427163388653d94df71f3436e.jpg","text":"TemporaryFile(/tmp/multipartBody4952645061031292405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073173002,"filename":"image_20022025_10_15_36_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d560095f767ece2ab13a83e238a64c1.jpg","text":"TemporaryFile(/tmp/multipartBody6289744135974673467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073173002,"filename":"image_20022025_10_15_06_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4dc62b47081bdd0cc6cbe8e9a039eec.jpg","text":"TemporaryFile(/tmp/multipartBody301701694125334081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073173002,"filename":"image_20022025_10_14_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5901446c6054ab997dc358302bac4c6.jpg","text":"TemporaryFile(/tmp/multipartBody7238946415398897145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073173002,"filename":"image_20022025_10_15_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/62a63af72b017849e94ef0d3f9d593f9.jpg","text":"TemporaryFile(/tmp/multipartBody9181381970628886097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073173002,"filename":"image_20022025_10_15_56_10448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647179","file1":"1338647169","file0":"1338647163","file4":"1338647187","file5":"1338647188","file3":"1338647183"},"map_files_photo_id_array":[{"photo_id":"1338647188","filename":"file5"},{"photo_id":"1338647179","filename":"file2"},{"photo_id":"1338647187","filename":"file4"},{"photo_id":"1338647169","filename":"file1"},{"photo_id":"1338647163","filename":"file0"},{"photo_id":"1338647183","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647179":["hashtag1","hashtag2"]},{"1338647187":["hashtag1","hashtag2"]},{"1338647169":["hashtag1","hashtag2"]},{"1338647163":["hashtag1","hashtag2"]},{"1338647183":["hashtag1","hashtag2"]},{"1338647188":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647179, 1338647187, 1338647169, 1338647163, 1338647183, 1338647188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28636169433594 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:39:32.754982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/15/image_20022025_10_16_06_9326.jpg', '/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_16_10333.jpg', '/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_26_9424.jpg', '/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_36_10334.jpg', '/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_46_10334.jpg', '/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_56_9407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/15/image_20022025_10_16_06_9326.jpg
/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_16_10333.jpg
/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_26_9424.jpg
/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_36_10334.jpg
/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_46_10334.jpg
/home/pi/Desktop/images/20022025/10/16/image_20022025_10_16_56_9407.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647226","1338647211","1338647214","1338647222","1338647225","1338647219"],"photo_ids_order":["1338647211","1338647214","1338647219","1338647222","1338647225","1338647226"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3704c2e94a09ed20b32c3b378497d58b.jpg","text":"TemporaryFile(/tmp/multipartBody15439472488736044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073233306,"filename":"image_20022025_10_16_56_9407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3604b474f511b4adaeac9adaf381be6b.jpg","text":"TemporaryFile(/tmp/multipartBody4699071661160760268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073233306,"filename":"image_20022025_10_16_06_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbbd3a566a5c51dc63971eeb8332e9cf.jpg","text":"TemporaryFile(/tmp/multipartBody4634550220095323110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073233306,"filename":"image_20022025_10_16_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96e6a826e6aa59ec0acdc6c273342244.jpg","text":"TemporaryFile(/tmp/multipartBody7491142900636149722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073233306,"filename":"image_20022025_10_16_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca7604bd7b5d70eda451bbb5c5e758da.jpg","text":"TemporaryFile(/tmp/multipartBody8410806993741936069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073233306,"filename":"image_20022025_10_16_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/72755aaad1629262a557ab789018eb46.jpg","text":"TemporaryFile(/tmp/multipartBody4961886959714629857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073233306,"filename":"image_20022025_10_16_26_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647219","file1":"1338647214","file0":"1338647211","file4":"1338647225","file5":"1338647226","file3":"1338647222"},"map_files_photo_id_array":[{"photo_id":"1338647226","filename":"file5"},{"photo_id":"1338647219","filename":"file2"},{"photo_id":"1338647225","filename":"file4"},{"photo_id":"1338647214","filename":"file1"},{"photo_id":"1338647211","filename":"file0"},{"photo_id":"1338647222","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647226":["hashtag1","hashtag2"]},{"1338647211":["hashtag1","hashtag2"]},{"1338647214":["hashtag1","hashtag2"]},{"1338647222":["hashtag1","hashtag2"]},{"1338647225":["hashtag1","hashtag2"]},{"1338647219":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647226, 1338647211, 1338647214, 1338647222, 1338647225, 1338647219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85026574134827 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:40:32.897797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/16/image_20022025_10_17_06_10432.jpg', '/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_16_10332.jpg', '/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_26_9372.jpg', '/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_36_10339.jpg', '/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_46_9462.jpg', '/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_56_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/16/image_20022025_10_17_06_10432.jpg
/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_16_10332.jpg
/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_26_9372.jpg
/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_36_10339.jpg
/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_46_9462.jpg
/home/pi/Desktop/images/20022025/10/17/image_20022025_10_17_56_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647260","1338647257","1338647242","1338647262","1338647244","1338647249"],"photo_ids_order":["1338647242","1338647244","1338647249","1338647257","1338647260","1338647262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c3d7aaa1a260075500c292c3cb08f45.jpg","text":"TemporaryFile(/tmp/multipartBody5400006171007050785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073293468,"filename":"image_20022025_10_17_46_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28d23d10db85ba91d45559aca340a7dd.jpg","text":"TemporaryFile(/tmp/multipartBody3438920665056679224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073293468,"filename":"image_20022025_10_17_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e38d5e7df0f0908b6273ebfacd87119d.jpg","text":"TemporaryFile(/tmp/multipartBody666219741402027550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073293468,"filename":"image_20022025_10_17_06_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b134311fe202497685399e6108d542c1.jpg","text":"TemporaryFile(/tmp/multipartBody5940994871863140425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073293468,"filename":"image_20022025_10_17_56_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01403571b237eaa07c19145395436cbc.jpg","text":"TemporaryFile(/tmp/multipartBody7917936633845582707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073293468,"filename":"image_20022025_10_17_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb71a446f5bd3f47601aa210efa0f790.jpg","text":"TemporaryFile(/tmp/multipartBody4172547992270566649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073293468,"filename":"image_20022025_10_17_26_9372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647249","file1":"1338647244","file0":"1338647242","file4":"1338647260","file5":"1338647262","file3":"1338647257"},"map_files_photo_id_array":[{"photo_id":"1338647262","filename":"file5"},{"photo_id":"1338647249","filename":"file2"},{"photo_id":"1338647260","filename":"file4"},{"photo_id":"1338647244","filename":"file1"},{"photo_id":"1338647242","filename":"file0"},{"photo_id":"1338647257","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647260":["hashtag1","hashtag2"]},{"1338647257":["hashtag1","hashtag2"]},{"1338647242":["hashtag1","hashtag2"]},{"1338647262":["hashtag1","hashtag2"]},{"1338647244":["hashtag1","hashtag2"]},{"1338647249":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647260, 1338647257, 1338647242, 1338647262, 1338647244, 1338647249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16899013519287 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:41:32.916940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/17/image_20022025_10_18_06_10426.jpg', '/home/pi/Desktop/images/20022025/10/18/image_20022025_10_18_26_10352.jpg', '/home/pi/Desktop/images/20022025/10/18/image_20022025_10_18_36_9455.jpg', '/home/pi/Desktop/images/20022025/10/18/image_20022025_10_18_46_10424.jpg', '/home/pi/Desktop/images/20022025/10/18/image_20022025_10_18_56_10364.jpg', '/home/pi/Desktop/images/20022025/10/18/image_20022025_10_19_06_9382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/17/image_20022025_10_18_06_10426.jpg
/home/pi/Desktop/images/20022025/10/18/image_20022025_10_18_26_10352.jpg
/home/pi/Desktop/images/20022025/10/18/image_20022025_10_18_36_9455.jpg
/home/pi/Desktop/images/20022025/10/18/image_20022025_10_18_46_10424.jpg
/home/pi/Desktop/images/20022025/10/18/image_20022025_10_18_56_10364.jpg
/home/pi/Desktop/images/20022025/10/18/image_20022025_10_19_06_9382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647311","1338647308","1338647304","1338647294","1338647297","1338647300"],"photo_ids_order":["1338647294","1338647297","1338647300","1338647304","1338647308","1338647311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5dd5529c3f48250e4549807b2185e019.jpg","text":"TemporaryFile(/tmp/multipartBody5074543979757458856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073353472,"filename":"image_20022025_10_19_06_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c632e5bcecbdcea4d9a46f43bb7cf23a.jpg","text":"TemporaryFile(/tmp/multipartBody4744381252400256893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073353472,"filename":"image_20022025_10_18_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0dc602ffd4585286c4e4ce7f0b9fa5f2.jpg","text":"TemporaryFile(/tmp/multipartBody7361449769801405353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073353472,"filename":"image_20022025_10_18_46_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba840b18d67ff990590edf427b2b9a5f.jpg","text":"TemporaryFile(/tmp/multipartBody8245334690591242392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073353472,"filename":"image_20022025_10_18_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41685d28c6174417800129f68e9e1d54.jpg","text":"TemporaryFile(/tmp/multipartBody8098050615190400356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073353472,"filename":"image_20022025_10_18_26_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c88b28592995667eb6aab42e59ff5ef.jpg","text":"TemporaryFile(/tmp/multipartBody3481529868876747411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073353472,"filename":"image_20022025_10_18_36_9455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647300","file1":"1338647297","file0":"1338647294","file4":"1338647308","file5":"1338647311","file3":"1338647304"},"map_files_photo_id_array":[{"photo_id":"1338647311","filename":"file5"},{"photo_id":"1338647300","filename":"file2"},{"photo_id":"1338647308","filename":"file4"},{"photo_id":"1338647297","filename":"file1"},{"photo_id":"1338647294","filename":"file0"},{"photo_id":"1338647304","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647311":["hashtag1","hashtag2"]},{"1338647308":["hashtag1","hashtag2"]},{"1338647304":["hashtag1","hashtag2"]},{"1338647294":["hashtag1","hashtag2"]},{"1338647297":["hashtag1","hashtag2"]},{"1338647300":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647311, 1338647308, 1338647304, 1338647294, 1338647297, 1338647300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06930422782898 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:42:33.076536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/19/image_20022025_10_19_16_10343.jpg', '/home/pi/Desktop/images/20022025/10/19/image_20022025_10_19_26_9469.jpg', '/home/pi/Desktop/images/20022025/10/19/image_20022025_10_19_46_10316.jpg', '/home/pi/Desktop/images/20022025/10/19/image_20022025_10_19_56_9326.jpg', '/home/pi/Desktop/images/20022025/10/19/image_20022025_10_20_06_10341.jpg', '/home/pi/Desktop/images/20022025/10/20/image_20022025_10_20_16_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/19/image_20022025_10_19_16_10343.jpg
/home/pi/Desktop/images/20022025/10/19/image_20022025_10_19_26_9469.jpg
/home/pi/Desktop/images/20022025/10/19/image_20022025_10_19_46_10316.jpg
/home/pi/Desktop/images/20022025/10/19/image_20022025_10_19_56_9326.jpg
/home/pi/Desktop/images/20022025/10/19/image_20022025_10_20_06_10341.jpg
/home/pi/Desktop/images/20022025/10/20/image_20022025_10_20_16_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647344","1338647347","1338647349","1338647345","1338647339","1338647333"],"photo_ids_order":["1338647333","1338647339","1338647344","1338647345","1338647347","1338647349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e39784cb0a9e0cdac3a29f7bb984c65d.jpg","text":"TemporaryFile(/tmp/multipartBody4904784857812761565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073413627,"filename":"image_20022025_10_19_46_10316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bb886716eafdd93f8dc2e51a9f409c2.jpg","text":"TemporaryFile(/tmp/multipartBody1721731609736480483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073413627,"filename":"image_20022025_10_20_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9084286da2b1d9c4f8f910e1ca1fe324.jpg","text":"TemporaryFile(/tmp/multipartBody8677600264778559578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073413627,"filename":"image_20022025_10_20_16_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/424a0727e1fd6d5525b5962a86844861.jpg","text":"TemporaryFile(/tmp/multipartBody1222997250809039159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073413627,"filename":"image_20022025_10_19_56_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb00e7bfdf55869bb206fc96b4819c34.jpg","text":"TemporaryFile(/tmp/multipartBody2735251854883034850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073413627,"filename":"image_20022025_10_19_26_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16356416bd3b2a266f93d23dfc51af48.jpg","text":"TemporaryFile(/tmp/multipartBody3054015525147729589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073413627,"filename":"image_20022025_10_19_16_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647344","file1":"1338647339","file0":"1338647333","file4":"1338647347","file5":"1338647349","file3":"1338647345"},"map_files_photo_id_array":[{"photo_id":"1338647349","filename":"file5"},{"photo_id":"1338647344","filename":"file2"},{"photo_id":"1338647347","filename":"file4"},{"photo_id":"1338647339","filename":"file1"},{"photo_id":"1338647333","filename":"file0"},{"photo_id":"1338647345","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647344":["hashtag1","hashtag2"]},{"1338647347":["hashtag1","hashtag2"]},{"1338647349":["hashtag1","hashtag2"]},{"1338647345":["hashtag1","hashtag2"]},{"1338647339":["hashtag1","hashtag2"]},{"1338647333":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647344, 1338647347, 1338647349, 1338647345, 1338647339, 1338647333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.319408893585205 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:43:32.094150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/20/image_20022025_10_20_36_10336.jpg', '/home/pi/Desktop/images/20022025/10/20/image_20022025_10_20_46_10366.jpg', '/home/pi/Desktop/images/20022025/10/20/image_20022025_10_20_56_9335.jpg', '/home/pi/Desktop/images/20022025/10/20/image_20022025_10_21_06_10338.jpg', '/home/pi/Desktop/images/20022025/10/21/image_20022025_10_21_16_10334.jpg', '/home/pi/Desktop/images/20022025/10/21/image_20022025_10_21_26_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/20/image_20022025_10_20_36_10336.jpg
/home/pi/Desktop/images/20022025/10/20/image_20022025_10_20_46_10366.jpg
/home/pi/Desktop/images/20022025/10/20/image_20022025_10_20_56_9335.jpg
/home/pi/Desktop/images/20022025/10/20/image_20022025_10_21_06_10338.jpg
/home/pi/Desktop/images/20022025/10/21/image_20022025_10_21_16_10334.jpg
/home/pi/Desktop/images/20022025/10/21/image_20022025_10_21_26_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647377","1338647379","1338647370","1338647375","1338647372","1338647369"],"photo_ids_order":["1338647369","1338647370","1338647372","1338647375","1338647377","1338647379"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4742aff5dee46fe57331f534d63d09a3.jpg","text":"TemporaryFile(/tmp/multipartBody5893347174436147921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073472654,"filename":"image_20022025_10_21_16_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cdc67531eb53eb716da32c98aa6e085f.jpg","text":"TemporaryFile(/tmp/multipartBody6589966609961567304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073472654,"filename":"image_20022025_10_21_26_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ddca9134a9fc2ff7f2e3f235dbe1a633.jpg","text":"TemporaryFile(/tmp/multipartBody9186855079715261918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073472654,"filename":"image_20022025_10_20_46_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/315f8e57e10e2aec66ab7cb594e97b2f.jpg","text":"TemporaryFile(/tmp/multipartBody8589750539223979053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073472654,"filename":"image_20022025_10_21_06_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/39f7dbf1a7cba942e5f54277c1bab48d.jpg","text":"TemporaryFile(/tmp/multipartBody7400944495206140317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073472654,"filename":"image_20022025_10_20_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83d7ce230b41cc94ae4cbb358f39dd79.jpg","text":"TemporaryFile(/tmp/multipartBody4833853476287265350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073472654,"filename":"image_20022025_10_20_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647372","file1":"1338647370","file0":"1338647369","file4":"1338647377","file5":"1338647379","file3":"1338647375"},"map_files_photo_id_array":[{"photo_id":"1338647379","filename":"file5"},{"photo_id":"1338647372","filename":"file2"},{"photo_id":"1338647377","filename":"file4"},{"photo_id":"1338647370","filename":"file1"},{"photo_id":"1338647369","filename":"file0"},{"photo_id":"1338647375","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647377":["hashtag1","hashtag2"]},{"1338647379":["hashtag1","hashtag2"]},{"1338647370":["hashtag1","hashtag2"]},{"1338647375":["hashtag1","hashtag2"]},{"1338647372":["hashtag1","hashtag2"]},{"1338647369":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647377, 1338647379, 1338647370, 1338647375, 1338647372, 1338647369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.103686571121216 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:44:32.397356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/21/image_20022025_10_21_36_10334.jpg', '/home/pi/Desktop/images/20022025/10/21/image_20022025_10_21_46_10408.jpg', '/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_16_9427.jpg', '/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_26_10335.jpg', '/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_36_10370.jpg', '/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_46_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/21/image_20022025_10_21_36_10334.jpg
/home/pi/Desktop/images/20022025/10/21/image_20022025_10_21_46_10408.jpg
/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_16_9427.jpg
/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_26_10335.jpg
/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_36_10370.jpg
/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_46_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647427","1338647424","1338647412","1338647429","1338647420","1338647417"],"photo_ids_order":["1338647412","1338647417","1338647420","1338647424","1338647427","1338647429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1f0921e40831c23670d612541a59e58.jpg","text":"TemporaryFile(/tmp/multipartBody1105537330195582689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073532955,"filename":"image_20022025_10_22_36_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5416cd5b41b5721dee0ec15c4bd26aef.jpg","text":"TemporaryFile(/tmp/multipartBody3956581652338962782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073532955,"filename":"image_20022025_10_22_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3faf5b9a3c1bff901930304e75c101b5.jpg","text":"TemporaryFile(/tmp/multipartBody4680658022566115234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073532955,"filename":"image_20022025_10_21_36_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2dad76ec4042d0c0ffdebd368bf20410.jpg","text":"TemporaryFile(/tmp/multipartBody1323099467390704406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073532955,"filename":"image_20022025_10_22_46_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/df60ebe52f3e06e6dae3713d12d9d87e.jpg","text":"TemporaryFile(/tmp/multipartBody5033498914357102080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073532955,"filename":"image_20022025_10_22_16_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ead444b8b77ce51ea1dd0522554ecf11.jpg","text":"TemporaryFile(/tmp/multipartBody8364449657151975652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073532955,"filename":"image_20022025_10_21_46_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647420","file1":"1338647417","file0":"1338647412","file4":"1338647427","file5":"1338647429","file3":"1338647424"},"map_files_photo_id_array":[{"photo_id":"1338647429","filename":"file5"},{"photo_id":"1338647420","filename":"file2"},{"photo_id":"1338647427","filename":"file4"},{"photo_id":"1338647417","filename":"file1"},{"photo_id":"1338647412","filename":"file0"},{"photo_id":"1338647424","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647427":["hashtag1","hashtag2"]},{"1338647424":["hashtag1","hashtag2"]},{"1338647412":["hashtag1","hashtag2"]},{"1338647429":["hashtag1","hashtag2"]},{"1338647420":["hashtag1","hashtag2"]},{"1338647417":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647427, 1338647424, 1338647412, 1338647429, 1338647420, 1338647417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06317734718323 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:45:32.641200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_56_10349.jpg', '/home/pi/Desktop/images/20022025/10/22/image_20022025_10_23_07_10442.jpg', '/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_16_9330.jpg', '/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_26_10375.jpg', '/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_36_9416.jpg', '/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_46_10324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/22/image_20022025_10_22_56_10349.jpg
/home/pi/Desktop/images/20022025/10/22/image_20022025_10_23_07_10442.jpg
/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_16_9330.jpg
/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_26_10375.jpg
/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_36_9416.jpg
/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_46_10324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647463","1338647466","1338647468","1338647456","1338647459","1338647453"],"photo_ids_order":["1338647453","1338647456","1338647459","1338647463","1338647466","1338647468"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d39df8f9e4b5d5d03b9b0a6a4e82e4aa.jpg","text":"TemporaryFile(/tmp/multipartBody4681879236052392582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073593192,"filename":"image_20022025_10_23_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75cd263d181016f3d6228f5d4267167b.jpg","text":"TemporaryFile(/tmp/multipartBody9171874090295857118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073593192,"filename":"image_20022025_10_23_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90140d0d02583a676d6ead7e525e975c.jpg","text":"TemporaryFile(/tmp/multipartBody2874877793182288331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073593192,"filename":"image_20022025_10_23_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca40630b73ac9c7ebdeab8abd1f9c90f.jpg","text":"TemporaryFile(/tmp/multipartBody6523722364253977463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073593192,"filename":"image_20022025_10_23_07_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b3feaa2b67f793e07bd148e53c35f0fa.jpg","text":"TemporaryFile(/tmp/multipartBody3197269366563053311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073593192,"filename":"image_20022025_10_23_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/859b8ca301d902a75c05387dd8fea4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7918095610890815118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073593192,"filename":"image_20022025_10_22_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647459","file1":"1338647456","file0":"1338647453","file4":"1338647466","file5":"1338647468","file3":"1338647463"},"map_files_photo_id_array":[{"photo_id":"1338647468","filename":"file5"},{"photo_id":"1338647459","filename":"file2"},{"photo_id":"1338647466","filename":"file4"},{"photo_id":"1338647456","filename":"file1"},{"photo_id":"1338647453","filename":"file0"},{"photo_id":"1338647463","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647463":["hashtag1","hashtag2"]},{"1338647466":["hashtag1","hashtag2"]},{"1338647468":["hashtag1","hashtag2"]},{"1338647456":["hashtag1","hashtag2"]},{"1338647459":["hashtag1","hashtag2"]},{"1338647453":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647463, 1338647466, 1338647468, 1338647456, 1338647459, 1338647453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.727600574493408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:46:32.819667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_56_10342.jpg', '/home/pi/Desktop/images/20022025/10/23/image_20022025_10_24_06_9409.jpg', '/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_16_10343.jpg', '/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_26_9455.jpg', '/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_36_10427.jpg', '/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_46_10321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/23/image_20022025_10_23_56_10342.jpg
/home/pi/Desktop/images/20022025/10/23/image_20022025_10_24_06_9409.jpg
/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_16_10343.jpg
/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_26_9455.jpg
/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_36_10427.jpg
/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_46_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647650","1338647647","1338647641","1338647652","1338647646","1338647655"],"photo_ids_order":["1338647641","1338647646","1338647647","1338647650","1338647652","1338647655"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/37a8fffba11689305c05872ae0b33f09.jpg","text":"TemporaryFile(/tmp/multipartBody2085202149444928299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073653379,"filename":"image_20022025_10_24_26_9455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c5d41b505d8ce8a091206a3d0781347d.jpg","text":"TemporaryFile(/tmp/multipartBody5113544598895237720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073653379,"filename":"image_20022025_10_24_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/93038bec5d0e88e981523f96e89a0ab5.jpg","text":"TemporaryFile(/tmp/multipartBody703659326407766531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073653379,"filename":"image_20022025_10_23_56_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18f5b2fc8ac2b8d838589248253bb136.jpg","text":"TemporaryFile(/tmp/multipartBody476187800711136876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073653379,"filename":"image_20022025_10_24_36_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9cbe90c89aedc9ac9d79dd0d8ae18e12.jpg","text":"TemporaryFile(/tmp/multipartBody4904353320593556247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073653379,"filename":"image_20022025_10_24_06_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0a05f6939d0e708c9123cc33e6673c2.jpg","text":"TemporaryFile(/tmp/multipartBody2451880204867798796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073653379,"filename":"image_20022025_10_24_46_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647647","file1":"1338647646","file0":"1338647641","file4":"1338647652","file5":"1338647655","file3":"1338647650"},"map_files_photo_id_array":[{"photo_id":"1338647655","filename":"file5"},{"photo_id":"1338647647","filename":"file2"},{"photo_id":"1338647652","filename":"file4"},{"photo_id":"1338647646","filename":"file1"},{"photo_id":"1338647641","filename":"file0"},{"photo_id":"1338647650","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647650":["hashtag1","hashtag2"]},{"1338647647":["hashtag1","hashtag2"]},{"1338647641":["hashtag1","hashtag2"]},{"1338647652":["hashtag1","hashtag2"]},{"1338647646":["hashtag1","hashtag2"]},{"1338647655":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647650, 1338647647, 1338647641, 1338647652, 1338647646, 1338647655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86607766151428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:47:33.030578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_56_9424.jpg', '/home/pi/Desktop/images/20022025/10/24/image_20022025_10_25_06_10408.jpg', '/home/pi/Desktop/images/20022025/10/25/image_20022025_10_25_16_9439.jpg', '/home/pi/Desktop/images/20022025/10/25/image_20022025_10_25_26_10427.jpg', '/home/pi/Desktop/images/20022025/10/25/image_20022025_10_25_46_9388.jpg', '/home/pi/Desktop/images/20022025/10/25/image_20022025_10_25_56_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/24/image_20022025_10_24_56_9424.jpg
/home/pi/Desktop/images/20022025/10/24/image_20022025_10_25_06_10408.jpg
/home/pi/Desktop/images/20022025/10/25/image_20022025_10_25_16_9439.jpg
/home/pi/Desktop/images/20022025/10/25/image_20022025_10_25_26_10427.jpg
/home/pi/Desktop/images/20022025/10/25/image_20022025_10_25_46_9388.jpg
/home/pi/Desktop/images/20022025/10/25/image_20022025_10_25_56_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647692","1338647674","1338647688","1338647676","1338647690","1338647675"],"photo_ids_order":["1338647674","1338647675","1338647676","1338647688","1338647690","1338647692"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c7fa3d7e9ab6d10a8f57b5e1d1f46eb.jpg","text":"TemporaryFile(/tmp/multipartBody3945367843381663401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073713594,"filename":"image_20022025_10_25_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f866e760e37180187b1e9365343e2a89.jpg","text":"TemporaryFile(/tmp/multipartBody4812660642290501441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073713594,"filename":"image_20022025_10_24_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3820119d9c7fe40ce611d3833f70f2b.jpg","text":"TemporaryFile(/tmp/multipartBody6060347306544256233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073713594,"filename":"image_20022025_10_25_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/77cee8d583e8bf14a2fbef9a1fb17362.jpg","text":"TemporaryFile(/tmp/multipartBody8301623281450517167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073713594,"filename":"image_20022025_10_25_16_9439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f6cc2695fb4e4edb313bf8922a4cb87.jpg","text":"TemporaryFile(/tmp/multipartBody711807052883790642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073713594,"filename":"image_20022025_10_25_46_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f1ac3ce5b8fd368130d644122cde97c.jpg","text":"TemporaryFile(/tmp/multipartBody3674637912065901223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073713594,"filename":"image_20022025_10_25_06_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647676","file1":"1338647675","file0":"1338647674","file4":"1338647690","file5":"1338647692","file3":"1338647688"},"map_files_photo_id_array":[{"photo_id":"1338647692","filename":"file5"},{"photo_id":"1338647676","filename":"file2"},{"photo_id":"1338647690","filename":"file4"},{"photo_id":"1338647675","filename":"file1"},{"photo_id":"1338647674","filename":"file0"},{"photo_id":"1338647688","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647692":["hashtag1","hashtag2"]},{"1338647674":["hashtag1","hashtag2"]},{"1338647688":["hashtag1","hashtag2"]},{"1338647676":["hashtag1","hashtag2"]},{"1338647690":["hashtag1","hashtag2"]},{"1338647675":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647692, 1338647674, 1338647688, 1338647676, 1338647690, 1338647675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57049202919006 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:48:32.070085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/26/image_20022025_10_26_16_9396.jpg', '/home/pi/Desktop/images/20022025/10/26/image_20022025_10_26_26_10344.jpg', '/home/pi/Desktop/images/20022025/10/26/image_20022025_10_26_36_9319.jpg', '/home/pi/Desktop/images/20022025/10/26/image_20022025_10_26_56_10422.jpg', '/home/pi/Desktop/images/20022025/10/26/image_20022025_10_27_06_9410.jpg', '/home/pi/Desktop/images/20022025/10/27/image_20022025_10_27_16_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/26/image_20022025_10_26_16_9396.jpg
/home/pi/Desktop/images/20022025/10/26/image_20022025_10_26_26_10344.jpg
/home/pi/Desktop/images/20022025/10/26/image_20022025_10_26_36_9319.jpg
/home/pi/Desktop/images/20022025/10/26/image_20022025_10_26_56_10422.jpg
/home/pi/Desktop/images/20022025/10/26/image_20022025_10_27_06_9410.jpg
/home/pi/Desktop/images/20022025/10/27/image_20022025_10_27_16_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647815","1338647796","1338647778","1338647798","1338647786","1338647825"],"photo_ids_order":["1338647778","1338647786","1338647796","1338647798","1338647815","1338647825"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0cabc7428508cf85e8ff97e759bd4da9.jpg","text":"TemporaryFile(/tmp/multipartBody1533605707564228591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073772633,"filename":"image_20022025_10_27_06_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/851682d72d8f2ff1412cfc6f1ba3952e.jpg","text":"TemporaryFile(/tmp/multipartBody449818111862316499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073772633,"filename":"image_20022025_10_26_36_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b9adb277ea9401e3b786115dcfe9184c.jpg","text":"TemporaryFile(/tmp/multipartBody6236785417690920752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073772633,"filename":"image_20022025_10_26_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d891a65e459122479c9d1ab5f68f8fe.jpg","text":"TemporaryFile(/tmp/multipartBody6792234235441805452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073772633,"filename":"image_20022025_10_26_56_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/efd3befd619a8e939aa330c5bf76f3b0.jpg","text":"TemporaryFile(/tmp/multipartBody8115621513816858612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073772633,"filename":"image_20022025_10_26_26_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d355227054795498a9fed43487cae863.jpg","text":"TemporaryFile(/tmp/multipartBody7039257612347969498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073772633,"filename":"image_20022025_10_27_16_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647796","file1":"1338647786","file0":"1338647778","file4":"1338647815","file5":"1338647825","file3":"1338647798"},"map_files_photo_id_array":[{"photo_id":"1338647825","filename":"file5"},{"photo_id":"1338647796","filename":"file2"},{"photo_id":"1338647815","filename":"file4"},{"photo_id":"1338647786","filename":"file1"},{"photo_id":"1338647778","filename":"file0"},{"photo_id":"1338647798","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647815":["hashtag1","hashtag2"]},{"1338647796":["hashtag1","hashtag2"]},{"1338647778":["hashtag1","hashtag2"]},{"1338647798":["hashtag1","hashtag2"]},{"1338647786":["hashtag1","hashtag2"]},{"1338647825":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647815, 1338647796, 1338647778, 1338647798, 1338647786, 1338647825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81141424179077 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:49:32.376341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/27/image_20022025_10_27_26_10475.jpg', '/home/pi/Desktop/images/20022025/10/27/image_20022025_10_27_36_9351.jpg', '/home/pi/Desktop/images/20022025/10/27/image_20022025_10_27_46_10322.jpg', '/home/pi/Desktop/images/20022025/10/27/image_20022025_10_28_06_9336.jpg', '/home/pi/Desktop/images/20022025/10/28/image_20022025_10_28_16_10338.jpg', '/home/pi/Desktop/images/20022025/10/28/image_20022025_10_28_26_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/27/image_20022025_10_27_26_10475.jpg
/home/pi/Desktop/images/20022025/10/27/image_20022025_10_27_36_9351.jpg
/home/pi/Desktop/images/20022025/10/27/image_20022025_10_27_46_10322.jpg
/home/pi/Desktop/images/20022025/10/27/image_20022025_10_28_06_9336.jpg
/home/pi/Desktop/images/20022025/10/28/image_20022025_10_28_16_10338.jpg
/home/pi/Desktop/images/20022025/10/28/image_20022025_10_28_26_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647962","1338647898","1338647910","1338647901","1338647915","1338647918"],"photo_ids_order":["1338647898","1338647901","1338647910","1338647915","1338647918","1338647962"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/944274a9e0efecd8b2b426d34378e81a.jpg","text":"TemporaryFile(/tmp/multipartBody643724109000856009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073832919,"filename":"image_20022025_10_28_26_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a77e25bdb54ac5be190d984189fc241.jpg","text":"TemporaryFile(/tmp/multipartBody7295106968430085756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073832919,"filename":"image_20022025_10_27_26_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b6ab669da657efa597259f4ce18c47e4.jpg","text":"TemporaryFile(/tmp/multipartBody2480612695289169586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073832919,"filename":"image_20022025_10_27_46_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbb5b32664fae990a5863b2bb39cec1f.jpg","text":"TemporaryFile(/tmp/multipartBody3748875815137044098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073832919,"filename":"image_20022025_10_27_36_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c57026d8dccb0b22c1eaba87a912223.jpg","text":"TemporaryFile(/tmp/multipartBody1242573013978688511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073832919,"filename":"image_20022025_10_28_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e4380a8dc97eb5ad056adba6fab4b265.jpg","text":"TemporaryFile(/tmp/multipartBody4554526427008014830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073832919,"filename":"image_20022025_10_28_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338647910","file1":"1338647901","file0":"1338647898","file4":"1338647918","file5":"1338647962","file3":"1338647915"},"map_files_photo_id_array":[{"photo_id":"1338647962","filename":"file5"},{"photo_id":"1338647910","filename":"file2"},{"photo_id":"1338647918","filename":"file4"},{"photo_id":"1338647901","filename":"file1"},{"photo_id":"1338647898","filename":"file0"},{"photo_id":"1338647915","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647962":["hashtag1","hashtag2"]},{"1338647898":["hashtag1","hashtag2"]},{"1338647910":["hashtag1","hashtag2"]},{"1338647901":["hashtag1","hashtag2"]},{"1338647915":["hashtag1","hashtag2"]},{"1338647918":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647962, 1338647898, 1338647910, 1338647901, 1338647915, 1338647918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.804646015167236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:50:32.613545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/28/image_20022025_10_28_36_10369.jpg', '/home/pi/Desktop/images/20022025/10/28/image_20022025_10_28_56_9328.jpg', '/home/pi/Desktop/images/20022025/10/28/image_20022025_10_29_06_10333.jpg', '/home/pi/Desktop/images/20022025/10/29/image_20022025_10_29_36_10334.jpg', '/home/pi/Desktop/images/20022025/10/29/image_20022025_10_29_46_10372.jpg', '/home/pi/Desktop/images/20022025/10/29/image_20022025_10_29_56_9450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/28/image_20022025_10_28_36_10369.jpg
/home/pi/Desktop/images/20022025/10/28/image_20022025_10_28_56_9328.jpg
/home/pi/Desktop/images/20022025/10/28/image_20022025_10_29_06_10333.jpg
/home/pi/Desktop/images/20022025/10/29/image_20022025_10_29_36_10334.jpg
/home/pi/Desktop/images/20022025/10/29/image_20022025_10_29_46_10372.jpg
/home/pi/Desktop/images/20022025/10/29/image_20022025_10_29_56_9450.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338647983","1338648016","1338647988","1338648003","1338648014","1338648011"],"photo_ids_order":["1338647983","1338647988","1338648003","1338648011","1338648014","1338648016"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/17e0de0b1b17a538afee88209f064024.jpg","text":"TemporaryFile(/tmp/multipartBody6257144780102974598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073893181,"filename":"image_20022025_10_28_36_10369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4262464239331866d788a72b5ed41a6.jpg","text":"TemporaryFile(/tmp/multipartBody9158934540794126621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073893181,"filename":"image_20022025_10_29_56_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f91a2fd05fe5024253a7f7746eaab162.jpg","text":"TemporaryFile(/tmp/multipartBody7946820324532479146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073893181,"filename":"image_20022025_10_28_56_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9986e7d676557e4c52dfd20a92d7ec92.jpg","text":"TemporaryFile(/tmp/multipartBody6991738664823898793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073893181,"filename":"image_20022025_10_29_06_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/059c04d93655fcd69fc2f817aa6d78f8.jpg","text":"TemporaryFile(/tmp/multipartBody6115277998463126632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073893181,"filename":"image_20022025_10_29_46_10372.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e61c8f5ea065790d9952547a4b69583.jpg","text":"TemporaryFile(/tmp/multipartBody7480857043459012817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073893181,"filename":"image_20022025_10_29_36_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338648003","file1":"1338647988","file0":"1338647983","file4":"1338648014","file5":"1338648016","file3":"1338648011"},"map_files_photo_id_array":[{"photo_id":"1338648016","filename":"file5"},{"photo_id":"1338648003","filename":"file2"},{"photo_id":"1338648014","filename":"file4"},{"photo_id":"1338647988","filename":"file1"},{"photo_id":"1338647983","filename":"file0"},{"photo_id":"1338648011","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338647983":["hashtag1","hashtag2"]},{"1338648016":["hashtag1","hashtag2"]},{"1338647988":["hashtag1","hashtag2"]},{"1338648003":["hashtag1","hashtag2"]},{"1338648014":["hashtag1","hashtag2"]},{"1338648011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338647983, 1338648016, 1338647988, 1338648003, 1338648014, 1338648011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.687377214431763 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:51:32.697578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/29/image_20022025_10_30_06_10341.jpg', '/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_16_9460.jpg', '/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_26_10328.jpg', '/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_36_10346.jpg', '/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_46_9399.jpg', '/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_56_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/29/image_20022025_10_30_06_10341.jpg
/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_16_9460.jpg
/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_26_10328.jpg
/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_36_10346.jpg
/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_46_9399.jpg
/home/pi/Desktop/images/20022025/10/30/image_20022025_10_30_56_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338648052","1338648046","1338648054","1338648048","1338648050","1338648041"],"photo_ids_order":["1338648041","1338648046","1338648048","1338648050","1338648052","1338648054"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b02be2556f9c0dae71a2fd6e72800738.jpg","text":"TemporaryFile(/tmp/multipartBody246328470107474439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073953238,"filename":"image_20022025_10_30_46_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68b548f624c7d82014697dcbde0bc644.jpg","text":"TemporaryFile(/tmp/multipartBody8108848263548628102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073953238,"filename":"image_20022025_10_30_16_9460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cf183f4ddba2c690ed929347a8fd4d2b.jpg","text":"TemporaryFile(/tmp/multipartBody8137872541041292284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073953238,"filename":"image_20022025_10_30_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7c4391318f26505b8e2b96832a898505.jpg","text":"TemporaryFile(/tmp/multipartBody7601081103456786556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073953238,"filename":"image_20022025_10_30_26_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e9d70f3e1b78102f1a2e029ed1d297f5.jpg","text":"TemporaryFile(/tmp/multipartBody719055263233811507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073953238,"filename":"image_20022025_10_30_36_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd8415e5dc2eebabef08186fb4e2e886.jpg","text":"TemporaryFile(/tmp/multipartBody2425837700741908929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740073953238,"filename":"image_20022025_10_30_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338648048","file1":"1338648046","file0":"1338648041","file4":"1338648052","file5":"1338648054","file3":"1338648050"},"map_files_photo_id_array":[{"photo_id":"1338648054","filename":"file5"},{"photo_id":"1338648048","filename":"file2"},{"photo_id":"1338648052","filename":"file4"},{"photo_id":"1338648046","filename":"file1"},{"photo_id":"1338648041","filename":"file0"},{"photo_id":"1338648050","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338648052":["hashtag1","hashtag2"]},{"1338648046":["hashtag1","hashtag2"]},{"1338648054":["hashtag1","hashtag2"]},{"1338648048":["hashtag1","hashtag2"]},{"1338648050":["hashtag1","hashtag2"]},{"1338648041":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338648052, 1338648046, 1338648054, 1338648048, 1338648050, 1338648041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61103177070618 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:52:32.807765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/31/image_20022025_10_31_16_9394.jpg', '/home/pi/Desktop/images/20022025/10/31/image_20022025_10_31_26_10328.jpg', '/home/pi/Desktop/images/20022025/10/31/image_20022025_10_31_36_9533.jpg', '/home/pi/Desktop/images/20022025/10/31/image_20022025_10_31_46_10338.jpg', '/home/pi/Desktop/images/20022025/10/31/image_20022025_10_32_06_9335.jpg', '/home/pi/Desktop/images/20022025/10/32/image_20022025_10_32_26_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/31/image_20022025_10_31_16_9394.jpg
/home/pi/Desktop/images/20022025/10/31/image_20022025_10_31_26_10328.jpg
/home/pi/Desktop/images/20022025/10/31/image_20022025_10_31_36_9533.jpg
/home/pi/Desktop/images/20022025/10/31/image_20022025_10_31_46_10338.jpg
/home/pi/Desktop/images/20022025/10/31/image_20022025_10_32_06_9335.jpg
/home/pi/Desktop/images/20022025/10/32/image_20022025_10_32_26_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338648084","1338648081","1338648069","1338648074","1338648076","1338648079"],"photo_ids_order":["1338648069","1338648074","1338648076","1338648079","1338648081","1338648084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d95a30ad7ec67c9dd17f998554939a9f.jpg","text":"TemporaryFile(/tmp/multipartBody5560089638609364576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074013367,"filename":"image_20022025_10_32_26_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8267786a98cb6c64642c287b126987df.jpg","text":"TemporaryFile(/tmp/multipartBody994775086596888841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074013367,"filename":"image_20022025_10_32_06_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f3022bbd5730fb44736df70941b678d9.jpg","text":"TemporaryFile(/tmp/multipartBody7628141970812688362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074013367,"filename":"image_20022025_10_31_16_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e44d6ffe3a24e28547bcef4431f74851.jpg","text":"TemporaryFile(/tmp/multipartBody1910485959164374038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074013367,"filename":"image_20022025_10_31_26_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/419b8e6e6a46130bcf17dc8bb70a9624.jpg","text":"TemporaryFile(/tmp/multipartBody8030112499482715817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074013367,"filename":"image_20022025_10_31_36_9533.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0d457b3ecaca2167ce3b52b58f11ea7.jpg","text":"TemporaryFile(/tmp/multipartBody1061097128237623584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074013367,"filename":"image_20022025_10_31_46_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338648076","file1":"1338648074","file0":"1338648069","file4":"1338648081","file5":"1338648084","file3":"1338648079"},"map_files_photo_id_array":[{"photo_id":"1338648084","filename":"file5"},{"photo_id":"1338648076","filename":"file2"},{"photo_id":"1338648081","filename":"file4"},{"photo_id":"1338648074","filename":"file1"},{"photo_id":"1338648069","filename":"file0"},{"photo_id":"1338648079","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338648084":["hashtag1","hashtag2"]},{"1338648081":["hashtag1","hashtag2"]},{"1338648069":["hashtag1","hashtag2"]},{"1338648074":["hashtag1","hashtag2"]},{"1338648076":["hashtag1","hashtag2"]},{"1338648079":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338648084, 1338648081, 1338648069, 1338648074, 1338648076, 1338648079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62064790725708 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:53:33.037341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/32/image_20022025_10_32_36_10338.jpg', '/home/pi/Desktop/images/20022025/10/32/image_20022025_10_32_46_10336.jpg', '/home/pi/Desktop/images/20022025/10/32/image_20022025_10_32_56_9354.jpg', '/home/pi/Desktop/images/20022025/10/32/image_20022025_10_33_06_10334.jpg', '/home/pi/Desktop/images/20022025/10/33/image_20022025_10_33_16_10338.jpg', '/home/pi/Desktop/images/20022025/10/33/image_20022025_10_33_26_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/32/image_20022025_10_32_36_10338.jpg
/home/pi/Desktop/images/20022025/10/32/image_20022025_10_32_46_10336.jpg
/home/pi/Desktop/images/20022025/10/32/image_20022025_10_32_56_9354.jpg
/home/pi/Desktop/images/20022025/10/32/image_20022025_10_33_06_10334.jpg
/home/pi/Desktop/images/20022025/10/33/image_20022025_10_33_16_10338.jpg
/home/pi/Desktop/images/20022025/10/33/image_20022025_10_33_26_9435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338648103","1338648093","1338648095","1338648092","1338648091","1338648097"],"photo_ids_order":["1338648091","1338648092","1338648093","1338648095","1338648097","1338648103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dea20f1c6290600fcdf1926e2a3a58cb.jpg","text":"TemporaryFile(/tmp/multipartBody4500855900111189619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074073608,"filename":"image_20022025_10_33_26_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c5f3175441672fec66990fde38d6b20c.jpg","text":"TemporaryFile(/tmp/multipartBody1610867808834214990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074073608,"filename":"image_20022025_10_32_56_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6567c837b8732d4d88576516dafa7a42.jpg","text":"TemporaryFile(/tmp/multipartBody8402134529142773610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074073608,"filename":"image_20022025_10_33_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d14688a1bd11e09b7e6ed38b87687513.jpg","text":"TemporaryFile(/tmp/multipartBody2687514223382249402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074073608,"filename":"image_20022025_10_32_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c236b7c2d3e1c1aa541d4c32ec191798.jpg","text":"TemporaryFile(/tmp/multipartBody2188500888078255670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074073608,"filename":"image_20022025_10_32_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee1a3974d86acd74eb4d2fb106b86d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1761833810276135295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074073608,"filename":"image_20022025_10_33_16_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338648093","file1":"1338648092","file0":"1338648091","file4":"1338648097","file5":"1338648103","file3":"1338648095"},"map_files_photo_id_array":[{"photo_id":"1338648103","filename":"file5"},{"photo_id":"1338648093","filename":"file2"},{"photo_id":"1338648097","filename":"file4"},{"photo_id":"1338648092","filename":"file1"},{"photo_id":"1338648091","filename":"file0"},{"photo_id":"1338648095","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338648103":["hashtag1","hashtag2"]},{"1338648093":["hashtag1","hashtag2"]},{"1338648095":["hashtag1","hashtag2"]},{"1338648092":["hashtag1","hashtag2"]},{"1338648091":["hashtag1","hashtag2"]},{"1338648097":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338648103, 1338648093, 1338648095, 1338648092, 1338648091, 1338648097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23552203178406 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:54:32.159004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/33/image_20022025_10_33_46_10406.jpg', '/home/pi/Desktop/images/20022025/10/33/image_20022025_10_34_06_10388.jpg', '/home/pi/Desktop/images/20022025/10/34/image_20022025_10_34_16_9420.jpg', '/home/pi/Desktop/images/20022025/10/34/image_20022025_10_34_26_10337.jpg', '/home/pi/Desktop/images/20022025/10/34/image_20022025_10_34_36_10471.jpg', '/home/pi/Desktop/images/20022025/10/34/image_20022025_10_34_46_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/33/image_20022025_10_33_46_10406.jpg
/home/pi/Desktop/images/20022025/10/33/image_20022025_10_34_06_10388.jpg
/home/pi/Desktop/images/20022025/10/34/image_20022025_10_34_16_9420.jpg
/home/pi/Desktop/images/20022025/10/34/image_20022025_10_34_26_10337.jpg
/home/pi/Desktop/images/20022025/10/34/image_20022025_10_34_36_10471.jpg
/home/pi/Desktop/images/20022025/10/34/image_20022025_10_34_46_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338648430","1338648369","1338648378","1338648452","1338648359","1338648349"],"photo_ids_order":["1338648349","1338648359","1338648369","1338648378","1338648430","1338648452"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91c7120c19c38b2e9c97d922262226d8.jpg","text":"TemporaryFile(/tmp/multipartBody3443769999381729219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074132759,"filename":"image_20022025_10_34_36_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6dc57c7905fd1820deda895e07914cb.jpg","text":"TemporaryFile(/tmp/multipartBody59588922430476948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074132759,"filename":"image_20022025_10_34_16_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8c4065d06f0a89262dd067d8d01dc1cc.jpg","text":"TemporaryFile(/tmp/multipartBody9029284078309282835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074132759,"filename":"image_20022025_10_34_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3afa43dd2f46e0f966d6075bd22eed5a.jpg","text":"TemporaryFile(/tmp/multipartBody46619904401751589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074132759,"filename":"image_20022025_10_34_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0fbe9d32446c7120e7884ec698b0aaac.jpg","text":"TemporaryFile(/tmp/multipartBody5596647869196458671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074132759,"filename":"image_20022025_10_34_06_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88eaba3a9aea9bf31c72e7d06dc05f4d.jpg","text":"TemporaryFile(/tmp/multipartBody1031041660090981104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074132759,"filename":"image_20022025_10_33_46_10406.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338648369","file1":"1338648359","file0":"1338648349","file4":"1338648430","file5":"1338648452","file3":"1338648378"},"map_files_photo_id_array":[{"photo_id":"1338648452","filename":"file5"},{"photo_id":"1338648369","filename":"file2"},{"photo_id":"1338648430","filename":"file4"},{"photo_id":"1338648359","filename":"file1"},{"photo_id":"1338648349","filename":"file0"},{"photo_id":"1338648378","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338648430":["hashtag1","hashtag2"]},{"1338648369":["hashtag1","hashtag2"]},{"1338648378":["hashtag1","hashtag2"]},{"1338648452":["hashtag1","hashtag2"]},{"1338648359":["hashtag1","hashtag2"]},{"1338648349":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338648430, 1338648369, 1338648378, 1338648452, 1338648359, 1338648349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.378700494766235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:55:32.424423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/34/image_20022025_10_35_06_9414.jpg', '/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_16_10331.jpg', '/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_26_10354.jpg', '/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_36_9440.jpg', '/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_46_10331.jpg', '/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_56_10417.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/34/image_20022025_10_35_06_9414.jpg
/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_16_10331.jpg
/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_26_10354.jpg
/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_36_9440.jpg
/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_46_10331.jpg
/home/pi/Desktop/images/20022025/10/35/image_20022025_10_35_56_10417.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338648919","1338648805","1338649071","1338649251","1338649014","1338649354"],"photo_ids_order":["1338648805","1338648919","1338649014","1338649071","1338649251","1338649354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d05ab465c38c9341bfe7953d91d1aa46.jpg","text":"TemporaryFile(/tmp/multipartBody4446656059275929048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074193000,"filename":"image_20022025_10_35_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48cd0e71347b42eb037fcf5f3c6032c6.jpg","text":"TemporaryFile(/tmp/multipartBody4576208377815473435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074193000,"filename":"image_20022025_10_35_06_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/38ae462a87ffa187e2fe9c7b5c0f1274.jpg","text":"TemporaryFile(/tmp/multipartBody2038825628980930203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074193000,"filename":"image_20022025_10_35_36_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/effaa14e2f84aefabee4fe5e8bad7b61.jpg","text":"TemporaryFile(/tmp/multipartBody8930045058095868016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074193000,"filename":"image_20022025_10_35_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de100bf2939f5919814169e627a76d11.jpg","text":"TemporaryFile(/tmp/multipartBody6652519255226997993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074193000,"filename":"image_20022025_10_35_26_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7757bf4549d1fcc930b633756bc618a1.jpg","text":"TemporaryFile(/tmp/multipartBody4365931792044826870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074193000,"filename":"image_20022025_10_35_56_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338649014","file1":"1338648919","file0":"1338648805","file4":"1338649251","file5":"1338649354","file3":"1338649071"},"map_files_photo_id_array":[{"photo_id":"1338649354","filename":"file5"},{"photo_id":"1338649014","filename":"file2"},{"photo_id":"1338649251","filename":"file4"},{"photo_id":"1338648919","filename":"file1"},{"photo_id":"1338648805","filename":"file0"},{"photo_id":"1338649071","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338648919":["hashtag1","hashtag2"]},{"1338648805":["hashtag1","hashtag2"]},{"1338649071":["hashtag1","hashtag2"]},{"1338649251":["hashtag1","hashtag2"]},{"1338649014":["hashtag1","hashtag2"]},{"1338649354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338648919, 1338648805, 1338649071, 1338649251, 1338649014, 1338649354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.217472314834595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:56:32.505794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/36/image_20022025_10_36_16_10344.jpg', '/home/pi/Desktop/images/20022025/10/36/image_20022025_10_36_36_10784.jpg', '/home/pi/Desktop/images/20022025/10/36/image_20022025_10_36_46_9403.jpg', '/home/pi/Desktop/images/20022025/10/36/image_20022025_10_36_56_10425.jpg', '/home/pi/Desktop/images/20022025/10/36/image_20022025_10_37_06_9456.jpg', '/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_26_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/36/image_20022025_10_36_16_10344.jpg
/home/pi/Desktop/images/20022025/10/36/image_20022025_10_36_36_10784.jpg
/home/pi/Desktop/images/20022025/10/36/image_20022025_10_36_46_9403.jpg
/home/pi/Desktop/images/20022025/10/36/image_20022025_10_36_56_10425.jpg
/home/pi/Desktop/images/20022025/10/36/image_20022025_10_37_06_9456.jpg
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_26_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338649482","1338649487","1338649489","1338649480","1338649483","1338649485"],"photo_ids_order":["1338649480","1338649482","1338649483","1338649485","1338649487","1338649489"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1f82d2da07ecb7999e69250b53ab81e.jpg","text":"TemporaryFile(/tmp/multipartBody5934120612782808420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074253075,"filename":"image_20022025_10_36_36_10784.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0f6d3d97659c3f79ad2bbfb37edbecc.jpg","text":"TemporaryFile(/tmp/multipartBody946586297234067841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074253075,"filename":"image_20022025_10_37_06_9456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1c5725398ac2ccf0b65e8d755d39d7fc.jpg","text":"TemporaryFile(/tmp/multipartBody8102898643358204861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074253075,"filename":"image_20022025_10_37_26_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a64644052ea827fa1ea90771b0032cd.jpg","text":"TemporaryFile(/tmp/multipartBody4308071977321084597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074253075,"filename":"image_20022025_10_36_16_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d460b3a28a7a1a7ab2a97f5b05b1c2d.jpg","text":"TemporaryFile(/tmp/multipartBody6497073092093299435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074253075,"filename":"image_20022025_10_36_46_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46c6a196d13148e84637af586a56b4a2.jpg","text":"TemporaryFile(/tmp/multipartBody8550724473108116818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074253075,"filename":"image_20022025_10_36_56_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338649483","file1":"1338649482","file0":"1338649480","file4":"1338649487","file5":"1338649489","file3":"1338649485"},"map_files_photo_id_array":[{"photo_id":"1338649489","filename":"file5"},{"photo_id":"1338649483","filename":"file2"},{"photo_id":"1338649487","filename":"file4"},{"photo_id":"1338649482","filename":"file1"},{"photo_id":"1338649480","filename":"file0"},{"photo_id":"1338649485","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338649482":["hashtag1","hashtag2"]},{"1338649487":["hashtag1","hashtag2"]},{"1338649489":["hashtag1","hashtag2"]},{"1338649480":["hashtag1","hashtag2"]},{"1338649483":["hashtag1","hashtag2"]},{"1338649485":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338649482, 1338649487, 1338649489, 1338649480, 1338649483, 1338649485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.154226064682007 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:57:32.739063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_36_9312.jpg', '/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_46_10311.jpg', '/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_56_10352.jpg', '/home/pi/Desktop/images/20022025/10/37/image_20022025_10_38_06_9401.jpg', '/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_16_10352.jpg', '/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_36_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_36_9312.jpg
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_46_10311.jpg
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_56_10352.jpg
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_38_06_9401.jpg
/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_16_10352.jpg
/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_36_9339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 18:59:04.059614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_36_9312.jpg', '/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_46_10311.jpg', '/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_56_10352.jpg', '/home/pi/Desktop/images/20022025/10/37/image_20022025_10_38_06_9401.jpg', '/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_16_10352.jpg', '/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_36_9339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_36_9312.jpg
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_46_10311.jpg
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_37_56_10352.jpg
/home/pi/Desktop/images/20022025/10/37/image_20022025_10_38_06_9401.jpg
/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_16_10352.jpg
/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_36_9339.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":["1338650154","1338650067","1338650133","1338650049","1338650161","1338650158"],"photo_ids_order":["1338650049","1338650067","1338650133","1338650154","1338650158","1338650161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c5ef4512edb2310bbcc3925d899aaff.jpg","text":"TemporaryFile(/tmp/multipartBody8053108659509797337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074404673,"filename":"image_20022025_10_38_06_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/018ec0ebacd25d47031dcea8cedcca8a.jpg","text":"TemporaryFile(/tmp/multipartBody9210557890629955677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074404673,"filename":"image_20022025_10_37_46_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e39c6e689be952061fa3c0a445003fc4.jpg","text":"TemporaryFile(/tmp/multipartBody265468416372708020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074404673,"filename":"image_20022025_10_37_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0facd2a1e8fa74188875e04b6d4cb5a0.jpg","text":"TemporaryFile(/tmp/multipartBody114330368032464960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074404673,"filename":"image_20022025_10_37_36_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ef84f90261c7667c211aa4000418c55.jpg","text":"TemporaryFile(/tmp/multipartBody3009520510386832924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074404673,"filename":"image_20022025_10_38_36_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/141f49a04afaef0472bc5dd624745a59.jpg","text":"TemporaryFile(/tmp/multipartBody6290059840394070219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074404673,"filename":"image_20022025_10_38_16_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338650133","file1":"1338650067","file0":"1338650049","file4":"1338650158","file5":"1338650161","file3":"1338650154"},"map_files_photo_id_array":[{"photo_id":"1338650161","filename":"file5"},{"photo_id":"1338650133","filename":"file2"},{"photo_id":"1338650158","filename":"file4"},{"photo_id":"1338650067","filename":"file1"},{"photo_id":"1338650049","filename":"file0"},{"photo_id":"1338650154","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338650154":["hashtag1","hashtag2"]},{"1338650067":["hashtag1","hashtag2"]},{"1338650133":["hashtag1","hashtag2"]},{"1338650049":["hashtag1","hashtag2"]},{"1338650161":["hashtag1","hashtag2"]},{"1338650158":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338650154, 1338650067, 1338650133, 1338650049, 1338650161, 1338650158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.46455407142639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 18:59:52.354757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_46_10420.jpg', '/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_56_9347.jpg', '/home/pi/Desktop/images/20022025/10/38/image_20022025_10_39_06_10325.jpg', '/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_16_10338.jpg', '/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_26_9465.jpg', '/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_36_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_46_10420.jpg
/home/pi/Desktop/images/20022025/10/38/image_20022025_10_38_56_9347.jpg
/home/pi/Desktop/images/20022025/10/38/image_20022025_10_39_06_10325.jpg
/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_16_10338.jpg
/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_26_9465.jpg
/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_36_10348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338650425","1338650397","1338650329","1338650268","1338650454","1338650355"],"photo_ids_order":["1338650268","1338650329","1338650355","1338650397","1338650425","1338650454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac9002d1db32b33b376b2952bc5a57b8.jpg","text":"TemporaryFile(/tmp/multipartBody3522025966481576028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074452938,"filename":"image_20022025_10_39_26_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00058e8b9b7a84fd3f260d5c05aa2dec.jpg","text":"TemporaryFile(/tmp/multipartBody6771579543235542145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074452938,"filename":"image_20022025_10_39_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bf94c60748848d6d6e4ed27672dd4a2.jpg","text":"TemporaryFile(/tmp/multipartBody1116248827680258076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074452938,"filename":"image_20022025_10_38_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6cf94d894cb2e3acd27a3761f3c4ce68.jpg","text":"TemporaryFile(/tmp/multipartBody6708786779088678333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074452938,"filename":"image_20022025_10_38_46_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3128d623a78a3991a5ac7d096652b368.jpg","text":"TemporaryFile(/tmp/multipartBody7361739240523025835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074452938,"filename":"image_20022025_10_39_36_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a5b20d74a8f73210da1ee28974d0c421.jpg","text":"TemporaryFile(/tmp/multipartBody8434651495024775364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074452938,"filename":"image_20022025_10_39_06_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338650355","file1":"1338650329","file0":"1338650268","file4":"1338650425","file5":"1338650454","file3":"1338650397"},"map_files_photo_id_array":[{"photo_id":"1338650454","filename":"file5"},{"photo_id":"1338650355","filename":"file2"},{"photo_id":"1338650425","filename":"file4"},{"photo_id":"1338650329","filename":"file1"},{"photo_id":"1338650268","filename":"file0"},{"photo_id":"1338650397","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338650425":["hashtag1","hashtag2"]},{"1338650397":["hashtag1","hashtag2"]},{"1338650329":["hashtag1","hashtag2"]},{"1338650268":["hashtag1","hashtag2"]},{"1338650454":["hashtag1","hashtag2"]},{"1338650355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338650425, 1338650397, 1338650329, 1338650268, 1338650454, 1338650355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68765592575073 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:00:32.476560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_46_9469.jpg', '/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_56_10338.jpg', '/home/pi/Desktop/images/20022025/10/39/image_20022025_10_40_06_10330.jpg', '/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_16_9389.jpg', '/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_26_10334.jpg', '/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_36_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_46_9469.jpg
/home/pi/Desktop/images/20022025/10/39/image_20022025_10_39_56_10338.jpg
/home/pi/Desktop/images/20022025/10/39/image_20022025_10_40_06_10330.jpg
/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_16_9389.jpg
/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_26_10334.jpg
/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_36_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338650716","1338650512","1338650608","1338650670","1338650544","1338650802"],"photo_ids_order":["1338650512","1338650544","1338650608","1338650670","1338650716","1338650802"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b13eeea5f753ddd87024a8a121eadb95.jpg","text":"TemporaryFile(/tmp/multipartBody4079087446055540653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074493036,"filename":"image_20022025_10_40_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2d866d7eee6d4c33d31f0a258213857.jpg","text":"TemporaryFile(/tmp/multipartBody3842496506924553498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074493036,"filename":"image_20022025_10_39_46_9469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3eef1902a75dbbfce72e1fcf79207ae6.jpg","text":"TemporaryFile(/tmp/multipartBody6980659949442224602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074493036,"filename":"image_20022025_10_40_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/973a8bd937b88f0021ddad054b969e36.jpg","text":"TemporaryFile(/tmp/multipartBody3115968693647477295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074493036,"filename":"image_20022025_10_40_16_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4ac9a7cb11cf5d90e4fe8d2d59681f8.jpg","text":"TemporaryFile(/tmp/multipartBody302123231730451862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074493036,"filename":"image_20022025_10_39_56_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe54cbae2a5c342f6109f5030bfa13af.jpg","text":"TemporaryFile(/tmp/multipartBody3610949372118608903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074493036,"filename":"image_20022025_10_40_36_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338650608","file1":"1338650544","file0":"1338650512","file4":"1338650716","file5":"1338650802","file3":"1338650670"},"map_files_photo_id_array":[{"photo_id":"1338650802","filename":"file5"},{"photo_id":"1338650608","filename":"file2"},{"photo_id":"1338650716","filename":"file4"},{"photo_id":"1338650544","filename":"file1"},{"photo_id":"1338650512","filename":"file0"},{"photo_id":"1338650670","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338650716":["hashtag1","hashtag2"]},{"1338650512":["hashtag1","hashtag2"]},{"1338650608":["hashtag1","hashtag2"]},{"1338650670":["hashtag1","hashtag2"]},{"1338650544":["hashtag1","hashtag2"]},{"1338650802":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338650716, 1338650512, 1338650608, 1338650670, 1338650544, 1338650802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93531680107117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:01:32.648462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_46_9322.jpg', '/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_56_10340.jpg', '/home/pi/Desktop/images/20022025/10/41/image_20022025_10_41_26_10345.jpg', '/home/pi/Desktop/images/20022025/10/41/image_20022025_10_41_36_10340.jpg', '/home/pi/Desktop/images/20022025/10/41/image_20022025_10_41_46_9366.jpg', '/home/pi/Desktop/images/20022025/10/41/image_20022025_10_41_56_10334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_46_9322.jpg
/home/pi/Desktop/images/20022025/10/40/image_20022025_10_40_56_10340.jpg
/home/pi/Desktop/images/20022025/10/41/image_20022025_10_41_26_10345.jpg
/home/pi/Desktop/images/20022025/10/41/image_20022025_10_41_36_10340.jpg
/home/pi/Desktop/images/20022025/10/41/image_20022025_10_41_46_9366.jpg
/home/pi/Desktop/images/20022025/10/41/image_20022025_10_41_56_10334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338651003","1338650972","1338650969","1338651067","1338650980","1338650983"],"photo_ids_order":["1338650969","1338650972","1338650980","1338650983","1338651003","1338651067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75c00461f0df991d51a773ff1c9ec115.jpg","text":"TemporaryFile(/tmp/multipartBody1226855383288089349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074553196,"filename":"image_20022025_10_41_46_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f1c8b3736f2d9d0675c7fe598ea81ac.jpg","text":"TemporaryFile(/tmp/multipartBody5328676605245295970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074553196,"filename":"image_20022025_10_40_56_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3884fd798ad3e6739cadb604fbd4b9ab.jpg","text":"TemporaryFile(/tmp/multipartBody342221083025518014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074553196,"filename":"image_20022025_10_40_46_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ceb26c67014358158ece100a0c9facc.jpg","text":"TemporaryFile(/tmp/multipartBody8016964494431086876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074553196,"filename":"image_20022025_10_41_56_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2603cab0fcc16cd25d985559dd987664.jpg","text":"TemporaryFile(/tmp/multipartBody3779143385261767222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074553196,"filename":"image_20022025_10_41_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13db54f0c4643edc119404417ef8542f.jpg","text":"TemporaryFile(/tmp/multipartBody84890286211174992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074553196,"filename":"image_20022025_10_41_36_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338650980","file1":"1338650972","file0":"1338650969","file4":"1338651003","file5":"1338651067","file3":"1338650983"},"map_files_photo_id_array":[{"photo_id":"1338651067","filename":"file5"},{"photo_id":"1338650980","filename":"file2"},{"photo_id":"1338651003","filename":"file4"},{"photo_id":"1338650972","filename":"file1"},{"photo_id":"1338650969","filename":"file0"},{"photo_id":"1338650983","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338651003":["hashtag1","hashtag2"]},{"1338650972":["hashtag1","hashtag2"]},{"1338650969":["hashtag1","hashtag2"]},{"1338651067":["hashtag1","hashtag2"]},{"1338650980":["hashtag1","hashtag2"]},{"1338650983":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338651003, 1338650972, 1338650969, 1338651067, 1338650980, 1338650983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67804503440857 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:02:32.986645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/41/image_20022025_10_42_07_10409.jpg', '/home/pi/Desktop/images/20022025/10/42/image_20022025_10_42_16_9328.jpg', '/home/pi/Desktop/images/20022025/10/42/image_20022025_10_42_56_10366.jpg', '/home/pi/Desktop/images/20022025/10/42/image_20022025_10_43_06_9317.jpg', '/home/pi/Desktop/images/20022025/10/43/image_20022025_10_43_16_10326.jpg', '/home/pi/Desktop/images/20022025/10/43/image_20022025_10_43_36_9329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/41/image_20022025_10_42_07_10409.jpg
/home/pi/Desktop/images/20022025/10/42/image_20022025_10_42_16_9328.jpg
/home/pi/Desktop/images/20022025/10/42/image_20022025_10_42_56_10366.jpg
/home/pi/Desktop/images/20022025/10/42/image_20022025_10_43_06_9317.jpg
/home/pi/Desktop/images/20022025/10/43/image_20022025_10_43_16_10326.jpg
/home/pi/Desktop/images/20022025/10/43/image_20022025_10_43_36_9329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338651202","1338651200","1338651211","1338651205","1338651195","1338651208"],"photo_ids_order":["1338651195","1338651200","1338651202","1338651205","1338651208","1338651211"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d141baa6da0eeee7be2e8a40ba13f974.jpg","text":"TemporaryFile(/tmp/multipartBody1201030717208529447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074613539,"filename":"image_20022025_10_42_56_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6677818d54864cb9a3497c6284d23474.jpg","text":"TemporaryFile(/tmp/multipartBody5239637335268645890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074613539,"filename":"image_20022025_10_42_16_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/688cd47d0cd7b6f0ca8187b10ccb8f2d.jpg","text":"TemporaryFile(/tmp/multipartBody5573418088100691231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074613539,"filename":"image_20022025_10_43_36_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f51796ff38cc3850927123c5270a206f.jpg","text":"TemporaryFile(/tmp/multipartBody2362941758569380861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074613539,"filename":"image_20022025_10_43_06_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f8cd6012a1ca2d88ed95bd3fd6a29c3.jpg","text":"TemporaryFile(/tmp/multipartBody6023375175714760518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074613539,"filename":"image_20022025_10_42_07_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/788a381fd719a936167efe66bfe600a8.jpg","text":"TemporaryFile(/tmp/multipartBody6690786569986380334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074613539,"filename":"image_20022025_10_43_16_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338651202","file1":"1338651200","file0":"1338651195","file4":"1338651208","file5":"1338651211","file3":"1338651205"},"map_files_photo_id_array":[{"photo_id":"1338651211","filename":"file5"},{"photo_id":"1338651202","filename":"file2"},{"photo_id":"1338651208","filename":"file4"},{"photo_id":"1338651200","filename":"file1"},{"photo_id":"1338651195","filename":"file0"},{"photo_id":"1338651205","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338651202":["hashtag1","hashtag2"]},{"1338651200":["hashtag1","hashtag2"]},{"1338651211":["hashtag1","hashtag2"]},{"1338651205":["hashtag1","hashtag2"]},{"1338651195":["hashtag1","hashtag2"]},{"1338651208":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338651202, 1338651200, 1338651211, 1338651205, 1338651195, 1338651208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.78775095939636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:03:33.280251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/43/image_20022025_10_43_46_10367.jpg', '/home/pi/Desktop/images/20022025/10/43/image_20022025_10_43_56_10352.jpg', '/home/pi/Desktop/images/20022025/10/45/image_20022025_10_45_26_9422.jpg', '/home/pi/Desktop/images/20022025/10/45/image_20022025_10_45_36_10339.jpg', '/home/pi/Desktop/images/20022025/10/45/image_20022025_10_45_46_9427.jpg', '/home/pi/Desktop/images/20022025/10/45/image_20022025_10_45_56_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/43/image_20022025_10_43_46_10367.jpg
/home/pi/Desktop/images/20022025/10/43/image_20022025_10_43_56_10352.jpg
/home/pi/Desktop/images/20022025/10/45/image_20022025_10_45_26_9422.jpg
/home/pi/Desktop/images/20022025/10/45/image_20022025_10_45_36_10339.jpg
/home/pi/Desktop/images/20022025/10/45/image_20022025_10_45_46_9427.jpg
/home/pi/Desktop/images/20022025/10/45/image_20022025_10_45_56_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338651243","1338651271","1338651265","1338651274","1338651268","1338651276"],"photo_ids_order":["1338651243","1338651265","1338651268","1338651271","1338651274","1338651276"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c84f55084a1b9bd40f8f50264ff7822e.jpg","text":"TemporaryFile(/tmp/multipartBody5069281429887196031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074673840,"filename":"image_20022025_10_43_46_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e900fcdf03f5a106bacc47c97943d8f0.jpg","text":"TemporaryFile(/tmp/multipartBody6036869105753008144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074673840,"filename":"image_20022025_10_45_36_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7b16402328483d5d23f440251c775879.jpg","text":"TemporaryFile(/tmp/multipartBody5209998994976631618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074673840,"filename":"image_20022025_10_43_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42c1d49e74f9e85275b46bfe44362231.jpg","text":"TemporaryFile(/tmp/multipartBody3227368553200623413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074673840,"filename":"image_20022025_10_45_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22b6a91888376779f3aa92dcc021f507.jpg","text":"TemporaryFile(/tmp/multipartBody1875181772385199001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074673840,"filename":"image_20022025_10_45_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04ad0827c9c94969f1ed8bc47b96e319.jpg","text":"TemporaryFile(/tmp/multipartBody4212030081772194262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074673840,"filename":"image_20022025_10_45_56_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338651268","file1":"1338651265","file0":"1338651243","file4":"1338651274","file5":"1338651276","file3":"1338651271"},"map_files_photo_id_array":[{"photo_id":"1338651276","filename":"file5"},{"photo_id":"1338651268","filename":"file2"},{"photo_id":"1338651274","filename":"file4"},{"photo_id":"1338651265","filename":"file1"},{"photo_id":"1338651243","filename":"file0"},{"photo_id":"1338651271","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338651243":["hashtag1","hashtag2"]},{"1338651271":["hashtag1","hashtag2"]},{"1338651265":["hashtag1","hashtag2"]},{"1338651274":["hashtag1","hashtag2"]},{"1338651268":["hashtag1","hashtag2"]},{"1338651276":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338651243, 1338651271, 1338651265, 1338651274, 1338651268, 1338651276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27069807052612 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:04:32.396092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/46/image_20022025_10_46_26_10348.jpg', '/home/pi/Desktop/images/20022025/10/46/image_20022025_10_46_36_9463.jpg', '/home/pi/Desktop/images/20022025/10/46/image_20022025_10_46_56_10336.jpg', '/home/pi/Desktop/images/20022025/10/46/image_20022025_10_47_06_9420.jpg', '/home/pi/Desktop/images/20022025/10/47/image_20022025_10_47_16_10324.jpg', '/home/pi/Desktop/images/20022025/10/47/image_20022025_10_47_26_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/46/image_20022025_10_46_26_10348.jpg
/home/pi/Desktop/images/20022025/10/46/image_20022025_10_46_36_9463.jpg
/home/pi/Desktop/images/20022025/10/46/image_20022025_10_46_56_10336.jpg
/home/pi/Desktop/images/20022025/10/46/image_20022025_10_47_06_9420.jpg
/home/pi/Desktop/images/20022025/10/47/image_20022025_10_47_16_10324.jpg
/home/pi/Desktop/images/20022025/10/47/image_20022025_10_47_26_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338651327","1338651342","1338651340","1338651334","1338651337","1338651307"],"photo_ids_order":["1338651307","1338651327","1338651334","1338651337","1338651340","1338651342"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/32fcea702a387db6c9db67e7efcd5f04.jpg","text":"TemporaryFile(/tmp/multipartBody6918242550085062393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074732953,"filename":"image_20022025_10_46_36_9463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1836ea69e0093ffa675becb5e5c4899.jpg","text":"TemporaryFile(/tmp/multipartBody8256933676887616706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074732953,"filename":"image_20022025_10_47_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/380d9ecb8fae914fa2250a3cdcc07f61.jpg","text":"TemporaryFile(/tmp/multipartBody353386572187820061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074732953,"filename":"image_20022025_10_47_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30f4e74e368e0ae93685e15075a02399.jpg","text":"TemporaryFile(/tmp/multipartBody3333320554687753170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074732953,"filename":"image_20022025_10_46_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d09a474d0e84765cbf84ad455ecdff06.jpg","text":"TemporaryFile(/tmp/multipartBody6855761596747627020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074732953,"filename":"image_20022025_10_47_06_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9080b5d01880f1984de25498ab0f53d.jpg","text":"TemporaryFile(/tmp/multipartBody5801166306532131970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074732953,"filename":"image_20022025_10_46_26_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338651334","file1":"1338651327","file0":"1338651307","file4":"1338651340","file5":"1338651342","file3":"1338651337"},"map_files_photo_id_array":[{"photo_id":"1338651342","filename":"file5"},{"photo_id":"1338651334","filename":"file2"},{"photo_id":"1338651340","filename":"file4"},{"photo_id":"1338651327","filename":"file1"},{"photo_id":"1338651307","filename":"file0"},{"photo_id":"1338651337","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338651327":["hashtag1","hashtag2"]},{"1338651342":["hashtag1","hashtag2"]},{"1338651340":["hashtag1","hashtag2"]},{"1338651334":["hashtag1","hashtag2"]},{"1338651337":["hashtag1","hashtag2"]},{"1338651307":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338651327, 1338651342, 1338651340, 1338651334, 1338651337, 1338651307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.243789434432983 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:05:32.621128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/47/image_20022025_10_47_56_9468.jpg', '/home/pi/Desktop/images/20022025/10/47/image_20022025_10_48_06_10429.jpg', '/home/pi/Desktop/images/20022025/10/48/image_20022025_10_48_26_9431.jpg', '/home/pi/Desktop/images/20022025/10/48/image_20022025_10_48_36_10345.jpg', '/home/pi/Desktop/images/20022025/10/49/image_20022025_10_49_16_9427.jpg', '/home/pi/Desktop/images/20022025/10/49/image_20022025_10_49_26_10349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/47/image_20022025_10_47_56_9468.jpg
/home/pi/Desktop/images/20022025/10/47/image_20022025_10_48_06_10429.jpg
/home/pi/Desktop/images/20022025/10/48/image_20022025_10_48_26_9431.jpg
/home/pi/Desktop/images/20022025/10/48/image_20022025_10_48_36_10345.jpg
/home/pi/Desktop/images/20022025/10/49/image_20022025_10_49_16_9427.jpg
/home/pi/Desktop/images/20022025/10/49/image_20022025_10_49_26_10349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338651384","1338651378","1338651374","1338651385","1338651370","1338651381"],"photo_ids_order":["1338651370","1338651374","1338651378","1338651381","1338651384","1338651385"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a05f543f237625acf7fdaae787156db7.jpg","text":"TemporaryFile(/tmp/multipartBody7723093468785880391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074793190,"filename":"image_20022025_10_49_16_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/49b97d4c05d3fe35adfed8b3f32b03b7.jpg","text":"TemporaryFile(/tmp/multipartBody8571933368921330304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074793190,"filename":"image_20022025_10_48_26_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/54eb1013561b1a7a7b109f002c39bf59.jpg","text":"TemporaryFile(/tmp/multipartBody4086832543168726873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074793190,"filename":"image_20022025_10_48_06_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/35aef3a638e9453ab1b5ecf1960c95f3.jpg","text":"TemporaryFile(/tmp/multipartBody6176569714749439262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074793190,"filename":"image_20022025_10_49_26_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/93062b3916144c6a1b49ec711921a139.jpg","text":"TemporaryFile(/tmp/multipartBody5601138001115017082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074793190,"filename":"image_20022025_10_47_56_9468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e733b1ddf03f5639843adbea61f4949f.jpg","text":"TemporaryFile(/tmp/multipartBody9030953109717508660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074793190,"filename":"image_20022025_10_48_36_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338651378","file1":"1338651374","file0":"1338651370","file4":"1338651384","file5":"1338651385","file3":"1338651381"},"map_files_photo_id_array":[{"photo_id":"1338651385","filename":"file5"},{"photo_id":"1338651378","filename":"file2"},{"photo_id":"1338651384","filename":"file4"},{"photo_id":"1338651374","filename":"file1"},{"photo_id":"1338651370","filename":"file0"},{"photo_id":"1338651381","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338651384":["hashtag1","hashtag2"]},{"1338651378":["hashtag1","hashtag2"]},{"1338651374":["hashtag1","hashtag2"]},{"1338651385":["hashtag1","hashtag2"]},{"1338651370":["hashtag1","hashtag2"]},{"1338651381":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338651384, 1338651378, 1338651374, 1338651385, 1338651370, 1338651381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55207896232605 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:06:32.904669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/49/image_20022025_10_49_36_10335.jpg', '/home/pi/Desktop/images/20022025/10/49/image_20022025_10_49_56_10345.jpg', '/home/pi/Desktop/images/20022025/10/49/image_20022025_10_50_06_10342.jpg', '/home/pi/Desktop/images/20022025/10/50/image_20022025_10_50_26_10342.jpg', '/home/pi/Desktop/images/20022025/10/50/image_20022025_10_50_37_10418.jpg', '/home/pi/Desktop/images/20022025/10/50/image_20022025_10_50_46_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/49/image_20022025_10_49_36_10335.jpg
/home/pi/Desktop/images/20022025/10/49/image_20022025_10_49_56_10345.jpg
/home/pi/Desktop/images/20022025/10/49/image_20022025_10_50_06_10342.jpg
/home/pi/Desktop/images/20022025/10/50/image_20022025_10_50_26_10342.jpg
/home/pi/Desktop/images/20022025/10/50/image_20022025_10_50_37_10418.jpg
/home/pi/Desktop/images/20022025/10/50/image_20022025_10_50_46_9317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338651399","1338651422","1338651416","1338651419","1338651403","1338651406"],"photo_ids_order":["1338651399","1338651403","1338651406","1338651416","1338651419","1338651422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b757d40087e1c82c2c957f883a4663f0.jpg","text":"TemporaryFile(/tmp/multipartBody1916145574835997387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074853471,"filename":"image_20022025_10_49_36_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/313788df7a53f938f9d3ab039573a7e8.jpg","text":"TemporaryFile(/tmp/multipartBody868483577485391434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074853471,"filename":"image_20022025_10_50_46_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/333799d6a913ce9fe7ef2e306fc5dfd2.jpg","text":"TemporaryFile(/tmp/multipartBody1155559731610057785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074853471,"filename":"image_20022025_10_50_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/836eeded3b2c202a6ff51a27a879500b.jpg","text":"TemporaryFile(/tmp/multipartBody2446859969403941235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074853471,"filename":"image_20022025_10_50_37_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d68131f5341210f34a68dc7ff3dffc5.jpg","text":"TemporaryFile(/tmp/multipartBody8831601441797947760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074853471,"filename":"image_20022025_10_49_56_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b694d1200132626c02b26b06f0f8061.jpg","text":"TemporaryFile(/tmp/multipartBody8173160968288487851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074853471,"filename":"image_20022025_10_50_06_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338651406","file1":"1338651403","file0":"1338651399","file4":"1338651419","file5":"1338651422","file3":"1338651416"},"map_files_photo_id_array":[{"photo_id":"1338651422","filename":"file5"},{"photo_id":"1338651406","filename":"file2"},{"photo_id":"1338651419","filename":"file4"},{"photo_id":"1338651403","filename":"file1"},{"photo_id":"1338651399","filename":"file0"},{"photo_id":"1338651416","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338651399":["hashtag1","hashtag2"]},{"1338651422":["hashtag1","hashtag2"]},{"1338651416":["hashtag1","hashtag2"]},{"1338651419":["hashtag1","hashtag2"]},{"1338651403":["hashtag1","hashtag2"]},{"1338651406":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338651399, 1338651422, 1338651416, 1338651419, 1338651403, 1338651406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07434558868408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:07:32.876722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/50/image_20022025_10_51_06_9406.jpg', '/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_16_10321.jpg', '/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_26_10358.jpg', '/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_36_9332.jpg', '/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_46_10327.jpg', '/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_56_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/50/image_20022025_10_51_06_9406.jpg
/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_16_10321.jpg
/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_26_10358.jpg
/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_36_9332.jpg
/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_46_10327.jpg
/home/pi/Desktop/images/20022025/10/51/image_20022025_10_51_56_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652215","1338652241","1338652223","1338652251","1338652245","1338652230"],"photo_ids_order":["1338652215","1338652223","1338652230","1338652241","1338652245","1338652251"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8cfe5e6ff237835a59bd0389e94e3542.jpg","text":"TemporaryFile(/tmp/multipartBody5166322892662850671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074913424,"filename":"image_20022025_10_51_06_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1cba725fac79f6ef9cb1885365e24ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3416846290051817215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074913424,"filename":"image_20022025_10_51_36_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa715cd39043635b4a64067523a347e4.jpg","text":"TemporaryFile(/tmp/multipartBody5530389315807029976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074913424,"filename":"image_20022025_10_51_16_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09ef2693f0c11f9a503a2c3d5e35ab96.jpg","text":"TemporaryFile(/tmp/multipartBody960484765171268922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074913424,"filename":"image_20022025_10_51_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/43728de795f8dc035aa1f8cf4839119a.jpg","text":"TemporaryFile(/tmp/multipartBody2055137618791095949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074913424,"filename":"image_20022025_10_51_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e0c9e9454c99fb730b0e913bc44daeb.jpg","text":"TemporaryFile(/tmp/multipartBody5803258421093726100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074913424,"filename":"image_20022025_10_51_26_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652230","file1":"1338652223","file0":"1338652215","file4":"1338652245","file5":"1338652251","file3":"1338652241"},"map_files_photo_id_array":[{"photo_id":"1338652251","filename":"file5"},{"photo_id":"1338652230","filename":"file2"},{"photo_id":"1338652245","filename":"file4"},{"photo_id":"1338652223","filename":"file1"},{"photo_id":"1338652215","filename":"file0"},{"photo_id":"1338652241","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652215":["hashtag1","hashtag2"]},{"1338652241":["hashtag1","hashtag2"]},{"1338652223":["hashtag1","hashtag2"]},{"1338652251":["hashtag1","hashtag2"]},{"1338652245":["hashtag1","hashtag2"]},{"1338652230":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652215, 1338652241, 1338652223, 1338652251, 1338652245, 1338652230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.567458152770996 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:08:32.213533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/51/image_20022025_10_52_06_9413.jpg', '/home/pi/Desktop/images/20022025/10/52/image_20022025_10_52_26_10460.jpg', '/home/pi/Desktop/images/20022025/10/52/image_20022025_10_52_36_9331.jpg', '/home/pi/Desktop/images/20022025/10/52/image_20022025_10_52_46_10331.jpg', '/home/pi/Desktop/images/20022025/10/52/image_20022025_10_52_56_9466.jpg', '/home/pi/Desktop/images/20022025/10/52/image_20022025_10_53_06_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/51/image_20022025_10_52_06_9413.jpg
/home/pi/Desktop/images/20022025/10/52/image_20022025_10_52_26_10460.jpg
/home/pi/Desktop/images/20022025/10/52/image_20022025_10_52_36_9331.jpg
/home/pi/Desktop/images/20022025/10/52/image_20022025_10_52_46_10331.jpg
/home/pi/Desktop/images/20022025/10/52/image_20022025_10_52_56_9466.jpg
/home/pi/Desktop/images/20022025/10/52/image_20022025_10_53_06_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652539","1338652537","1338652504","1338652534","1338652501","1338652542"],"photo_ids_order":["1338652501","1338652504","1338652534","1338652537","1338652539","1338652542"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc99fbd29adf971314891bece5745479.jpg","text":"TemporaryFile(/tmp/multipartBody2530343220776828529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074972793,"filename":"image_20022025_10_52_56_9466.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3559383ee871eb9d90520ab49e707977.jpg","text":"TemporaryFile(/tmp/multipartBody4248566438758272900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074972793,"filename":"image_20022025_10_52_46_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a478cf47f201a0fb37a1822bb7fdc56.jpg","text":"TemporaryFile(/tmp/multipartBody1261957358848445353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074972793,"filename":"image_20022025_10_52_26_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d9bb76bdf60ec99423cf36e1ac7c6343.jpg","text":"TemporaryFile(/tmp/multipartBody4740654707710502362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074972793,"filename":"image_20022025_10_52_36_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7a3d4ecc1a0117e8324933cb358930a.jpg","text":"TemporaryFile(/tmp/multipartBody7557478545588244337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074972793,"filename":"image_20022025_10_52_06_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20510c4cab353b423af135119fea2df4.jpg","text":"TemporaryFile(/tmp/multipartBody5534648308381446456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740074972793,"filename":"image_20022025_10_53_06_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652534","file1":"1338652504","file0":"1338652501","file4":"1338652539","file5":"1338652542","file3":"1338652537"},"map_files_photo_id_array":[{"photo_id":"1338652542","filename":"file5"},{"photo_id":"1338652534","filename":"file2"},{"photo_id":"1338652539","filename":"file4"},{"photo_id":"1338652504","filename":"file1"},{"photo_id":"1338652501","filename":"file0"},{"photo_id":"1338652537","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652539":["hashtag1","hashtag2"]},{"1338652537":["hashtag1","hashtag2"]},{"1338652504":["hashtag1","hashtag2"]},{"1338652534":["hashtag1","hashtag2"]},{"1338652501":["hashtag1","hashtag2"]},{"1338652542":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652539, 1338652537, 1338652504, 1338652534, 1338652501, 1338652542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60606265068054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:09:32.440956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/53/image_20022025_10_53_26_9418.jpg', '/home/pi/Desktop/images/20022025/10/53/image_20022025_10_53_36_10338.jpg', '/home/pi/Desktop/images/20022025/10/53/image_20022025_10_53_56_9347.jpg', '/home/pi/Desktop/images/20022025/10/54/image_20022025_10_54_17_10395.jpg', '/home/pi/Desktop/images/20022025/10/54/image_20022025_10_54_26_9340.jpg', '/home/pi/Desktop/images/20022025/10/54/image_20022025_10_54_36_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/53/image_20022025_10_53_26_9418.jpg
/home/pi/Desktop/images/20022025/10/53/image_20022025_10_53_36_10338.jpg
/home/pi/Desktop/images/20022025/10/53/image_20022025_10_53_56_9347.jpg
/home/pi/Desktop/images/20022025/10/54/image_20022025_10_54_17_10395.jpg
/home/pi/Desktop/images/20022025/10/54/image_20022025_10_54_26_9340.jpg
/home/pi/Desktop/images/20022025/10/54/image_20022025_10_54_36_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652580","1338652583","1338652586","1338652588","1338652573","1338652576"],"photo_ids_order":["1338652573","1338652576","1338652580","1338652583","1338652586","1338652588"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d7cbd360e28ed020a8f995ed79460fd5.jpg","text":"TemporaryFile(/tmp/multipartBody4536122926091636578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075033004,"filename":"image_20022025_10_53_56_9347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1e97d266bca145b1147ef8c694202cff.jpg","text":"TemporaryFile(/tmp/multipartBody3517757015944642624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075033004,"filename":"image_20022025_10_54_17_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/720df709ec04c2cb8691f4403993bc33.jpg","text":"TemporaryFile(/tmp/multipartBody1458815022662159500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075033004,"filename":"image_20022025_10_54_26_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de7347fbd3a66aef57deb6a37825af55.jpg","text":"TemporaryFile(/tmp/multipartBody7682419661104868833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075033004,"filename":"image_20022025_10_54_36_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e80c13ccf6da9abe0b8714496f97a0fb.jpg","text":"TemporaryFile(/tmp/multipartBody4942710321820192254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075033004,"filename":"image_20022025_10_53_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b0a3d6d218174d72b4f811fa1c14bcc.jpg","text":"TemporaryFile(/tmp/multipartBody1009137933130888134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075033004,"filename":"image_20022025_10_53_36_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652580","file1":"1338652576","file0":"1338652573","file4":"1338652586","file5":"1338652588","file3":"1338652583"},"map_files_photo_id_array":[{"photo_id":"1338652588","filename":"file5"},{"photo_id":"1338652580","filename":"file2"},{"photo_id":"1338652586","filename":"file4"},{"photo_id":"1338652576","filename":"file1"},{"photo_id":"1338652573","filename":"file0"},{"photo_id":"1338652583","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652580":["hashtag1","hashtag2"]},{"1338652583":["hashtag1","hashtag2"]},{"1338652586":["hashtag1","hashtag2"]},{"1338652588":["hashtag1","hashtag2"]},{"1338652573":["hashtag1","hashtag2"]},{"1338652576":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652580, 1338652583, 1338652586, 1338652588, 1338652573, 1338652576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09852147102356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:10:32.578173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/54/image_20022025_10_54_56_10354.jpg', '/home/pi/Desktop/images/20022025/10/54/image_20022025_10_55_06_10384.jpg', '/home/pi/Desktop/images/20022025/10/55/image_20022025_10_55_26_10335.jpg', '/home/pi/Desktop/images/20022025/10/55/image_20022025_10_55_36_10325.jpg', '/home/pi/Desktop/images/20022025/10/55/image_20022025_10_55_46_9376.jpg', '/home/pi/Desktop/images/20022025/10/55/image_20022025_10_56_07_10460.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/54/image_20022025_10_54_56_10354.jpg
/home/pi/Desktop/images/20022025/10/54/image_20022025_10_55_06_10384.jpg
/home/pi/Desktop/images/20022025/10/55/image_20022025_10_55_26_10335.jpg
/home/pi/Desktop/images/20022025/10/55/image_20022025_10_55_36_10325.jpg
/home/pi/Desktop/images/20022025/10/55/image_20022025_10_55_46_9376.jpg
/home/pi/Desktop/images/20022025/10/55/image_20022025_10_56_07_10460.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652644","1338652670","1338652648","1338652671","1338652665","1338652662"],"photo_ids_order":["1338652644","1338652648","1338652662","1338652665","1338652670","1338652671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/703cbbc6d3f05fe9702fb7bfb3f4929b.jpg","text":"TemporaryFile(/tmp/multipartBody4876782496675018494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075093137,"filename":"image_20022025_10_54_56_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8ba5646f0da526682bcdf46757df34a3.jpg","text":"TemporaryFile(/tmp/multipartBody4058478674991569715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075093137,"filename":"image_20022025_10_55_46_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e79e5c91126b5d7ea605230384d1cb96.jpg","text":"TemporaryFile(/tmp/multipartBody5879542078217834622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075093137,"filename":"image_20022025_10_55_06_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75cabb6f827e2a38bb4b2af3181e9ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3811226403194562015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075093137,"filename":"image_20022025_10_56_07_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9fc837bd4750476a8572bcc5aff43e1e.jpg","text":"TemporaryFile(/tmp/multipartBody5919738532614337941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075093137,"filename":"image_20022025_10_55_36_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8c03dab2b9f70f503000e8b5ee5d597e.jpg","text":"TemporaryFile(/tmp/multipartBody745327525203166742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075093137,"filename":"image_20022025_10_55_26_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652662","file1":"1338652648","file0":"1338652644","file4":"1338652670","file5":"1338652671","file3":"1338652665"},"map_files_photo_id_array":[{"photo_id":"1338652671","filename":"file5"},{"photo_id":"1338652662","filename":"file2"},{"photo_id":"1338652670","filename":"file4"},{"photo_id":"1338652648","filename":"file1"},{"photo_id":"1338652644","filename":"file0"},{"photo_id":"1338652665","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652644":["hashtag1","hashtag2"]},{"1338652670":["hashtag1","hashtag2"]},{"1338652648":["hashtag1","hashtag2"]},{"1338652671":["hashtag1","hashtag2"]},{"1338652665":["hashtag1","hashtag2"]},{"1338652662":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652644, 1338652670, 1338652648, 1338652671, 1338652665, 1338652662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.24757480621338 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:11:32.779496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/56/image_20022025_10_56_16_9336.jpg', '/home/pi/Desktop/images/20022025/10/56/image_20022025_10_56_26_10351.jpg', '/home/pi/Desktop/images/20022025/10/56/image_20022025_10_56_36_9345.jpg', '/home/pi/Desktop/images/20022025/10/56/image_20022025_10_56_46_10311.jpg', '/home/pi/Desktop/images/20022025/10/56/image_20022025_10_57_06_9320.jpg', '/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_16_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/56/image_20022025_10_56_16_9336.jpg
/home/pi/Desktop/images/20022025/10/56/image_20022025_10_56_26_10351.jpg
/home/pi/Desktop/images/20022025/10/56/image_20022025_10_56_36_9345.jpg
/home/pi/Desktop/images/20022025/10/56/image_20022025_10_56_46_10311.jpg
/home/pi/Desktop/images/20022025/10/56/image_20022025_10_57_06_9320.jpg
/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_16_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652737","1338652739","1338652730","1338652733","1338652741","1338652735"],"photo_ids_order":["1338652730","1338652733","1338652735","1338652737","1338652739","1338652741"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a67d2ed0d80156d13a73456d1b8e5e6.jpg","text":"TemporaryFile(/tmp/multipartBody360391962667805051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075153344,"filename":"image_20022025_10_56_46_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/850a799ff30a12f1d7cb07a84fa9e186.jpg","text":"TemporaryFile(/tmp/multipartBody3713649409331563974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075153344,"filename":"image_20022025_10_57_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2377981592090e03516a36a0f8d112ab.jpg","text":"TemporaryFile(/tmp/multipartBody5108801236091712502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075153344,"filename":"image_20022025_10_56_16_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c172302a1289383c2779025c063a9d66.jpg","text":"TemporaryFile(/tmp/multipartBody7734392552580668002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075153344,"filename":"image_20022025_10_56_26_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/011579ccde249a4ce67f8e6858dde47f.jpg","text":"TemporaryFile(/tmp/multipartBody8528761732741485269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075153344,"filename":"image_20022025_10_57_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa05fef84fbb139693cd622d22bcf4da.jpg","text":"TemporaryFile(/tmp/multipartBody8629308519069399870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075153344,"filename":"image_20022025_10_56_36_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652735","file1":"1338652733","file0":"1338652730","file4":"1338652739","file5":"1338652741","file3":"1338652737"},"map_files_photo_id_array":[{"photo_id":"1338652741","filename":"file5"},{"photo_id":"1338652735","filename":"file2"},{"photo_id":"1338652739","filename":"file4"},{"photo_id":"1338652733","filename":"file1"},{"photo_id":"1338652730","filename":"file0"},{"photo_id":"1338652737","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652737":["hashtag1","hashtag2"]},{"1338652739":["hashtag1","hashtag2"]},{"1338652730":["hashtag1","hashtag2"]},{"1338652733":["hashtag1","hashtag2"]},{"1338652741":["hashtag1","hashtag2"]},{"1338652735":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652737, 1338652739, 1338652730, 1338652733, 1338652741, 1338652735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78496289253235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:12:32.973165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_26_10425.jpg', '/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_36_9395.jpg', '/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_46_10326.jpg', '/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_57_10435.jpg', '/home/pi/Desktop/images/20022025/10/57/image_20022025_10_58_06_9336.jpg', '/home/pi/Desktop/images/20022025/10/58/image_20022025_10_58_16_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_26_10425.jpg
/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_36_9395.jpg
/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_46_10326.jpg
/home/pi/Desktop/images/20022025/10/57/image_20022025_10_57_57_10435.jpg
/home/pi/Desktop/images/20022025/10/57/image_20022025_10_58_06_9336.jpg
/home/pi/Desktop/images/20022025/10/58/image_20022025_10_58_16_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652771","1338652768","1338652759","1338652773","1338652761","1338652755"],"photo_ids_order":["1338652755","1338652759","1338652761","1338652768","1338652771","1338652773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3e820e322cdabb08629bb294ee4f6aed.jpg","text":"TemporaryFile(/tmp/multipartBody5229773811743073856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075213561,"filename":"image_20022025_10_58_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/001091c54623e4a670ad84e4329319ae.jpg","text":"TemporaryFile(/tmp/multipartBody980415428716475441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075213561,"filename":"image_20022025_10_57_57_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d57e9cedf6c086df178f8ccc4038ebc2.jpg","text":"TemporaryFile(/tmp/multipartBody1935202549013798791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075213561,"filename":"image_20022025_10_57_36_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ef65bf0885290503540a5d3df518457.jpg","text":"TemporaryFile(/tmp/multipartBody1696823271014123555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075213561,"filename":"image_20022025_10_58_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94108d3a9f1fb0fcd9bcef2c98084007.jpg","text":"TemporaryFile(/tmp/multipartBody4062240570349206678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075213561,"filename":"image_20022025_10_57_46_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec7244e94cf1a8d584de10bc4290b948.jpg","text":"TemporaryFile(/tmp/multipartBody7641955373069051880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075213561,"filename":"image_20022025_10_57_26_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652761","file1":"1338652759","file0":"1338652755","file4":"1338652771","file5":"1338652773","file3":"1338652768"},"map_files_photo_id_array":[{"photo_id":"1338652773","filename":"file5"},{"photo_id":"1338652761","filename":"file2"},{"photo_id":"1338652771","filename":"file4"},{"photo_id":"1338652759","filename":"file1"},{"photo_id":"1338652755","filename":"file0"},{"photo_id":"1338652768","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652771":["hashtag1","hashtag2"]},{"1338652768":["hashtag1","hashtag2"]},{"1338652759":["hashtag1","hashtag2"]},{"1338652773":["hashtag1","hashtag2"]},{"1338652761":["hashtag1","hashtag2"]},{"1338652755":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652771, 1338652768, 1338652759, 1338652773, 1338652761, 1338652755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50830292701721 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:13:32.182129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/58/image_20022025_10_58_36_10337.jpg', '/home/pi/Desktop/images/20022025/10/58/image_20022025_10_58_46_10336.jpg', '/home/pi/Desktop/images/20022025/10/58/image_20022025_10_58_56_9408.jpg', '/home/pi/Desktop/images/20022025/10/58/image_20022025_10_59_06_10331.jpg', '/home/pi/Desktop/images/20022025/10/59/image_20022025_10_59_16_10337.jpg', '/home/pi/Desktop/images/20022025/10/59/image_20022025_10_59_26_9342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/58/image_20022025_10_58_36_10337.jpg
/home/pi/Desktop/images/20022025/10/58/image_20022025_10_58_46_10336.jpg
/home/pi/Desktop/images/20022025/10/58/image_20022025_10_58_56_9408.jpg
/home/pi/Desktop/images/20022025/10/58/image_20022025_10_59_06_10331.jpg
/home/pi/Desktop/images/20022025/10/59/image_20022025_10_59_16_10337.jpg
/home/pi/Desktop/images/20022025/10/59/image_20022025_10_59_26_9342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652799","1338652811","1338652805","1338652808","1338652802","1338652813"],"photo_ids_order":["1338652799","1338652802","1338652805","1338652808","1338652811","1338652813"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c834c019131f298cc92c2223c54f638.jpg","text":"TemporaryFile(/tmp/multipartBody2703447561320236577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075272750,"filename":"image_20022025_10_58_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f5c7a3f8e5ba720d4e94716b89b4267.jpg","text":"TemporaryFile(/tmp/multipartBody5176545654957646179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075272750,"filename":"image_20022025_10_59_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/845e4548758369aba68ddb8cfac7171b.jpg","text":"TemporaryFile(/tmp/multipartBody5354502716923835089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075272750,"filename":"image_20022025_10_58_56_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8816dc0f45112d4e0b1663e1cbb53c6.jpg","text":"TemporaryFile(/tmp/multipartBody1061585109472627384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075272750,"filename":"image_20022025_10_59_06_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a956d326f4d0697b9b4be403f792d62.jpg","text":"TemporaryFile(/tmp/multipartBody4589861969472710772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075272750,"filename":"image_20022025_10_58_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b74807c3195f2e1ac5163731d6c014e4.jpg","text":"TemporaryFile(/tmp/multipartBody8864717884711819168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075272750,"filename":"image_20022025_10_59_26_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652805","file1":"1338652802","file0":"1338652799","file4":"1338652811","file5":"1338652813","file3":"1338652808"},"map_files_photo_id_array":[{"photo_id":"1338652813","filename":"file5"},{"photo_id":"1338652805","filename":"file2"},{"photo_id":"1338652811","filename":"file4"},{"photo_id":"1338652802","filename":"file1"},{"photo_id":"1338652799","filename":"file0"},{"photo_id":"1338652808","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652799":["hashtag1","hashtag2"]},{"1338652811":["hashtag1","hashtag2"]},{"1338652805":["hashtag1","hashtag2"]},{"1338652808":["hashtag1","hashtag2"]},{"1338652802":["hashtag1","hashtag2"]},{"1338652813":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652799, 1338652811, 1338652805, 1338652808, 1338652802, 1338652813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29453730583191 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:14:32.433577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/10/59/image_20022025_10_59_36_10364.jpg', '/home/pi/Desktop/images/20022025/10/59/image_20022025_10_59_56_9339.jpg', '/home/pi/Desktop/images/20022025/11/01/image_20022025_11_01_14_10076.jpg', '/home/pi/Desktop/images/20022025/11/01/image_20022025_11_01_25_10442.jpg', '/home/pi/Desktop/images/20022025/11/01/image_20022025_11_01_35_10348.jpg', '/home/pi/Desktop/images/20022025/11/01/image_20022025_11_01_55_10429.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/10/59/image_20022025_10_59_36_10364.jpg
/home/pi/Desktop/images/20022025/10/59/image_20022025_10_59_56_9339.jpg
/home/pi/Desktop/images/20022025/11/01/image_20022025_11_01_14_10076.jpg
/home/pi/Desktop/images/20022025/11/01/image_20022025_11_01_25_10442.jpg
/home/pi/Desktop/images/20022025/11/01/image_20022025_11_01_35_10348.jpg
/home/pi/Desktop/images/20022025/11/01/image_20022025_11_01_55_10429.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652853","1338652856","1338652850","1338652838","1338652858","1338652843"],"photo_ids_order":["1338652838","1338652843","1338652850","1338652853","1338652856","1338652858"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e7ef4f4ec87bf8ace30280cbdff41d4.jpg","text":"TemporaryFile(/tmp/multipartBody7245684013685664051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075333007,"filename":"image_20022025_11_01_25_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/522af111f38f3fe83bd238418828367e.jpg","text":"TemporaryFile(/tmp/multipartBody2282514540779382418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075333007,"filename":"image_20022025_11_01_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9954d7cde6754d3bdf14cd2f68229e85.jpg","text":"TemporaryFile(/tmp/multipartBody3548198948008584561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075333007,"filename":"image_20022025_11_01_14_10076.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d0abe46f630cdbfbf8308680c6cb260.jpg","text":"TemporaryFile(/tmp/multipartBody1172155724286435594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075333007,"filename":"image_20022025_10_59_36_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd0c877504a644cec50476af22d9ad8a.jpg","text":"TemporaryFile(/tmp/multipartBody4455754248247646914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075333007,"filename":"image_20022025_11_01_55_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0177f64b1c340b573f81505610701ea.jpg","text":"TemporaryFile(/tmp/multipartBody4880815374597966004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075333007,"filename":"image_20022025_10_59_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652850","file1":"1338652843","file0":"1338652838","file4":"1338652856","file5":"1338652858","file3":"1338652853"},"map_files_photo_id_array":[{"photo_id":"1338652858","filename":"file5"},{"photo_id":"1338652850","filename":"file2"},{"photo_id":"1338652856","filename":"file4"},{"photo_id":"1338652843","filename":"file1"},{"photo_id":"1338652838","filename":"file0"},{"photo_id":"1338652853","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652853":["hashtag1","hashtag2"]},{"1338652856":["hashtag1","hashtag2"]},{"1338652850":["hashtag1","hashtag2"]},{"1338652838":["hashtag1","hashtag2"]},{"1338652858":["hashtag1","hashtag2"]},{"1338652843":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652853, 1338652856, 1338652850, 1338652838, 1338652858, 1338652843)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69245195388794 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:15:32.633624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/01/image_20022025_11_02_04_9336.jpg', '/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_15_10554.jpg', '/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_25_10329.jpg', '/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_34_9334.jpg', '/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_45_10402.jpg', '/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_55_10007.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/01/image_20022025_11_02_04_9336.jpg
/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_15_10554.jpg
/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_25_10329.jpg
/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_34_9334.jpg
/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_45_10402.jpg
/home/pi/Desktop/images/20022025/11/02/image_20022025_11_02_55_10007.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652892","1338652895","1338652888","1338652915","1338652909","1338652911"],"photo_ids_order":["1338652888","1338652892","1338652895","1338652909","1338652911","1338652915"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f49c486c9fec92970afa9fe43840792.jpg","text":"TemporaryFile(/tmp/multipartBody4576092369826792196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075393198,"filename":"image_20022025_11_02_15_10554.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c019daf999cd2e82a124b822ef2167c.jpg","text":"TemporaryFile(/tmp/multipartBody3142647556123157686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075393198,"filename":"image_20022025_11_02_25_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88e1ad988d2b53978ee078b69a1f5402.jpg","text":"TemporaryFile(/tmp/multipartBody6051475603393234766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075393198,"filename":"image_20022025_11_02_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b425fa1837f4e4818138b2e5662177f.jpg","text":"TemporaryFile(/tmp/multipartBody5739159676927492764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075393198,"filename":"image_20022025_11_02_55_10007.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f51b3edf3500aedac9b8ae77b01886a.jpg","text":"TemporaryFile(/tmp/multipartBody6021196438274351104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075393198,"filename":"image_20022025_11_02_34_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7b9246dfe8fdb5c4973d74fdd4fc1f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3566354725054041023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075393198,"filename":"image_20022025_11_02_45_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652895","file1":"1338652892","file0":"1338652888","file4":"1338652911","file5":"1338652915","file3":"1338652909"},"map_files_photo_id_array":[{"photo_id":"1338652915","filename":"file5"},{"photo_id":"1338652895","filename":"file2"},{"photo_id":"1338652911","filename":"file4"},{"photo_id":"1338652892","filename":"file1"},{"photo_id":"1338652888","filename":"file0"},{"photo_id":"1338652909","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652892":["hashtag1","hashtag2"]},{"1338652895":["hashtag1","hashtag2"]},{"1338652888":["hashtag1","hashtag2"]},{"1338652915":["hashtag1","hashtag2"]},{"1338652909":["hashtag1","hashtag2"]},{"1338652911":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652892, 1338652895, 1338652888, 1338652915, 1338652909, 1338652911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.51087927818298 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:16:32.916552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/02/image_20022025_11_03_05_10329.jpg', '/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_14_9367.jpg', '/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_25_10340.jpg', '/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_34_9414.jpg', '/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_45_10382.jpg', '/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_55_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/02/image_20022025_11_03_05_10329.jpg
/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_14_9367.jpg
/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_25_10340.jpg
/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_34_9414.jpg
/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_45_10382.jpg
/home/pi/Desktop/images/20022025/11/03/image_20022025_11_03_55_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338652958","1338652943","1338652975","1338652972","1338652948","1338652956"],"photo_ids_order":["1338652943","1338652948","1338652956","1338652958","1338652972","1338652975"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/87cd5fc323b79e004baec2064180c188.jpg","text":"TemporaryFile(/tmp/multipartBody352732655785424404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075453567,"filename":"image_20022025_11_03_34_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/672a2482cc423fc5597e1c7a016b37b2.jpg","text":"TemporaryFile(/tmp/multipartBody6543409200878332267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075453567,"filename":"image_20022025_11_03_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ee9a745036484c21ecf809772f2e09b.jpg","text":"TemporaryFile(/tmp/multipartBody1693050889997502001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075453567,"filename":"image_20022025_11_03_55_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4c5cbfea8f48d6886758b8626becc42.jpg","text":"TemporaryFile(/tmp/multipartBody4428190034250521595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075453567,"filename":"image_20022025_11_03_45_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b69ac592a5089e2965ddc63acb6fa387.jpg","text":"TemporaryFile(/tmp/multipartBody4228968694141285345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075453567,"filename":"image_20022025_11_03_14_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1feea66457ad36afe3c7c45861eb6fb.jpg","text":"TemporaryFile(/tmp/multipartBody9152197216034266908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075453567,"filename":"image_20022025_11_03_25_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338652956","file1":"1338652948","file0":"1338652943","file4":"1338652972","file5":"1338652975","file3":"1338652958"},"map_files_photo_id_array":[{"photo_id":"1338652975","filename":"file5"},{"photo_id":"1338652956","filename":"file2"},{"photo_id":"1338652972","filename":"file4"},{"photo_id":"1338652948","filename":"file1"},{"photo_id":"1338652943","filename":"file0"},{"photo_id":"1338652958","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338652958":["hashtag1","hashtag2"]},{"1338652943":["hashtag1","hashtag2"]},{"1338652975":["hashtag1","hashtag2"]},{"1338652972":["hashtag1","hashtag2"]},{"1338652948":["hashtag1","hashtag2"]},{"1338652956":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338652958, 1338652943, 1338652975, 1338652972, 1338652948, 1338652956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.865100622177124 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:17:33.086587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/03/image_20022025_11_04_04_9334.jpg', '/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_15_10426.jpg', '/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_25_10323.jpg', '/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_34_9436.jpg', '/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_45_10343.jpg', '/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_55_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/03/image_20022025_11_04_04_9334.jpg
/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_15_10426.jpg
/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_25_10323.jpg
/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_34_9436.jpg
/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_45_10343.jpg
/home/pi/Desktop/images/20022025/11/04/image_20022025_11_04_55_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338653368","1338653440","1338653332","1338653445","1338653334","1338653337"],"photo_ids_order":["1338653332","1338653334","1338653337","1338653368","1338653440","1338653445"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b9eddc2f31bad855a747cae272e2a4a6.jpg","text":"TemporaryFile(/tmp/multipartBody3973646369325684078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075513659,"filename":"image_20022025_11_04_34_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/036dc3b357776ee7e4108670df17e4f1.jpg","text":"TemporaryFile(/tmp/multipartBody6350867843455536226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075513659,"filename":"image_20022025_11_04_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a75967a0ed2ba55549c2d9b49132251.jpg","text":"TemporaryFile(/tmp/multipartBody9200045046671531368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075513659,"filename":"image_20022025_11_04_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/672c0a226b1241ec7d4b9a485ef9d50e.jpg","text":"TemporaryFile(/tmp/multipartBody4693137056638428482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075513659,"filename":"image_20022025_11_04_55_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34946ecc3487ec1acda92950a09a48d2.jpg","text":"TemporaryFile(/tmp/multipartBody5469683627685166380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075513659,"filename":"image_20022025_11_04_15_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/171c122912be4ef3472243b2ae91a207.jpg","text":"TemporaryFile(/tmp/multipartBody465145301844339502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075513659,"filename":"image_20022025_11_04_25_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338653337","file1":"1338653334","file0":"1338653332","file4":"1338653440","file5":"1338653445","file3":"1338653368"},"map_files_photo_id_array":[{"photo_id":"1338653445","filename":"file5"},{"photo_id":"1338653337","filename":"file2"},{"photo_id":"1338653440","filename":"file4"},{"photo_id":"1338653334","filename":"file1"},{"photo_id":"1338653332","filename":"file0"},{"photo_id":"1338653368","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338653368":["hashtag1","hashtag2"]},{"1338653440":["hashtag1","hashtag2"]},{"1338653332":["hashtag1","hashtag2"]},{"1338653445":["hashtag1","hashtag2"]},{"1338653334":["hashtag1","hashtag2"]},{"1338653337":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338653368, 1338653440, 1338653332, 1338653445, 1338653334, 1338653337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39394450187683 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:18:32.220526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/04/image_20022025_11_05_05_9393.jpg', '/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_15_10321.jpg', '/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_24_9323.jpg', '/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_35_10479.jpg', '/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_45_10352.jpg', '/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_54_9313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/04/image_20022025_11_05_05_9393.jpg
/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_15_10321.jpg
/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_24_9323.jpg
/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_35_10479.jpg
/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_45_10352.jpg
/home/pi/Desktop/images/20022025/11/05/image_20022025_11_05_54_9313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338653624","1338653627","1338653612","1338653608","1338653625","1338653622"],"photo_ids_order":["1338653608","1338653612","1338653622","1338653624","1338653625","1338653627"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e70c8b9d4d78ff40eb80dc3be53ece48.jpg","text":"TemporaryFile(/tmp/multipartBody5252021021090551647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075572793,"filename":"image_20022025_11_05_35_10479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1061dc546b8e63414eecbcda96407382.jpg","text":"TemporaryFile(/tmp/multipartBody9038617162590049228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075572793,"filename":"image_20022025_11_05_54_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/533711b665a04c4b7f385b321e576959.jpg","text":"TemporaryFile(/tmp/multipartBody6787627192710239908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075572793,"filename":"image_20022025_11_05_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/98908e464b45b2a0f3903798e82a2c84.jpg","text":"TemporaryFile(/tmp/multipartBody7905450948178175115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075572793,"filename":"image_20022025_11_05_05_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20d5f400cee5f67535592e707c304493.jpg","text":"TemporaryFile(/tmp/multipartBody4479433389365977792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075572793,"filename":"image_20022025_11_05_45_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e5adc1f727c67a2b39f2484ccf39104a.jpg","text":"TemporaryFile(/tmp/multipartBody5154811576901145462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075572793,"filename":"image_20022025_11_05_24_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338653622","file1":"1338653612","file0":"1338653608","file4":"1338653625","file5":"1338653627","file3":"1338653624"},"map_files_photo_id_array":[{"photo_id":"1338653627","filename":"file5"},{"photo_id":"1338653622","filename":"file2"},{"photo_id":"1338653625","filename":"file4"},{"photo_id":"1338653612","filename":"file1"},{"photo_id":"1338653608","filename":"file0"},{"photo_id":"1338653624","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338653624":["hashtag1","hashtag2"]},{"1338653627":["hashtag1","hashtag2"]},{"1338653612":["hashtag1","hashtag2"]},{"1338653608":["hashtag1","hashtag2"]},{"1338653625":["hashtag1","hashtag2"]},{"1338653622":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338653624, 1338653627, 1338653612, 1338653608, 1338653625, 1338653622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.801085710525513 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:19:32.612848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/05/image_20022025_11_06_05_10349.jpg', '/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_15_10338.jpg', '/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_24_9333.jpg', '/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_35_10399.jpg', '/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_45_10346.jpg', '/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_55_9453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/05/image_20022025_11_06_05_10349.jpg
/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_15_10338.jpg
/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_24_9333.jpg
/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_35_10399.jpg
/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_45_10346.jpg
/home/pi/Desktop/images/20022025/11/06/image_20022025_11_06_55_9453.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338653657","1338653674","1338653647","1338653655","1338653679","1338653643"],"photo_ids_order":["1338653643","1338653647","1338653655","1338653657","1338653674","1338653679"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb17507fdef13548c830a837e556594b.jpg","text":"TemporaryFile(/tmp/multipartBody6388479506133644983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075633188,"filename":"image_20022025_11_06_35_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65a849261cdd35d8c00638fe143b93a5.jpg","text":"TemporaryFile(/tmp/multipartBody4401398975084332865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075633188,"filename":"image_20022025_11_06_45_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3360ca3e07b476c5099839106fea76da.jpg","text":"TemporaryFile(/tmp/multipartBody4064065450682063252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075633188,"filename":"image_20022025_11_06_15_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6156865093372be366d8d7c8a2ba7e8b.jpg","text":"TemporaryFile(/tmp/multipartBody8156476663257638783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075633188,"filename":"image_20022025_11_06_24_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd0b7fb0fbc4479fcec3549f04ae038e.jpg","text":"TemporaryFile(/tmp/multipartBody5434230631712962294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075633188,"filename":"image_20022025_11_06_55_9453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28b46000d3b4a56eb0e912018ebe7beb.jpg","text":"TemporaryFile(/tmp/multipartBody2769396139053399164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075633188,"filename":"image_20022025_11_06_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338653655","file1":"1338653647","file0":"1338653643","file4":"1338653674","file5":"1338653679","file3":"1338653657"},"map_files_photo_id_array":[{"photo_id":"1338653679","filename":"file5"},{"photo_id":"1338653655","filename":"file2"},{"photo_id":"1338653674","filename":"file4"},{"photo_id":"1338653647","filename":"file1"},{"photo_id":"1338653643","filename":"file0"},{"photo_id":"1338653657","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338653657":["hashtag1","hashtag2"]},{"1338653674":["hashtag1","hashtag2"]},{"1338653647":["hashtag1","hashtag2"]},{"1338653655":["hashtag1","hashtag2"]},{"1338653679":["hashtag1","hashtag2"]},{"1338653643":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338653657, 1338653674, 1338653647, 1338653655, 1338653679, 1338653643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.406569957733154 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:20:32.600931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/06/image_20022025_11_07_05_10345.jpg', '/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_14_9503.jpg', '/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_25_10344.jpg', '/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_35_10346.jpg', '/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_45_9465.jpg', '/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_55_10425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/06/image_20022025_11_07_05_10345.jpg
/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_14_9503.jpg
/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_25_10344.jpg
/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_35_10346.jpg
/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_45_9465.jpg
/home/pi/Desktop/images/20022025/11/07/image_20022025_11_07_55_10425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338653702","1338653711","1338653705","1338653708","1338653713","1338653716"],"photo_ids_order":["1338653702","1338653705","1338653708","1338653711","1338653713","1338653716"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f98c0403f3ddd7cabbc247d1fa3aee25.jpg","text":"TemporaryFile(/tmp/multipartBody3613465042799381355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075693199,"filename":"image_20022025_11_07_05_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a36f26a3b00140e9413402eff8c53491.jpg","text":"TemporaryFile(/tmp/multipartBody3461126481816843184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075693199,"filename":"image_20022025_11_07_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c9ad7c17f10df0278ee7aaa00917df1.jpg","text":"TemporaryFile(/tmp/multipartBody7885341265933605940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075693199,"filename":"image_20022025_11_07_14_9503.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56b88a02a74bf4506dad44322724cbb5.jpg","text":"TemporaryFile(/tmp/multipartBody8327904888843300141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075693199,"filename":"image_20022025_11_07_25_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65eb4213f6c24920bee0e21c9a69e38e.jpg","text":"TemporaryFile(/tmp/multipartBody7461594502512668705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075693199,"filename":"image_20022025_11_07_45_9465.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41636851d5aa2b1de26cd3af26a55eeb.jpg","text":"TemporaryFile(/tmp/multipartBody5513334588149646112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075693199,"filename":"image_20022025_11_07_55_10425.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338653708","file1":"1338653705","file0":"1338653702","file4":"1338653713","file5":"1338653716","file3":"1338653711"},"map_files_photo_id_array":[{"photo_id":"1338653716","filename":"file5"},{"photo_id":"1338653708","filename":"file2"},{"photo_id":"1338653713","filename":"file4"},{"photo_id":"1338653705","filename":"file1"},{"photo_id":"1338653702","filename":"file0"},{"photo_id":"1338653711","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338653702":["hashtag1","hashtag2"]},{"1338653711":["hashtag1","hashtag2"]},{"1338653705":["hashtag1","hashtag2"]},{"1338653708":["hashtag1","hashtag2"]},{"1338653713":["hashtag1","hashtag2"]},{"1338653716":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338653702, 1338653711, 1338653705, 1338653708, 1338653713, 1338653716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33019709587097 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:21:32.904174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/07/image_20022025_11_08_04_9349.jpg', '/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_15_10325.jpg', '/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_25_10339.jpg', '/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_34_9336.jpg', '/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_45_10387.jpg', '/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_55_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/07/image_20022025_11_08_04_9349.jpg
/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_15_10325.jpg
/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_25_10339.jpg
/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_34_9336.jpg
/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_45_10387.jpg
/home/pi/Desktop/images/20022025/11/08/image_20022025_11_08_55_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338653780","1338653813","1338653807","1338653812","1338653811","1338653814"],"photo_ids_order":["1338653780","1338653807","1338653811","1338653812","1338653813","1338653814"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/661f5b96b03f57ea1b320621a798826c.jpg","text":"TemporaryFile(/tmp/multipartBody7030439170254731634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075753482,"filename":"image_20022025_11_08_04_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70b85367ad5710f473bf37e0304448e7.jpg","text":"TemporaryFile(/tmp/multipartBody4085993901663394284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075753482,"filename":"image_20022025_11_08_45_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1e647b3f17afdb333156d67481247eff.jpg","text":"TemporaryFile(/tmp/multipartBody8912294664125715248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075753482,"filename":"image_20022025_11_08_15_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ec30e40e931f7b46d4db0c4e3da5d5d7.jpg","text":"TemporaryFile(/tmp/multipartBody4874961037278297391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075753482,"filename":"image_20022025_11_08_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1b804e9f213c2ebc256c3397d3349678.jpg","text":"TemporaryFile(/tmp/multipartBody1204450920680269803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075753482,"filename":"image_20022025_11_08_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/946fdb4300139cc41a1a288e9809a894.jpg","text":"TemporaryFile(/tmp/multipartBody1239198123015286927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075753482,"filename":"image_20022025_11_08_55_10344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338653811","file1":"1338653807","file0":"1338653780","file4":"1338653813","file5":"1338653814","file3":"1338653812"},"map_files_photo_id_array":[{"photo_id":"1338653814","filename":"file5"},{"photo_id":"1338653811","filename":"file2"},{"photo_id":"1338653813","filename":"file4"},{"photo_id":"1338653807","filename":"file1"},{"photo_id":"1338653780","filename":"file0"},{"photo_id":"1338653812","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338653780":["hashtag1","hashtag2"]},{"1338653813":["hashtag1","hashtag2"]},{"1338653807":["hashtag1","hashtag2"]},{"1338653812":["hashtag1","hashtag2"]},{"1338653811":["hashtag1","hashtag2"]},{"1338653814":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338653780, 1338653813, 1338653807, 1338653812, 1338653811, 1338653814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.29082989692688 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:22:33.023626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/08/image_20022025_11_09_04_9423.jpg', '/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_15_10433.jpg', '/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_24_9450.jpg', '/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_35_10339.jpg', '/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_45_10357.jpg', '/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_54_9402.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/08/image_20022025_11_09_04_9423.jpg
/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_15_10433.jpg
/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_24_9450.jpg
/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_35_10339.jpg
/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_45_10357.jpg
/home/pi/Desktop/images/20022025/11/09/image_20022025_11_09_54_9402.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338653903","1338653884","1338653886","1338653895","1338653889","1338653880"],"photo_ids_order":["1338653880","1338653884","1338653886","1338653889","1338653895","1338653903"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5334c759be90ad25497508c268b3600d.jpg","text":"TemporaryFile(/tmp/multipartBody3899308928702595244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075813604,"filename":"image_20022025_11_09_54_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3bc2d4da01c7bf6d4ec106f79d1fdb7.jpg","text":"TemporaryFile(/tmp/multipartBody4371150870134284177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075813604,"filename":"image_20022025_11_09_15_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81e1514d1275d1f13984cf56bd50da1e.jpg","text":"TemporaryFile(/tmp/multipartBody6743861769059733909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075813604,"filename":"image_20022025_11_09_24_9450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/786bdfff21e9a32232b62d3b663f8047.jpg","text":"TemporaryFile(/tmp/multipartBody5293793394827706539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075813604,"filename":"image_20022025_11_09_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/151f8d656395495db8783e78395d3fb6.jpg","text":"TemporaryFile(/tmp/multipartBody2308575661771229836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075813604,"filename":"image_20022025_11_09_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a9d8dc6375bee84626da028cd35cf01.jpg","text":"TemporaryFile(/tmp/multipartBody9099731836994908310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075813604,"filename":"image_20022025_11_09_04_9423.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338653886","file1":"1338653884","file0":"1338653880","file4":"1338653895","file5":"1338653903","file3":"1338653889"},"map_files_photo_id_array":[{"photo_id":"1338653903","filename":"file5"},{"photo_id":"1338653886","filename":"file2"},{"photo_id":"1338653895","filename":"file4"},{"photo_id":"1338653884","filename":"file1"},{"photo_id":"1338653880","filename":"file0"},{"photo_id":"1338653889","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338653903":["hashtag1","hashtag2"]},{"1338653884":["hashtag1","hashtag2"]},{"1338653886":["hashtag1","hashtag2"]},{"1338653895":["hashtag1","hashtag2"]},{"1338653889":["hashtag1","hashtag2"]},{"1338653880":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338653903, 1338653884, 1338653886, 1338653895, 1338653889, 1338653880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44075632095337 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:23:32.049947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/09/image_20022025_11_10_05_10385.jpg', '/home/pi/Desktop/images/20022025/11/10/image_20022025_11_10_25_10458.jpg', '/home/pi/Desktop/images/20022025/11/10/image_20022025_11_10_35_10345.jpg', '/home/pi/Desktop/images/20022025/11/10/image_20022025_11_10_44_9320.jpg', '/home/pi/Desktop/images/20022025/11/10/image_20022025_11_10_55_10445.jpg', '/home/pi/Desktop/images/20022025/11/10/image_20022025_11_11_05_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/09/image_20022025_11_10_05_10385.jpg
/home/pi/Desktop/images/20022025/11/10/image_20022025_11_10_25_10458.jpg
/home/pi/Desktop/images/20022025/11/10/image_20022025_11_10_35_10345.jpg
/home/pi/Desktop/images/20022025/11/10/image_20022025_11_10_44_9320.jpg
/home/pi/Desktop/images/20022025/11/10/image_20022025_11_10_55_10445.jpg
/home/pi/Desktop/images/20022025/11/10/image_20022025_11_11_05_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338653918","1338653926","1338653929","1338653928","1338653922","1338653931"],"photo_ids_order":["1338653918","1338653922","1338653926","1338653928","1338653929","1338653931"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/586be7a6fb77af302138123cd57c5e2a.jpg","text":"TemporaryFile(/tmp/multipartBody4683767603424606344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075872614,"filename":"image_20022025_11_10_05_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9bd6da2f0c2c8b47d4f77325499eb41e.jpg","text":"TemporaryFile(/tmp/multipartBody6580190960008203013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075872614,"filename":"image_20022025_11_10_35_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d703fa7764373c677983c37adf5e6cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8302806624356107583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075872614,"filename":"image_20022025_11_10_55_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ae9a281ee41ff4d0c16a1d3d70644dd8.jpg","text":"TemporaryFile(/tmp/multipartBody3719833337039006807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075872614,"filename":"image_20022025_11_10_44_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26f1a99669486f256b818dc79d0ec106.jpg","text":"TemporaryFile(/tmp/multipartBody5505571241474230451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075872614,"filename":"image_20022025_11_10_25_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18c47e37b9b071a9a0d21451ee1eda5c.jpg","text":"TemporaryFile(/tmp/multipartBody172235674654266786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075872614,"filename":"image_20022025_11_11_05_10355.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338653926","file1":"1338653922","file0":"1338653918","file4":"1338653929","file5":"1338653931","file3":"1338653928"},"map_files_photo_id_array":[{"photo_id":"1338653931","filename":"file5"},{"photo_id":"1338653926","filename":"file2"},{"photo_id":"1338653929","filename":"file4"},{"photo_id":"1338653922","filename":"file1"},{"photo_id":"1338653918","filename":"file0"},{"photo_id":"1338653928","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338653918":["hashtag1","hashtag2"]},{"1338653926":["hashtag1","hashtag2"]},{"1338653929":["hashtag1","hashtag2"]},{"1338653928":["hashtag1","hashtag2"]},{"1338653922":["hashtag1","hashtag2"]},{"1338653931":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338653918, 1338653926, 1338653929, 1338653928, 1338653922, 1338653931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.678043127059937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:24:32.418649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_15_9444.jpg', '/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_25_10327.jpg', '/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_34_9332.jpg', '/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_45_10337.jpg', '/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_55_10329.jpg', '/home/pi/Desktop/images/20022025/11/11/image_20022025_11_12_04_9325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_15_9444.jpg
/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_25_10327.jpg
/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_34_9332.jpg
/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_45_10337.jpg
/home/pi/Desktop/images/20022025/11/11/image_20022025_11_11_55_10329.jpg
/home/pi/Desktop/images/20022025/11/11/image_20022025_11_12_04_9325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338653966","1338653968","1338653959","1338653970","1338653964","1338653963"],"photo_ids_order":["1338653959","1338653963","1338653964","1338653966","1338653968","1338653970"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50fa4897e74a4bea7c4870d1320a2b1e.jpg","text":"TemporaryFile(/tmp/multipartBody7972183741275222969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075933246,"filename":"image_20022025_11_11_45_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/766e0830010461671ec0e9e7c9b5414c.jpg","text":"TemporaryFile(/tmp/multipartBody7247805942042764176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075933246,"filename":"image_20022025_11_11_55_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7bc04f66b6c6c6c07ab1d5370b877f86.jpg","text":"TemporaryFile(/tmp/multipartBody5133171662204128283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075933246,"filename":"image_20022025_11_11_15_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e99e877e2aae5eeac6048e4691cffa21.jpg","text":"TemporaryFile(/tmp/multipartBody3052286934908222425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075933246,"filename":"image_20022025_11_12_04_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/284a2e6f8310969e8a565db22e0f742f.jpg","text":"TemporaryFile(/tmp/multipartBody4986198113944452612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075933246,"filename":"image_20022025_11_11_34_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7066e3a4f5cb04feda13e0d623ec3635.jpg","text":"TemporaryFile(/tmp/multipartBody4548402885370820025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075933246,"filename":"image_20022025_11_11_25_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338653964","file1":"1338653963","file0":"1338653959","file4":"1338653968","file5":"1338653970","file3":"1338653966"},"map_files_photo_id_array":[{"photo_id":"1338653970","filename":"file5"},{"photo_id":"1338653964","filename":"file2"},{"photo_id":"1338653968","filename":"file4"},{"photo_id":"1338653963","filename":"file1"},{"photo_id":"1338653959","filename":"file0"},{"photo_id":"1338653966","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338653966":["hashtag1","hashtag2"]},{"1338653968":["hashtag1","hashtag2"]},{"1338653959":["hashtag1","hashtag2"]},{"1338653970":["hashtag1","hashtag2"]},{"1338653964":["hashtag1","hashtag2"]},{"1338653963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338653966, 1338653968, 1338653959, 1338653970, 1338653964, 1338653963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.295337200164795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:25:32.887347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_15_10425.jpg', '/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_25_10382.jpg', '/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_34_9336.jpg', '/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_45_10342.jpg', '/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_55_10349.jpg', '/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_15_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_15_10425.jpg
/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_25_10382.jpg
/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_34_9336.jpg
/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_45_10342.jpg
/home/pi/Desktop/images/20022025/11/12/image_20022025_11_12_55_10349.jpg
/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_15_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654008","1338654010","1338654012","1338654006","1338654009","1338654011"],"photo_ids_order":["1338654006","1338654008","1338654009","1338654010","1338654011","1338654012"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4345a987f65096b2e2679506bf9df6b1.jpg","text":"TemporaryFile(/tmp/multipartBody4021813950368310763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075993478,"filename":"image_20022025_11_12_25_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01989ee8a1c87e13c422f442ac2cbf22.jpg","text":"TemporaryFile(/tmp/multipartBody2916120970934136428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075993478,"filename":"image_20022025_11_12_45_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82e8b284d9a0cd531a31d6c8ab61a86f.jpg","text":"TemporaryFile(/tmp/multipartBody5488600999175423735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075993478,"filename":"image_20022025_11_13_15_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bedd8a60b95da35e4b08ea73c8100d00.jpg","text":"TemporaryFile(/tmp/multipartBody6820967856957461923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075993478,"filename":"image_20022025_11_12_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb819954501f88487c634c3c149557e3.jpg","text":"TemporaryFile(/tmp/multipartBody5039637292119511146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075993478,"filename":"image_20022025_11_12_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92519860b51dd727b70dc1410e9fc10c.jpg","text":"TemporaryFile(/tmp/multipartBody928550926572992532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740075993478,"filename":"image_20022025_11_12_55_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654009","file1":"1338654008","file0":"1338654006","file4":"1338654011","file5":"1338654012","file3":"1338654010"},"map_files_photo_id_array":[{"photo_id":"1338654012","filename":"file5"},{"photo_id":"1338654009","filename":"file2"},{"photo_id":"1338654011","filename":"file4"},{"photo_id":"1338654008","filename":"file1"},{"photo_id":"1338654006","filename":"file0"},{"photo_id":"1338654010","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654008":["hashtag1","hashtag2"]},{"1338654010":["hashtag1","hashtag2"]},{"1338654012":["hashtag1","hashtag2"]},{"1338654006":["hashtag1","hashtag2"]},{"1338654009":["hashtag1","hashtag2"]},{"1338654011":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654008, 1338654010, 1338654012, 1338654006, 1338654009, 1338654011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6114456653595 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:26:32.934892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_24_9336.jpg', '/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_35_10464.jpg', '/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_45_10333.jpg', '/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_54_9341.jpg', '/home/pi/Desktop/images/20022025/11/13/image_20022025_11_14_05_10326.jpg', '/home/pi/Desktop/images/20022025/11/14/image_20022025_11_14_15_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_24_9336.jpg
/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_35_10464.jpg
/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_45_10333.jpg
/home/pi/Desktop/images/20022025/11/13/image_20022025_11_13_54_9341.jpg
/home/pi/Desktop/images/20022025/11/13/image_20022025_11_14_05_10326.jpg
/home/pi/Desktop/images/20022025/11/14/image_20022025_11_14_15_10322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654035","1338654049","1338654043","1338654060","1338654057","1338654039"],"photo_ids_order":["1338654035","1338654039","1338654043","1338654049","1338654057","1338654060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/37de0bccca5caca71ec1d2b1a2300398.jpg","text":"TemporaryFile(/tmp/multipartBody3503670630518942715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076053520,"filename":"image_20022025_11_13_24_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a98a1396e63d2eaa4683d0086072d994.jpg","text":"TemporaryFile(/tmp/multipartBody8177652959362036720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076053520,"filename":"image_20022025_11_13_54_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a76240f07749c8200d629f0a2e2e74b2.jpg","text":"TemporaryFile(/tmp/multipartBody5819857939305610428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076053520,"filename":"image_20022025_11_13_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f8a71d0d599905e6b31a0a288912f85.jpg","text":"TemporaryFile(/tmp/multipartBody6576568038309339695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076053520,"filename":"image_20022025_11_14_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1dc9ca3f440cad61498deaf9896c382a.jpg","text":"TemporaryFile(/tmp/multipartBody3387939439017500260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076053520,"filename":"image_20022025_11_14_05_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5c6d295fab831480633ac69804403562.jpg","text":"TemporaryFile(/tmp/multipartBody1770787015109763016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076053520,"filename":"image_20022025_11_13_35_10464.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654043","file1":"1338654039","file0":"1338654035","file4":"1338654057","file5":"1338654060","file3":"1338654049"},"map_files_photo_id_array":[{"photo_id":"1338654060","filename":"file5"},{"photo_id":"1338654043","filename":"file2"},{"photo_id":"1338654057","filename":"file4"},{"photo_id":"1338654039","filename":"file1"},{"photo_id":"1338654035","filename":"file0"},{"photo_id":"1338654049","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654035":["hashtag1","hashtag2"]},{"1338654049":["hashtag1","hashtag2"]},{"1338654043":["hashtag1","hashtag2"]},{"1338654060":["hashtag1","hashtag2"]},{"1338654057":["hashtag1","hashtag2"]},{"1338654039":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654035, 1338654049, 1338654043, 1338654060, 1338654057, 1338654039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8354172706604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:27:33.132620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/14/image_20022025_11_14_35_10343.jpg', '/home/pi/Desktop/images/20022025/11/14/image_20022025_11_14_45_10323.jpg', '/home/pi/Desktop/images/20022025/11/14/image_20022025_11_15_05_10417.jpg', '/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_15_10344.jpg', '/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_24_9328.jpg', '/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_35_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/14/image_20022025_11_14_35_10343.jpg
/home/pi/Desktop/images/20022025/11/14/image_20022025_11_14_45_10323.jpg
/home/pi/Desktop/images/20022025/11/14/image_20022025_11_15_05_10417.jpg
/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_15_10344.jpg
/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_24_9328.jpg
/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_35_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654184","1338654076","1338654220","1338654223","1338654074","1338654071"],"photo_ids_order":["1338654071","1338654074","1338654076","1338654184","1338654220","1338654223"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/009174869be6b43725cfa79645eac471.jpg","text":"TemporaryFile(/tmp/multipartBody6509870745720761918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076113702,"filename":"image_20022025_11_15_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4984e0178f08997cf82d02b23fbad63d.jpg","text":"TemporaryFile(/tmp/multipartBody3635309064816804133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076113702,"filename":"image_20022025_11_15_05_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/758512927c65c608d5d05eaefef53727.jpg","text":"TemporaryFile(/tmp/multipartBody2567613665711639934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076113702,"filename":"image_20022025_11_15_24_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd77214ca782f026ad3856b345cef196.jpg","text":"TemporaryFile(/tmp/multipartBody6854349756563688544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076113702,"filename":"image_20022025_11_15_35_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd4405a3f926e493290260e54bd4dcb0.jpg","text":"TemporaryFile(/tmp/multipartBody5828499726258165289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076113702,"filename":"image_20022025_11_14_45_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/19cd84388ed61db0b9e1d487454b1947.jpg","text":"TemporaryFile(/tmp/multipartBody8139818919045399234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076113702,"filename":"image_20022025_11_14_35_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654076","file1":"1338654074","file0":"1338654071","file4":"1338654220","file5":"1338654223","file3":"1338654184"},"map_files_photo_id_array":[{"photo_id":"1338654223","filename":"file5"},{"photo_id":"1338654076","filename":"file2"},{"photo_id":"1338654220","filename":"file4"},{"photo_id":"1338654074","filename":"file1"},{"photo_id":"1338654071","filename":"file0"},{"photo_id":"1338654184","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654184":["hashtag1","hashtag2"]},{"1338654076":["hashtag1","hashtag2"]},{"1338654220":["hashtag1","hashtag2"]},{"1338654223":["hashtag1","hashtag2"]},{"1338654074":["hashtag1","hashtag2"]},{"1338654071":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654184, 1338654076, 1338654220, 1338654223, 1338654074, 1338654071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.228559494018555 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:28:32.189523
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_45_10341.jpg', '/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_55_9454.jpg', '/home/pi/Desktop/images/20022025/11/15/image_20022025_11_16_05_10411.jpg', '/home/pi/Desktop/images/20022025/11/16/image_20022025_11_16_25_10356.jpg', '/home/pi/Desktop/images/20022025/11/16/image_20022025_11_16_35_10386.jpg', '/home/pi/Desktop/images/20022025/11/16/image_20022025_11_16_44_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_45_10341.jpg
/home/pi/Desktop/images/20022025/11/15/image_20022025_11_15_55_9454.jpg
/home/pi/Desktop/images/20022025/11/15/image_20022025_11_16_05_10411.jpg
/home/pi/Desktop/images/20022025/11/16/image_20022025_11_16_25_10356.jpg
/home/pi/Desktop/images/20022025/11/16/image_20022025_11_16_35_10386.jpg
/home/pi/Desktop/images/20022025/11/16/image_20022025_11_16_44_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654248","1338654244","1338654252","1338654240","1338654242","1338654251"],"photo_ids_order":["1338654240","1338654242","1338654244","1338654248","1338654251","1338654252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3067d4522692fa57d42872508ca3ea79.jpg","text":"TemporaryFile(/tmp/multipartBody5633761032479625218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076172746,"filename":"image_20022025_11_16_25_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce7a0b9d6703d5e6de31298b279912a1.jpg","text":"TemporaryFile(/tmp/multipartBody730399292996467549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076172746,"filename":"image_20022025_11_16_05_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa32c49f466b6cf0474f7fb858917296.jpg","text":"TemporaryFile(/tmp/multipartBody4468654943842767300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076172746,"filename":"image_20022025_11_16_44_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7dd1d0a2cfdb353fab146dc91def185.jpg","text":"TemporaryFile(/tmp/multipartBody5312853927880103241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076172746,"filename":"image_20022025_11_15_45_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e9acb554e397890deb78c3fd4a2cfc6.jpg","text":"TemporaryFile(/tmp/multipartBody9173591145901781983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076172746,"filename":"image_20022025_11_15_55_9454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cef29f26111fd70fae97a7aa179281c3.jpg","text":"TemporaryFile(/tmp/multipartBody7792143792104989867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076172746,"filename":"image_20022025_11_16_35_10386.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654244","file1":"1338654242","file0":"1338654240","file4":"1338654251","file5":"1338654252","file3":"1338654248"},"map_files_photo_id_array":[{"photo_id":"1338654252","filename":"file5"},{"photo_id":"1338654244","filename":"file2"},{"photo_id":"1338654251","filename":"file4"},{"photo_id":"1338654242","filename":"file1"},{"photo_id":"1338654240","filename":"file0"},{"photo_id":"1338654248","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654248":["hashtag1","hashtag2"]},{"1338654244":["hashtag1","hashtag2"]},{"1338654252":["hashtag1","hashtag2"]},{"1338654240":["hashtag1","hashtag2"]},{"1338654242":["hashtag1","hashtag2"]},{"1338654251":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654248, 1338654244, 1338654252, 1338654240, 1338654242, 1338654251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69021010398865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:29:32.492449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/16/image_20022025_11_16_55_10337.jpg', '/home/pi/Desktop/images/20022025/11/16/image_20022025_11_17_05_10330.jpg', '/home/pi/Desktop/images/20022025/11/17/image_20022025_11_17_15_9499.jpg', '/home/pi/Desktop/images/20022025/11/17/image_20022025_11_17_45_10462.jpg', '/home/pi/Desktop/images/20022025/11/17/image_20022025_11_17_55_10337.jpg', '/home/pi/Desktop/images/20022025/11/17/image_20022025_11_18_04_9379.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/16/image_20022025_11_16_55_10337.jpg
/home/pi/Desktop/images/20022025/11/16/image_20022025_11_17_05_10330.jpg
/home/pi/Desktop/images/20022025/11/17/image_20022025_11_17_15_9499.jpg
/home/pi/Desktop/images/20022025/11/17/image_20022025_11_17_45_10462.jpg
/home/pi/Desktop/images/20022025/11/17/image_20022025_11_17_55_10337.jpg
/home/pi/Desktop/images/20022025/11/17/image_20022025_11_18_04_9379.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654295","1338654286","1338654289","1338654297","1338654299","1338654303"],"photo_ids_order":["1338654286","1338654289","1338654295","1338654297","1338654299","1338654303"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/27d06a65bdebd3b87711dbbb873c367f.jpg","text":"TemporaryFile(/tmp/multipartBody4668981865517587388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076233082,"filename":"image_20022025_11_17_15_9499.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96d9f23e4eff40db6cb6a51e66071392.jpg","text":"TemporaryFile(/tmp/multipartBody5583880165229493430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076233082,"filename":"image_20022025_11_16_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/790840d51e1c1a7b39427d9905506281.jpg","text":"TemporaryFile(/tmp/multipartBody5158491688927737331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076233082,"filename":"image_20022025_11_17_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75bf46f0e767f01deb3150176c0abc93.jpg","text":"TemporaryFile(/tmp/multipartBody1449752786788382984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076233082,"filename":"image_20022025_11_17_45_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eff23dc0968dfa694a89f5a941b9835f.jpg","text":"TemporaryFile(/tmp/multipartBody2109767156034917014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076233082,"filename":"image_20022025_11_17_55_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/39a7de3d91323fe85d348702418b4d01.jpg","text":"TemporaryFile(/tmp/multipartBody7513605936901585540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076233082,"filename":"image_20022025_11_18_04_9379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654295","file1":"1338654289","file0":"1338654286","file4":"1338654299","file5":"1338654303","file3":"1338654297"},"map_files_photo_id_array":[{"photo_id":"1338654303","filename":"file5"},{"photo_id":"1338654295","filename":"file2"},{"photo_id":"1338654299","filename":"file4"},{"photo_id":"1338654289","filename":"file1"},{"photo_id":"1338654286","filename":"file0"},{"photo_id":"1338654297","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654295":["hashtag1","hashtag2"]},{"1338654286":["hashtag1","hashtag2"]},{"1338654289":["hashtag1","hashtag2"]},{"1338654297":["hashtag1","hashtag2"]},{"1338654299":["hashtag1","hashtag2"]},{"1338654303":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654295, 1338654286, 1338654289, 1338654297, 1338654299, 1338654303)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.810561656951904 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:30:32.710200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_15_10322.jpg', '/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_24_9334.jpg', '/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_35_10430.jpg', '/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_45_10330.jpg', '/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_54_9339.jpg', '/home/pi/Desktop/images/20022025/11/18/image_20022025_11_19_05_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_15_10322.jpg
/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_24_9334.jpg
/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_35_10430.jpg
/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_45_10330.jpg
/home/pi/Desktop/images/20022025/11/18/image_20022025_11_18_54_9339.jpg
/home/pi/Desktop/images/20022025/11/18/image_20022025_11_19_05_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654340","1338654342","1338654330","1338654333","1338654327","1338654344"],"photo_ids_order":["1338654327","1338654330","1338654333","1338654340","1338654342","1338654344"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dfee7bc2d07a2bb44aa0d8814b53ef95.jpg","text":"TemporaryFile(/tmp/multipartBody5419978010640606317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076293367,"filename":"image_20022025_11_18_45_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1fed2fda4df1b7d2f185d3768140dfd.jpg","text":"TemporaryFile(/tmp/multipartBody7875199497996824980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076293367,"filename":"image_20022025_11_18_54_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6058cb61dde03ccfa3ef3caf10cd44bb.jpg","text":"TemporaryFile(/tmp/multipartBody6751990944299894853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076293367,"filename":"image_20022025_11_18_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83c1985ec7bbe338b9d8386400c8f33a.jpg","text":"TemporaryFile(/tmp/multipartBody8081491855974505316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076293367,"filename":"image_20022025_11_18_35_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bfc1ea611c842b83a18e5e1e03ea0161.jpg","text":"TemporaryFile(/tmp/multipartBody1924673086993388613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076293367,"filename":"image_20022025_11_18_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/edc4cdebbeb15da7385e8ea3dbcaec09.jpg","text":"TemporaryFile(/tmp/multipartBody6216904751668808657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076293367,"filename":"image_20022025_11_19_05_10441.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654333","file1":"1338654330","file0":"1338654327","file4":"1338654342","file5":"1338654344","file3":"1338654340"},"map_files_photo_id_array":[{"photo_id":"1338654344","filename":"file5"},{"photo_id":"1338654333","filename":"file2"},{"photo_id":"1338654342","filename":"file4"},{"photo_id":"1338654330","filename":"file1"},{"photo_id":"1338654327","filename":"file0"},{"photo_id":"1338654340","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654340":["hashtag1","hashtag2"]},{"1338654342":["hashtag1","hashtag2"]},{"1338654330":["hashtag1","hashtag2"]},{"1338654333":["hashtag1","hashtag2"]},{"1338654327":["hashtag1","hashtag2"]},{"1338654344":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654340, 1338654342, 1338654330, 1338654333, 1338654327, 1338654344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.372894048690796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:31:32.842268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_15_10345.jpg', '/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_25_9478.jpg', '/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_35_10348.jpg', '/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_44_9320.jpg', '/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_55_10393.jpg', '/home/pi/Desktop/images/20022025/11/19/image_20022025_11_20_05_10356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_15_10345.jpg
/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_25_9478.jpg
/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_35_10348.jpg
/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_44_9320.jpg
/home/pi/Desktop/images/20022025/11/19/image_20022025_11_19_55_10393.jpg
/home/pi/Desktop/images/20022025/11/19/image_20022025_11_20_05_10356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654382","1338654379","1338654386","1338654380","1338654374","1338654377"],"photo_ids_order":["1338654374","1338654377","1338654379","1338654380","1338654382","1338654386"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f350f3d881c9aee234d9c5f0d093e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody5196464393749839031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076353401,"filename":"image_20022025_11_19_55_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/362939411cb9bca3367ac27cda535903.jpg","text":"TemporaryFile(/tmp/multipartBody2035411530523368456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076353401,"filename":"image_20022025_11_19_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1080d8a54658671342048accf0fd9a55.jpg","text":"TemporaryFile(/tmp/multipartBody7043591800383465652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076353401,"filename":"image_20022025_11_20_05_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ebed7f6f97caa5dbac65fc3893513bf.jpg","text":"TemporaryFile(/tmp/multipartBody2566174411170449748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076353401,"filename":"image_20022025_11_19_44_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/800121ff703913e66012f651ab49b6d8.jpg","text":"TemporaryFile(/tmp/multipartBody5850572252726112058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076353401,"filename":"image_20022025_11_19_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/33f3b31245db498fb6fec48a6a3f4f15.jpg","text":"TemporaryFile(/tmp/multipartBody916179312552971349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076353401,"filename":"image_20022025_11_19_25_9478.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654379","file1":"1338654377","file0":"1338654374","file4":"1338654382","file5":"1338654386","file3":"1338654380"},"map_files_photo_id_array":[{"photo_id":"1338654386","filename":"file5"},{"photo_id":"1338654379","filename":"file2"},{"photo_id":"1338654382","filename":"file4"},{"photo_id":"1338654377","filename":"file1"},{"photo_id":"1338654374","filename":"file0"},{"photo_id":"1338654380","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654382":["hashtag1","hashtag2"]},{"1338654379":["hashtag1","hashtag2"]},{"1338654386":["hashtag1","hashtag2"]},{"1338654380":["hashtag1","hashtag2"]},{"1338654374":["hashtag1","hashtag2"]},{"1338654377":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654382, 1338654379, 1338654386, 1338654380, 1338654374, 1338654377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.27493643760681 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:32:33.132493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/20/image_20022025_11_20_14_9336.jpg', '/home/pi/Desktop/images/20022025/11/20/image_20022025_11_20_25_10441.jpg', '/home/pi/Desktop/images/20022025/11/20/image_20022025_11_20_45_9451.jpg', '/home/pi/Desktop/images/20022025/11/20/image_20022025_11_20_55_10340.jpg', '/home/pi/Desktop/images/20022025/11/21/image_20022025_11_21_25_10329.jpg', '/home/pi/Desktop/images/20022025/11/21/image_20022025_11_21_45_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/20/image_20022025_11_20_14_9336.jpg
/home/pi/Desktop/images/20022025/11/20/image_20022025_11_20_25_10441.jpg
/home/pi/Desktop/images/20022025/11/20/image_20022025_11_20_45_9451.jpg
/home/pi/Desktop/images/20022025/11/20/image_20022025_11_20_55_10340.jpg
/home/pi/Desktop/images/20022025/11/21/image_20022025_11_21_25_10329.jpg
/home/pi/Desktop/images/20022025/11/21/image_20022025_11_21_45_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654419","1338654410","1338654421","1338654418","1338654420","1338654422"],"photo_ids_order":["1338654410","1338654418","1338654419","1338654420","1338654421","1338654422"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2a3d26c636c3220b83df72d71cd8e11.jpg","text":"TemporaryFile(/tmp/multipartBody3174463647388987474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076413701,"filename":"image_20022025_11_20_45_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/edfe2c26b3594a89b1116de199108f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7473731777634015161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076413701,"filename":"image_20022025_11_20_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/250b5feb4fe44302a498445c9f0eeaa9.jpg","text":"TemporaryFile(/tmp/multipartBody3071694284482202980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076413701,"filename":"image_20022025_11_21_25_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f47754ebfbe0a3f789b4f0411a1be091.jpg","text":"TemporaryFile(/tmp/multipartBody3275854648987080405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076413701,"filename":"image_20022025_11_20_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/299be4c85cc309451f39781492d2a1a7.jpg","text":"TemporaryFile(/tmp/multipartBody5089017538702232329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076413701,"filename":"image_20022025_11_20_55_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0f805ba2d5c29a32a2924cbcea5255ba.jpg","text":"TemporaryFile(/tmp/multipartBody5845108256189717218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076413701,"filename":"image_20022025_11_21_45_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654419","file1":"1338654418","file0":"1338654410","file4":"1338654421","file5":"1338654422","file3":"1338654420"},"map_files_photo_id_array":[{"photo_id":"1338654422","filename":"file5"},{"photo_id":"1338654419","filename":"file2"},{"photo_id":"1338654421","filename":"file4"},{"photo_id":"1338654418","filename":"file1"},{"photo_id":"1338654410","filename":"file0"},{"photo_id":"1338654420","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654419":["hashtag1","hashtag2"]},{"1338654410":["hashtag1","hashtag2"]},{"1338654421":["hashtag1","hashtag2"]},{"1338654418":["hashtag1","hashtag2"]},{"1338654420":["hashtag1","hashtag2"]},{"1338654422":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654419, 1338654410, 1338654421, 1338654418, 1338654420, 1338654422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.882527112960815 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:33:32.477932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/21/image_20022025_11_21_55_10328.jpg', '/home/pi/Desktop/images/20022025/11/21/image_20022025_11_22_04_9337.jpg', '/home/pi/Desktop/images/20022025/11/22/image_20022025_11_22_15_10346.jpg', '/home/pi/Desktop/images/20022025/11/22/image_20022025_11_22_25_10328.jpg', '/home/pi/Desktop/images/20022025/11/22/image_20022025_11_22_35_9527.jpg', '/home/pi/Desktop/images/20022025/11/22/image_20022025_11_23_05_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/21/image_20022025_11_21_55_10328.jpg
/home/pi/Desktop/images/20022025/11/21/image_20022025_11_22_04_9337.jpg
/home/pi/Desktop/images/20022025/11/22/image_20022025_11_22_15_10346.jpg
/home/pi/Desktop/images/20022025/11/22/image_20022025_11_22_25_10328.jpg
/home/pi/Desktop/images/20022025/11/22/image_20022025_11_22_35_9527.jpg
/home/pi/Desktop/images/20022025/11/22/image_20022025_11_23_05_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654454","1338654448","1338654450","1338654444","1338654447","1338654452"],"photo_ids_order":["1338654444","1338654447","1338654448","1338654450","1338654452","1338654454"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0152b89194b02751ab5c84a412a6097b.jpg","text":"TemporaryFile(/tmp/multipartBody3790545785349252958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076473029,"filename":"image_20022025_11_23_05_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d3e12e1453326e6b485662bf9e3060a.jpg","text":"TemporaryFile(/tmp/multipartBody6477321568617288158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076473029,"filename":"image_20022025_11_22_15_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46bfe1f72b295e8071c3389a2c888145.jpg","text":"TemporaryFile(/tmp/multipartBody7778433782675273619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076473029,"filename":"image_20022025_11_22_25_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/969841c64500687a34f81a60c016ff50.jpg","text":"TemporaryFile(/tmp/multipartBody5466674093648086421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076473029,"filename":"image_20022025_11_21_55_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90c158b3583454f1138a05a4e085bf3c.jpg","text":"TemporaryFile(/tmp/multipartBody8141056308967939381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076473029,"filename":"image_20022025_11_22_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d97dab362b7e35bdd29ce8c93b94b028.jpg","text":"TemporaryFile(/tmp/multipartBody4246802435675190856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076473029,"filename":"image_20022025_11_22_35_9527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654448","file1":"1338654447","file0":"1338654444","file4":"1338654452","file5":"1338654454","file3":"1338654450"},"map_files_photo_id_array":[{"photo_id":"1338654454","filename":"file5"},{"photo_id":"1338654448","filename":"file2"},{"photo_id":"1338654452","filename":"file4"},{"photo_id":"1338654447","filename":"file1"},{"photo_id":"1338654444","filename":"file0"},{"photo_id":"1338654450","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654454":["hashtag1","hashtag2"]},{"1338654448":["hashtag1","hashtag2"]},{"1338654450":["hashtag1","hashtag2"]},{"1338654444":["hashtag1","hashtag2"]},{"1338654447":["hashtag1","hashtag2"]},{"1338654452":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654454, 1338654448, 1338654450, 1338654444, 1338654447, 1338654452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23137450218201 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:34:32.574813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_15_10321.jpg', '/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_24_9331.jpg', '/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_35_10390.jpg', '/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_45_10348.jpg', '/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_54_9320.jpg', '/home/pi/Desktop/images/20022025/11/23/image_20022025_11_24_05_10377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_15_10321.jpg
/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_24_9331.jpg
/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_35_10390.jpg
/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_45_10348.jpg
/home/pi/Desktop/images/20022025/11/23/image_20022025_11_23_54_9320.jpg
/home/pi/Desktop/images/20022025/11/23/image_20022025_11_24_05_10377.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654490","1338654492","1338654483","1338654485","1338654479","1338654488"],"photo_ids_order":["1338654479","1338654483","1338654485","1338654488","1338654490","1338654492"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52ac30a690ca67d8cc3a282412e8f0c1.jpg","text":"TemporaryFile(/tmp/multipartBody900617472580357607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076533135,"filename":"image_20022025_11_23_54_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbdf251a0fbd9e9f52e6803267eba42d.jpg","text":"TemporaryFile(/tmp/multipartBody1425515724059628896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076533135,"filename":"image_20022025_11_24_05_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7743c95062fb08afe116c78bfc9565b7.jpg","text":"TemporaryFile(/tmp/multipartBody598623116682103374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076533135,"filename":"image_20022025_11_23_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/536c7d0b9191d7fa603aaaa25e155ae4.jpg","text":"TemporaryFile(/tmp/multipartBody6133751171204292309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076533135,"filename":"image_20022025_11_23_35_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/85c53edd903aba79e7db25c01795bec4.jpg","text":"TemporaryFile(/tmp/multipartBody251658330283241397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076533135,"filename":"image_20022025_11_23_15_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca05be41c3dd06fa4e7050278c8ae409.jpg","text":"TemporaryFile(/tmp/multipartBody559084579179485660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076533135,"filename":"image_20022025_11_23_45_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654485","file1":"1338654483","file0":"1338654479","file4":"1338654490","file5":"1338654492","file3":"1338654488"},"map_files_photo_id_array":[{"photo_id":"1338654492","filename":"file5"},{"photo_id":"1338654485","filename":"file2"},{"photo_id":"1338654490","filename":"file4"},{"photo_id":"1338654483","filename":"file1"},{"photo_id":"1338654479","filename":"file0"},{"photo_id":"1338654488","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654490":["hashtag1","hashtag2"]},{"1338654492":["hashtag1","hashtag2"]},{"1338654483":["hashtag1","hashtag2"]},{"1338654485":["hashtag1","hashtag2"]},{"1338654479":["hashtag1","hashtag2"]},{"1338654488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654490, 1338654492, 1338654483, 1338654485, 1338654479, 1338654488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48661494255066 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:35:32.879337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_15_10328.jpg', '/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_24_9336.jpg', '/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_35_10450.jpg', '/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_45_10322.jpg', '/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_54_9321.jpg', '/home/pi/Desktop/images/20022025/11/24/image_20022025_11_25_05_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_15_10328.jpg
/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_24_9336.jpg
/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_35_10450.jpg
/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_45_10322.jpg
/home/pi/Desktop/images/20022025/11/24/image_20022025_11_24_54_9321.jpg
/home/pi/Desktop/images/20022025/11/24/image_20022025_11_25_05_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654544","1338654547","1338654540","1338654513","1338654548","1338654527"],"photo_ids_order":["1338654513","1338654527","1338654540","1338654544","1338654547","1338654548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/effb1aa475893b5c749616e8ebd75e27.jpg","text":"TemporaryFile(/tmp/multipartBody5433618421797946750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076593441,"filename":"image_20022025_11_24_45_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ae4d6cc9c944d66de3639b9b0139fe5.jpg","text":"TemporaryFile(/tmp/multipartBody8011468626902337912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076593441,"filename":"image_20022025_11_24_54_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ae013eb0826fc92471895de8efdac37.jpg","text":"TemporaryFile(/tmp/multipartBody8175064418791416979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076593441,"filename":"image_20022025_11_24_35_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c3caab658a27271a4c2da86ff9945413.jpg","text":"TemporaryFile(/tmp/multipartBody7233277840587278645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076593441,"filename":"image_20022025_11_24_15_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e8b8a8c71f037617b8d33dde70a1680.jpg","text":"TemporaryFile(/tmp/multipartBody8518527613793372267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076593441,"filename":"image_20022025_11_25_05_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7553d582fa90483173c7c77c3f2f9c8.jpg","text":"TemporaryFile(/tmp/multipartBody1386186661342693857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076593441,"filename":"image_20022025_11_24_24_9336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654540","file1":"1338654527","file0":"1338654513","file4":"1338654547","file5":"1338654548","file3":"1338654544"},"map_files_photo_id_array":[{"photo_id":"1338654548","filename":"file5"},{"photo_id":"1338654540","filename":"file2"},{"photo_id":"1338654547","filename":"file4"},{"photo_id":"1338654527","filename":"file1"},{"photo_id":"1338654513","filename":"file0"},{"photo_id":"1338654544","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654544":["hashtag1","hashtag2"]},{"1338654547":["hashtag1","hashtag2"]},{"1338654540":["hashtag1","hashtag2"]},{"1338654513":["hashtag1","hashtag2"]},{"1338654548":["hashtag1","hashtag2"]},{"1338654527":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654544, 1338654547, 1338654540, 1338654513, 1338654548, 1338654527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.57315397262573 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:36:32.828094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_15_10340.jpg', '/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_25_9438.jpg', '/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_35_10355.jpg', '/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_44_9396.jpg', '/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_55_10394.jpg', '/home/pi/Desktop/images/20022025/11/26/image_20022025_11_26_14_9406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_15_10340.jpg
/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_25_9438.jpg
/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_35_10355.jpg
/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_44_9396.jpg
/home/pi/Desktop/images/20022025/11/25/image_20022025_11_25_55_10394.jpg
/home/pi/Desktop/images/20022025/11/26/image_20022025_11_26_14_9406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654592","1338654583","1338654585","1338654579","1338654599","1338654587"],"photo_ids_order":["1338654579","1338654583","1338654585","1338654587","1338654592","1338654599"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a51419ec0f29eda0b98c946c4353839f.jpg","text":"TemporaryFile(/tmp/multipartBody4441592446866401360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076653413,"filename":"image_20022025_11_25_55_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/15e37c6315ebf52f5cc8893b91c6402a.jpg","text":"TemporaryFile(/tmp/multipartBody3938399954388344493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076653413,"filename":"image_20022025_11_25_25_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7861457da04d66a9f1834a262ecf814.jpg","text":"TemporaryFile(/tmp/multipartBody6171381376240825096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076653413,"filename":"image_20022025_11_25_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/33725598a29661ee7cf7c64a559ff999.jpg","text":"TemporaryFile(/tmp/multipartBody2731444808145337927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076653413,"filename":"image_20022025_11_25_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12e41ef1967f580f57705499181b6bc8.jpg","text":"TemporaryFile(/tmp/multipartBody7684127333045229392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076653413,"filename":"image_20022025_11_26_14_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d29f47c7a6948949e893e4e6dd1ba1c.jpg","text":"TemporaryFile(/tmp/multipartBody735039962280735133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076653413,"filename":"image_20022025_11_25_44_9396.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654585","file1":"1338654583","file0":"1338654579","file4":"1338654592","file5":"1338654599","file3":"1338654587"},"map_files_photo_id_array":[{"photo_id":"1338654599","filename":"file5"},{"photo_id":"1338654585","filename":"file2"},{"photo_id":"1338654592","filename":"file4"},{"photo_id":"1338654583","filename":"file1"},{"photo_id":"1338654579","filename":"file0"},{"photo_id":"1338654587","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654592":["hashtag1","hashtag2"]},{"1338654583":["hashtag1","hashtag2"]},{"1338654585":["hashtag1","hashtag2"]},{"1338654579":["hashtag1","hashtag2"]},{"1338654599":["hashtag1","hashtag2"]},{"1338654587":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654592, 1338654583, 1338654585, 1338654579, 1338654599, 1338654587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60796523094177 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:37:33.019680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/26/image_20022025_11_26_25_10352.jpg', '/home/pi/Desktop/images/20022025/11/26/image_20022025_11_26_34_9346.jpg', '/home/pi/Desktop/images/20022025/11/26/image_20022025_11_26_55_10347.jpg', '/home/pi/Desktop/images/20022025/11/26/image_20022025_11_27_04_9399.jpg', '/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_15_10332.jpg', '/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_25_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/26/image_20022025_11_26_25_10352.jpg
/home/pi/Desktop/images/20022025/11/26/image_20022025_11_26_34_9346.jpg
/home/pi/Desktop/images/20022025/11/26/image_20022025_11_26_55_10347.jpg
/home/pi/Desktop/images/20022025/11/26/image_20022025_11_27_04_9399.jpg
/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_15_10332.jpg
/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_25_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654643","1338654649","1338654640","1338654645","1338654647","1338654641"],"photo_ids_order":["1338654640","1338654641","1338654643","1338654645","1338654647","1338654649"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e1aff4ba9828a15e9ccd83045165b692.jpg","text":"TemporaryFile(/tmp/multipartBody3511436718086888244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076713580,"filename":"image_20022025_11_26_55_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cdb5c81da2955e1a6b52f34a9c865d78.jpg","text":"TemporaryFile(/tmp/multipartBody3508437519946067678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076713580,"filename":"image_20022025_11_27_25_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0cf7b168464e11805f1f257c4e517db5.jpg","text":"TemporaryFile(/tmp/multipartBody189754053627121724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076713580,"filename":"image_20022025_11_26_25_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6505c8deb54fb17fdc9b26e0d50e7dcf.jpg","text":"TemporaryFile(/tmp/multipartBody5538100322244591357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076713580,"filename":"image_20022025_11_27_04_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5fbee787d1e330ca8fdc0b6be30deb12.jpg","text":"TemporaryFile(/tmp/multipartBody1286882161650238286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076713580,"filename":"image_20022025_11_27_15_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f994549eff90ac47b5e5a3c7240c916.jpg","text":"TemporaryFile(/tmp/multipartBody2218722301176214519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076713580,"filename":"image_20022025_11_26_34_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654643","file1":"1338654641","file0":"1338654640","file4":"1338654647","file5":"1338654649","file3":"1338654645"},"map_files_photo_id_array":[{"photo_id":"1338654649","filename":"file5"},{"photo_id":"1338654643","filename":"file2"},{"photo_id":"1338654647","filename":"file4"},{"photo_id":"1338654641","filename":"file1"},{"photo_id":"1338654640","filename":"file0"},{"photo_id":"1338654645","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654643":["hashtag1","hashtag2"]},{"1338654649":["hashtag1","hashtag2"]},{"1338654640":["hashtag1","hashtag2"]},{"1338654645":["hashtag1","hashtag2"]},{"1338654647":["hashtag1","hashtag2"]},{"1338654641":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654643, 1338654649, 1338654640, 1338654645, 1338654647, 1338654641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.33061361312866 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:38:33.196504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_34_9354.jpg', '/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_45_10404.jpg', '/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_55_10388.jpg', '/home/pi/Desktop/images/20022025/11/27/image_20022025_11_28_04_9390.jpg', '/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_15_10400.jpg', '/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_24_9335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_34_9354.jpg
/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_45_10404.jpg
/home/pi/Desktop/images/20022025/11/27/image_20022025_11_27_55_10388.jpg
/home/pi/Desktop/images/20022025/11/27/image_20022025_11_28_04_9390.jpg
/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_15_10400.jpg
/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_24_9335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654691","1338654684","1338654678","1338654672","1338654675","1338654668"],"photo_ids_order":["1338654668","1338654672","1338654675","1338654678","1338654684","1338654691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7339a273e5d6455bbfb9c0d4d45c3629.jpg","text":"TemporaryFile(/tmp/multipartBody7743311028463444642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076774023,"filename":"image_20022025_11_28_24_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9cbf82a68c4d52bce280780604c08ec2.jpg","text":"TemporaryFile(/tmp/multipartBody1684794246396315461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076774023,"filename":"image_20022025_11_28_15_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be70f5d871025819d167224eac4039d8.jpg","text":"TemporaryFile(/tmp/multipartBody65677815336616235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076774023,"filename":"image_20022025_11_28_04_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d73a27563ff5d842f69d851728f1838c.jpg","text":"TemporaryFile(/tmp/multipartBody5246416208646681763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076774023,"filename":"image_20022025_11_27_45_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/572318b7d4bd3c146d9274797393902a.jpg","text":"TemporaryFile(/tmp/multipartBody5546302160765695543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076774023,"filename":"image_20022025_11_27_55_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b82c520b99a6f6fbafbdfbd8c18a00bf.jpg","text":"TemporaryFile(/tmp/multipartBody6838479974193979044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076774023,"filename":"image_20022025_11_27_34_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654675","file1":"1338654672","file0":"1338654668","file4":"1338654684","file5":"1338654691","file3":"1338654678"},"map_files_photo_id_array":[{"photo_id":"1338654691","filename":"file5"},{"photo_id":"1338654675","filename":"file2"},{"photo_id":"1338654684","filename":"file4"},{"photo_id":"1338654672","filename":"file1"},{"photo_id":"1338654668","filename":"file0"},{"photo_id":"1338654678","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654691":["hashtag1","hashtag2"]},{"1338654684":["hashtag1","hashtag2"]},{"1338654678":["hashtag1","hashtag2"]},{"1338654672":["hashtag1","hashtag2"]},{"1338654675":["hashtag1","hashtag2"]},{"1338654668":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654691, 1338654684, 1338654678, 1338654672, 1338654675, 1338654668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37564301490784 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:39:32.236364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_35_10410.jpg', '/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_45_10333.jpg', '/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_54_9331.jpg', '/home/pi/Desktop/images/20022025/11/28/image_20022025_11_29_05_10341.jpg', '/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_15_10384.jpg', '/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_24_9447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_35_10410.jpg
/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_45_10333.jpg
/home/pi/Desktop/images/20022025/11/28/image_20022025_11_28_54_9331.jpg
/home/pi/Desktop/images/20022025/11/28/image_20022025_11_29_05_10341.jpg
/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_15_10384.jpg
/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_24_9447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338654769","1338654763","1338654757","1338654765","1338654761","1338654767"],"photo_ids_order":["1338654757","1338654761","1338654763","1338654765","1338654767","1338654769"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db379eefa5082883c5abacb752a56601.jpg","text":"TemporaryFile(/tmp/multipartBody7872087139782216354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076832790,"filename":"image_20022025_11_29_24_9447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/943a25653d31f9b0526fd8117d63568a.jpg","text":"TemporaryFile(/tmp/multipartBody4148884798003625288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076832790,"filename":"image_20022025_11_28_54_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b56b99fea3a77f09cbf637a87baa9959.jpg","text":"TemporaryFile(/tmp/multipartBody4034774277262893904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076832790,"filename":"image_20022025_11_28_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1bc381c191b02610f0c2d9623f60646a.jpg","text":"TemporaryFile(/tmp/multipartBody421445633021989261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076832790,"filename":"image_20022025_11_29_05_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9fe6027118b86ff0453eed314abaf207.jpg","text":"TemporaryFile(/tmp/multipartBody2536161970542876976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076832790,"filename":"image_20022025_11_28_45_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30cfc16e6e0c2d8338dd94a0c03c38ca.jpg","text":"TemporaryFile(/tmp/multipartBody7411386932910343950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076832790,"filename":"image_20022025_11_29_15_10384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338654763","file1":"1338654761","file0":"1338654757","file4":"1338654767","file5":"1338654769","file3":"1338654765"},"map_files_photo_id_array":[{"photo_id":"1338654769","filename":"file5"},{"photo_id":"1338654763","filename":"file2"},{"photo_id":"1338654767","filename":"file4"},{"photo_id":"1338654761","filename":"file1"},{"photo_id":"1338654757","filename":"file0"},{"photo_id":"1338654765","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338654769":["hashtag1","hashtag2"]},{"1338654763":["hashtag1","hashtag2"]},{"1338654757":["hashtag1","hashtag2"]},{"1338654765":["hashtag1","hashtag2"]},{"1338654761":["hashtag1","hashtag2"]},{"1338654767":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338654769, 1338654763, 1338654757, 1338654765, 1338654761, 1338654767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75500750541687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:40:32.526956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_35_10396.jpg', '/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_44_9331.jpg', '/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_55_10348.jpg', '/home/pi/Desktop/images/20022025/11/29/image_20022025_11_30_05_10432.jpg', '/home/pi/Desktop/images/20022025/11/30/image_20022025_11_30_14_9325.jpg', '/home/pi/Desktop/images/20022025/11/30/image_20022025_11_30_25_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_35_10396.jpg
/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_44_9331.jpg
/home/pi/Desktop/images/20022025/11/29/image_20022025_11_29_55_10348.jpg
/home/pi/Desktop/images/20022025/11/29/image_20022025_11_30_05_10432.jpg
/home/pi/Desktop/images/20022025/11/30/image_20022025_11_30_14_9325.jpg
/home/pi/Desktop/images/20022025/11/30/image_20022025_11_30_25_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338655546","1338654796","1338655365","1338655728","1338654980","1338655177"],"photo_ids_order":["1338654796","1338654980","1338655177","1338655365","1338655546","1338655728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82a6bdc6875549cad47117c92587b9f7.jpg","text":"TemporaryFile(/tmp/multipartBody1207702452793569337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076893095,"filename":"image_20022025_11_30_14_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dfd678c5a3f0b48de3661b5181393e48.jpg","text":"TemporaryFile(/tmp/multipartBody1670441639607150881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076893095,"filename":"image_20022025_11_29_35_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/97de3e4d94318e7462ee58813c385644.jpg","text":"TemporaryFile(/tmp/multipartBody2669721762577297112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076893095,"filename":"image_20022025_11_30_05_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7cb14ed911d410904fc8846121cb8532.jpg","text":"TemporaryFile(/tmp/multipartBody7451104071671792856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076893095,"filename":"image_20022025_11_30_25_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92f574208e1487e9f970b5b567add7a8.jpg","text":"TemporaryFile(/tmp/multipartBody1715743691493575602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076893095,"filename":"image_20022025_11_29_44_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08b15338e5796a30c38f5af4e295efde.jpg","text":"TemporaryFile(/tmp/multipartBody2858382634488851248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076893095,"filename":"image_20022025_11_29_55_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338655177","file1":"1338654980","file0":"1338654796","file4":"1338655546","file5":"1338655728","file3":"1338655365"},"map_files_photo_id_array":[{"photo_id":"1338655728","filename":"file5"},{"photo_id":"1338655177","filename":"file2"},{"photo_id":"1338655546","filename":"file4"},{"photo_id":"1338654980","filename":"file1"},{"photo_id":"1338654796","filename":"file0"},{"photo_id":"1338655365","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338655546":["hashtag1","hashtag2"]},{"1338654796":["hashtag1","hashtag2"]},{"1338655365":["hashtag1","hashtag2"]},{"1338655728":["hashtag1","hashtag2"]},{"1338654980":["hashtag1","hashtag2"]},{"1338655177":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338655546, 1338654796, 1338655365, 1338655728, 1338654980, 1338655177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66222071647644 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:41:32.639554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/30/image_20022025_11_30_35_10359.jpg', '/home/pi/Desktop/images/20022025/11/30/image_20022025_11_30_55_10333.jpg', '/home/pi/Desktop/images/20022025/11/30/image_20022025_11_31_05_10338.jpg', '/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_15_9409.jpg', '/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_25_10347.jpg', '/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_34_9356.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/30/image_20022025_11_30_35_10359.jpg
/home/pi/Desktop/images/20022025/11/30/image_20022025_11_30_55_10333.jpg
/home/pi/Desktop/images/20022025/11/30/image_20022025_11_31_05_10338.jpg
/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_15_9409.jpg
/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_25_10347.jpg
/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_34_9356.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338655852","1338655863","1338655862","1338655856","1338655859","1338655850"],"photo_ids_order":["1338655850","1338655852","1338655856","1338655859","1338655862","1338655863"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25e0eed6a3247f07670706777e3b430b.jpg","text":"TemporaryFile(/tmp/multipartBody1701396199049264667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076953204,"filename":"image_20022025_11_30_55_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/869e0be80a33417d8df190bb1c3060be.jpg","text":"TemporaryFile(/tmp/multipartBody7346787493967590663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076953204,"filename":"image_20022025_11_31_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3335e8e315b1a873d1f6c2a7bd87b4da.jpg","text":"TemporaryFile(/tmp/multipartBody1775631155864089941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076953204,"filename":"image_20022025_11_31_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c6f7041fd85551d4559920b19ecd86ce.jpg","text":"TemporaryFile(/tmp/multipartBody1287743324750219970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076953204,"filename":"image_20022025_11_31_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1af99ce10681d535726e61bb519ef874.jpg","text":"TemporaryFile(/tmp/multipartBody6047265809872569267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076953204,"filename":"image_20022025_11_31_15_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d170aa43a5c06aee4b6aa759d8e97ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3764817402714276390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740076953204,"filename":"image_20022025_11_30_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338655856","file1":"1338655852","file0":"1338655850","file4":"1338655862","file5":"1338655863","file3":"1338655859"},"map_files_photo_id_array":[{"photo_id":"1338655863","filename":"file5"},{"photo_id":"1338655856","filename":"file2"},{"photo_id":"1338655862","filename":"file4"},{"photo_id":"1338655852","filename":"file1"},{"photo_id":"1338655850","filename":"file0"},{"photo_id":"1338655859","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338655852":["hashtag1","hashtag2"]},{"1338655863":["hashtag1","hashtag2"]},{"1338655862":["hashtag1","hashtag2"]},{"1338655856":["hashtag1","hashtag2"]},{"1338655859":["hashtag1","hashtag2"]},{"1338655850":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338655852, 1338655863, 1338655862, 1338655856, 1338655859, 1338655850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.07445001602173 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:42:32.917730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_45_10341.jpg', '/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_55_10400.jpg', '/home/pi/Desktop/images/20022025/11/31/image_20022025_11_32_04_9340.jpg', '/home/pi/Desktop/images/20022025/11/32/image_20022025_11_32_15_10347.jpg', '/home/pi/Desktop/images/20022025/11/32/image_20022025_11_32_25_10366.jpg', '/home/pi/Desktop/images/20022025/11/32/image_20022025_11_32_34_9434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_45_10341.jpg
/home/pi/Desktop/images/20022025/11/31/image_20022025_11_31_55_10400.jpg
/home/pi/Desktop/images/20022025/11/31/image_20022025_11_32_04_9340.jpg
/home/pi/Desktop/images/20022025/11/32/image_20022025_11_32_15_10347.jpg
/home/pi/Desktop/images/20022025/11/32/image_20022025_11_32_25_10366.jpg
/home/pi/Desktop/images/20022025/11/32/image_20022025_11_32_34_9434.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338655888","1338655899","1338655893","1338655901","1338655897","1338655885"],"photo_ids_order":["1338655885","1338655888","1338655893","1338655897","1338655899","1338655901"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/38563b256f55af8226ca3b31680794bd.jpg","text":"TemporaryFile(/tmp/multipartBody8765300735247399307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077013486,"filename":"image_20022025_11_31_55_10400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1d67dadf6e23aadfde60d7f9ada85a3.jpg","text":"TemporaryFile(/tmp/multipartBody8416441840471209408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077013486,"filename":"image_20022025_11_32_25_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0f883edb0e5393cccdce260f4e067df.jpg","text":"TemporaryFile(/tmp/multipartBody4905025761574622984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077013486,"filename":"image_20022025_11_32_04_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c79617d9c6f33a045d5b1f05c43b714b.jpg","text":"TemporaryFile(/tmp/multipartBody2724376146995896482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077013486,"filename":"image_20022025_11_32_34_9434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a521fa3cc53b8ba487e430c8ce694360.jpg","text":"TemporaryFile(/tmp/multipartBody3358596261221465966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077013486,"filename":"image_20022025_11_32_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d19558ed8c79ebfc6ad1c234adf413f.jpg","text":"TemporaryFile(/tmp/multipartBody7674461480550383500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077013486,"filename":"image_20022025_11_31_45_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338655893","file1":"1338655888","file0":"1338655885","file4":"1338655899","file5":"1338655901","file3":"1338655897"},"map_files_photo_id_array":[{"photo_id":"1338655901","filename":"file5"},{"photo_id":"1338655893","filename":"file2"},{"photo_id":"1338655899","filename":"file4"},{"photo_id":"1338655888","filename":"file1"},{"photo_id":"1338655885","filename":"file0"},{"photo_id":"1338655897","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338655888":["hashtag1","hashtag2"]},{"1338655899":["hashtag1","hashtag2"]},{"1338655893":["hashtag1","hashtag2"]},{"1338655901":["hashtag1","hashtag2"]},{"1338655897":["hashtag1","hashtag2"]},{"1338655885":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338655888, 1338655899, 1338655893, 1338655901, 1338655897, 1338655885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.488678216934204 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:43:32.993249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/32/image_20022025_11_32_45_10349.jpg', '/home/pi/Desktop/images/20022025/11/32/image_20022025_11_33_05_10365.jpg', '/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_15_10329.jpg', '/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_24_9334.jpg', '/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_35_10414.jpg', '/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_45_10360.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/32/image_20022025_11_32_45_10349.jpg
/home/pi/Desktop/images/20022025/11/32/image_20022025_11_33_05_10365.jpg
/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_15_10329.jpg
/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_24_9334.jpg
/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_35_10414.jpg
/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_45_10360.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338656431","1338656410","1338656407","1338656412","1338656403","1338656414"],"photo_ids_order":["1338656403","1338656407","1338656410","1338656412","1338656414","1338656431"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08b5fdece47fff0db1eda28b38dee45d.jpg","text":"TemporaryFile(/tmp/multipartBody482317906045942899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077073564,"filename":"image_20022025_11_33_45_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc3cb913af0c3cdb73ff902e2087d3d8.jpg","text":"TemporaryFile(/tmp/multipartBody8256663627044652443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077073564,"filename":"image_20022025_11_33_15_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/487c7bfafdd7d28b92c15cc0bdad923c.jpg","text":"TemporaryFile(/tmp/multipartBody2890822070806259286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077073564,"filename":"image_20022025_11_33_05_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e40b585549b6d4d2e99737b7d351130.jpg","text":"TemporaryFile(/tmp/multipartBody3283440916222138993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077073564,"filename":"image_20022025_11_33_24_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/977e13e8afe2ef87cbcbeeb6003aa769.jpg","text":"TemporaryFile(/tmp/multipartBody9127076287316372975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077073564,"filename":"image_20022025_11_32_45_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b5df1ae66d484d1ac474dbbc7253049.jpg","text":"TemporaryFile(/tmp/multipartBody5017160777582400271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077073564,"filename":"image_20022025_11_33_35_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338656410","file1":"1338656407","file0":"1338656403","file4":"1338656414","file5":"1338656431","file3":"1338656412"},"map_files_photo_id_array":[{"photo_id":"1338656431","filename":"file5"},{"photo_id":"1338656410","filename":"file2"},{"photo_id":"1338656414","filename":"file4"},{"photo_id":"1338656407","filename":"file1"},{"photo_id":"1338656403","filename":"file0"},{"photo_id":"1338656412","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338656431":["hashtag1","hashtag2"]},{"1338656410":["hashtag1","hashtag2"]},{"1338656407":["hashtag1","hashtag2"]},{"1338656412":["hashtag1","hashtag2"]},{"1338656403":["hashtag1","hashtag2"]},{"1338656414":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338656431, 1338656410, 1338656407, 1338656412, 1338656403, 1338656414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89188766479492 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:44:32.137186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_54_9324.jpg', '/home/pi/Desktop/images/20022025/11/33/image_20022025_11_34_05_10404.jpg', '/home/pi/Desktop/images/20022025/11/34/image_20022025_11_34_15_10353.jpg', '/home/pi/Desktop/images/20022025/11/34/image_20022025_11_34_24_9375.jpg', '/home/pi/Desktop/images/20022025/11/34/image_20022025_11_34_35_10346.jpg', '/home/pi/Desktop/images/20022025/11/34/image_20022025_11_34_55_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/33/image_20022025_11_33_54_9324.jpg
/home/pi/Desktop/images/20022025/11/33/image_20022025_11_34_05_10404.jpg
/home/pi/Desktop/images/20022025/11/34/image_20022025_11_34_15_10353.jpg
/home/pi/Desktop/images/20022025/11/34/image_20022025_11_34_24_9375.jpg
/home/pi/Desktop/images/20022025/11/34/image_20022025_11_34_35_10346.jpg
/home/pi/Desktop/images/20022025/11/34/image_20022025_11_34_55_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338656574","1338656559","1338656570","1338656576","1338656578","1338656566"],"photo_ids_order":["1338656559","1338656566","1338656570","1338656574","1338656576","1338656578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78285607fb2258ffb0a4f4ab43b5c032.jpg","text":"TemporaryFile(/tmp/multipartBody6842577686602893879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077132719,"filename":"image_20022025_11_34_24_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2fc5623bb10b3e9c494575b4b8db654a.jpg","text":"TemporaryFile(/tmp/multipartBody913084235199981632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077132719,"filename":"image_20022025_11_33_54_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/54bce92a94efdcd966b2be4c2f003abd.jpg","text":"TemporaryFile(/tmp/multipartBody5245647507987181484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077132719,"filename":"image_20022025_11_34_15_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/993b03d5c30a763de5b9dbb30dcaea12.jpg","text":"TemporaryFile(/tmp/multipartBody1303601597787436647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077132719,"filename":"image_20022025_11_34_35_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b79783c1474dcc1fcb9f2cb5a3b7a968.jpg","text":"TemporaryFile(/tmp/multipartBody3756425041980914275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077132719,"filename":"image_20022025_11_34_55_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/040b258fc0d0024012717da4980d5880.jpg","text":"TemporaryFile(/tmp/multipartBody228624709194301559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077132719,"filename":"image_20022025_11_34_05_10404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338656570","file1":"1338656566","file0":"1338656559","file4":"1338656576","file5":"1338656578","file3":"1338656574"},"map_files_photo_id_array":[{"photo_id":"1338656578","filename":"file5"},{"photo_id":"1338656570","filename":"file2"},{"photo_id":"1338656576","filename":"file4"},{"photo_id":"1338656566","filename":"file1"},{"photo_id":"1338656559","filename":"file0"},{"photo_id":"1338656574","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338656574":["hashtag1","hashtag2"]},{"1338656559":["hashtag1","hashtag2"]},{"1338656570":["hashtag1","hashtag2"]},{"1338656576":["hashtag1","hashtag2"]},{"1338656578":["hashtag1","hashtag2"]},{"1338656566":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338656574, 1338656559, 1338656570, 1338656576, 1338656578, 1338656566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2188925743103 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:45:32.395422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/34/image_20022025_11_35_05_10334.jpg', '/home/pi/Desktop/images/20022025/11/35/image_20022025_11_35_55_10343.jpg', '/home/pi/Desktop/images/20022025/11/35/image_20022025_11_36_04_9328.jpg', '/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_15_10443.jpg', '/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_25_10423.jpg', '/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_34_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/34/image_20022025_11_35_05_10334.jpg
/home/pi/Desktop/images/20022025/11/35/image_20022025_11_35_55_10343.jpg
/home/pi/Desktop/images/20022025/11/35/image_20022025_11_36_04_9328.jpg
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_15_10443.jpg
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_25_10423.jpg
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_34_9398.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4674191474914551 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 19:45:42.415706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/34/image_20022025_11_35_05_10334.jpg', '/home/pi/Desktop/images/20022025/11/35/image_20022025_11_35_55_10343.jpg', '/home/pi/Desktop/images/20022025/11/35/image_20022025_11_36_04_9328.jpg', '/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_15_10443.jpg', '/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_25_10423.jpg', '/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_34_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/34/image_20022025_11_35_05_10334.jpg
/home/pi/Desktop/images/20022025/11/35/image_20022025_11_35_55_10343.jpg
/home/pi/Desktop/images/20022025/11/35/image_20022025_11_36_04_9328.jpg
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_15_10443.jpg
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_25_10423.jpg
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_34_9398.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":["1338657108","1338657284","1338656961","1338656963","1338657202","1338657025"],"photo_ids_order":["1338656961","1338656963","1338657025","1338657108","1338657202","1338657284"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f5f261914f1a75720c800e026246ef29.jpg","text":"TemporaryFile(/tmp/multipartBody5920649158165142310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077202893,"filename":"image_20022025_11_36_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c676337d0edc6fc67236c773aa3c239.jpg","text":"TemporaryFile(/tmp/multipartBody1724067135276221578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077202893,"filename":"image_20022025_11_36_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fee3fa999feff9be391687c15de6932a.jpg","text":"TemporaryFile(/tmp/multipartBody1296695369995197312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077202893,"filename":"image_20022025_11_35_05_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6eea073249b928fd7718ed54be2f6e2c.jpg","text":"TemporaryFile(/tmp/multipartBody146613572929626386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077202893,"filename":"image_20022025_11_35_55_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bf9c09b6c1ef50f6652b5ecd33d17220.jpg","text":"TemporaryFile(/tmp/multipartBody6031251128835557720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077202893,"filename":"image_20022025_11_36_25_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/05055f8f18faf35d9b4af7e9a7192ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2917343392789864117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077202893,"filename":"image_20022025_11_36_04_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338657025","file1":"1338656963","file0":"1338656961","file4":"1338657202","file5":"1338657284","file3":"1338657108"},"map_files_photo_id_array":[{"photo_id":"1338657284","filename":"file5"},{"photo_id":"1338657025","filename":"file2"},{"photo_id":"1338657202","filename":"file4"},{"photo_id":"1338656963","filename":"file1"},{"photo_id":"1338656961","filename":"file0"},{"photo_id":"1338657108","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338657108":["hashtag1","hashtag2"]},{"1338657284":["hashtag1","hashtag2"]},{"1338656961":["hashtag1","hashtag2"]},{"1338656963":["hashtag1","hashtag2"]},{"1338657202":["hashtag1","hashtag2"]},{"1338657025":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338657108, 1338657284, 1338656961, 1338656963, 1338657202, 1338657025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.64922523498535 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:46:32.580343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_45_10357.jpg', '/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_54_9320.jpg', '/home/pi/Desktop/images/20022025/11/36/image_20022025_11_37_04_10118.jpg', '/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_15_10354.jpg', '/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_25_10329.jpg', '/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_34_9398.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_45_10357.jpg
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_36_54_9320.jpg
/home/pi/Desktop/images/20022025/11/36/image_20022025_11_37_04_10118.jpg
/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_15_10354.jpg
/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_25_10329.jpg
/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_34_9398.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338657924","1338657921","1338657923","1338657917","1338657920","1338657922"],"photo_ids_order":["1338657917","1338657920","1338657921","1338657922","1338657923","1338657924"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20f684b70e3e59271ad08110363a92db.jpg","text":"TemporaryFile(/tmp/multipartBody3796526984681328213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077253157,"filename":"image_20022025_11_37_34_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0b4fcb8320fd4f7b9496211fc79f2d2.jpg","text":"TemporaryFile(/tmp/multipartBody6136059916301276716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077253157,"filename":"image_20022025_11_37_04_10118.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ac5d5522327c9773833738f2bcfdf1c.jpg","text":"TemporaryFile(/tmp/multipartBody5682477447023954942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077253157,"filename":"image_20022025_11_37_25_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/47cc77edb13d5e1f2c91bf7c0c36b7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1583856757549858853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077253157,"filename":"image_20022025_11_36_45_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/df1ef0f8505cc657a6f09cde47594823.jpg","text":"TemporaryFile(/tmp/multipartBody6768645894228189471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077253157,"filename":"image_20022025_11_36_54_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/86811deee08e36e016722f46369547b8.jpg","text":"TemporaryFile(/tmp/multipartBody5926847023580722035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077253157,"filename":"image_20022025_11_37_15_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338657921","file1":"1338657920","file0":"1338657917","file4":"1338657923","file5":"1338657924","file3":"1338657922"},"map_files_photo_id_array":[{"photo_id":"1338657924","filename":"file5"},{"photo_id":"1338657921","filename":"file2"},{"photo_id":"1338657923","filename":"file4"},{"photo_id":"1338657920","filename":"file1"},{"photo_id":"1338657917","filename":"file0"},{"photo_id":"1338657922","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338657924":["hashtag1","hashtag2"]},{"1338657921":["hashtag1","hashtag2"]},{"1338657923":["hashtag1","hashtag2"]},{"1338657917":["hashtag1","hashtag2"]},{"1338657920":["hashtag1","hashtag2"]},{"1338657922":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338657924, 1338657921, 1338657923, 1338657917, 1338657920, 1338657922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23102140426636 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:47:32.744223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_45_10398.jpg', '/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_55_10325.jpg', '/home/pi/Desktop/images/20022025/11/37/image_20022025_11_38_04_9385.jpg', '/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_15_10343.jpg', '/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_24_9340.jpg', '/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_35_10438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_45_10398.jpg
/home/pi/Desktop/images/20022025/11/37/image_20022025_11_37_55_10325.jpg
/home/pi/Desktop/images/20022025/11/37/image_20022025_11_38_04_9385.jpg
/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_15_10343.jpg
/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_24_9340.jpg
/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_35_10438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338657941","1338657950","1338657944","1338657938","1338657947","1338657952"],"photo_ids_order":["1338657938","1338657941","1338657944","1338657947","1338657950","1338657952"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bffbdba71f224a32d689d7406046ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4707764190922218102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077313312,"filename":"image_20022025_11_37_55_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb8946b5be322727cf40c6c2a71d6279.jpg","text":"TemporaryFile(/tmp/multipartBody6165769677215162641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077313312,"filename":"image_20022025_11_38_24_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5729e3cbfea68f4ff8171be346ec8cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8648564705340928597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077313312,"filename":"image_20022025_11_38_04_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/534c8888a6995ebf9b950fac8e3ae878.jpg","text":"TemporaryFile(/tmp/multipartBody2889656567207330355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077313312,"filename":"image_20022025_11_37_45_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/145c5a153147a94a7eae391426298ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5016850606920248235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077313312,"filename":"image_20022025_11_38_15_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f132dce4e1103a2e9600b650e28857eb.jpg","text":"TemporaryFile(/tmp/multipartBody4650351619258668835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077313312,"filename":"image_20022025_11_38_35_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338657944","file1":"1338657941","file0":"1338657938","file4":"1338657950","file5":"1338657952","file3":"1338657947"},"map_files_photo_id_array":[{"photo_id":"1338657952","filename":"file5"},{"photo_id":"1338657944","filename":"file2"},{"photo_id":"1338657950","filename":"file4"},{"photo_id":"1338657941","filename":"file1"},{"photo_id":"1338657938","filename":"file0"},{"photo_id":"1338657947","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338657941":["hashtag1","hashtag2"]},{"1338657950":["hashtag1","hashtag2"]},{"1338657944":["hashtag1","hashtag2"]},{"1338657938":["hashtag1","hashtag2"]},{"1338657947":["hashtag1","hashtag2"]},{"1338657952":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338657941, 1338657950, 1338657944, 1338657938, 1338657947, 1338657952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.139984130859375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:48:32.950616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_45_10319.jpg', '/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_54_9309.jpg', '/home/pi/Desktop/images/20022025/11/38/image_20022025_11_39_05_10336.jpg', '/home/pi/Desktop/images/20022025/11/39/image_20022025_11_39_15_10399.jpg', '/home/pi/Desktop/images/20022025/11/39/image_20022025_11_39_24_9325.jpg', '/home/pi/Desktop/images/20022025/11/39/image_20022025_11_39_35_10410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_45_10319.jpg
/home/pi/Desktop/images/20022025/11/38/image_20022025_11_38_54_9309.jpg
/home/pi/Desktop/images/20022025/11/38/image_20022025_11_39_05_10336.jpg
/home/pi/Desktop/images/20022025/11/39/image_20022025_11_39_15_10399.jpg
/home/pi/Desktop/images/20022025/11/39/image_20022025_11_39_24_9325.jpg
/home/pi/Desktop/images/20022025/11/39/image_20022025_11_39_35_10410.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658160","1338658133","1338658156","1338658144","1338658161","1338658152"],"photo_ids_order":["1338658133","1338658144","1338658152","1338658156","1338658160","1338658161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e7e3c68ca68eb9e46739da5cb27b79d.jpg","text":"TemporaryFile(/tmp/multipartBody408360312288770241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077373539,"filename":"image_20022025_11_39_24_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/85f97e1046a632c27b5e3751611e121e.jpg","text":"TemporaryFile(/tmp/multipartBody109928487269400445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077373539,"filename":"image_20022025_11_38_45_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/062940e8c7d839f0826ded7da8292b97.jpg","text":"TemporaryFile(/tmp/multipartBody3319162250595100914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077373539,"filename":"image_20022025_11_39_15_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/febba520f6bc910254acabf2b66cbc08.jpg","text":"TemporaryFile(/tmp/multipartBody7116019496369989120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077373539,"filename":"image_20022025_11_38_54_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7afe0c43ac17e61d72366beef84d8076.jpg","text":"TemporaryFile(/tmp/multipartBody6066347237270478089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077373539,"filename":"image_20022025_11_39_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/351edd04319aee5b9fe5827b9774760c.jpg","text":"TemporaryFile(/tmp/multipartBody7292176254433626071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077373539,"filename":"image_20022025_11_39_05_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658152","file1":"1338658144","file0":"1338658133","file4":"1338658160","file5":"1338658161","file3":"1338658156"},"map_files_photo_id_array":[{"photo_id":"1338658161","filename":"file5"},{"photo_id":"1338658152","filename":"file2"},{"photo_id":"1338658160","filename":"file4"},{"photo_id":"1338658144","filename":"file1"},{"photo_id":"1338658133","filename":"file0"},{"photo_id":"1338658156","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658160":["hashtag1","hashtag2"]},{"1338658133":["hashtag1","hashtag2"]},{"1338658156":["hashtag1","hashtag2"]},{"1338658144":["hashtag1","hashtag2"]},{"1338658161":["hashtag1","hashtag2"]},{"1338658152":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658160, 1338658133, 1338658156, 1338658144, 1338658161, 1338658152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.027547121047974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:49:33.199256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/39/image_20022025_11_39_54_9423.jpg', '/home/pi/Desktop/images/20022025/11/39/image_20022025_11_40_05_10328.jpg', '/home/pi/Desktop/images/20022025/11/40/image_20022025_11_40_14_9326.jpg', '/home/pi/Desktop/images/20022025/11/40/image_20022025_11_40_25_10481.jpg', '/home/pi/Desktop/images/20022025/11/40/image_20022025_11_40_35_10361.jpg', '/home/pi/Desktop/images/20022025/11/41/image_20022025_11_41_15_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/39/image_20022025_11_39_54_9423.jpg
/home/pi/Desktop/images/20022025/11/39/image_20022025_11_40_05_10328.jpg
/home/pi/Desktop/images/20022025/11/40/image_20022025_11_40_14_9326.jpg
/home/pi/Desktop/images/20022025/11/40/image_20022025_11_40_25_10481.jpg
/home/pi/Desktop/images/20022025/11/40/image_20022025_11_40_35_10361.jpg
/home/pi/Desktop/images/20022025/11/41/image_20022025_11_41_15_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658227","1338658215","1338658232","1338658220","1338658234","1338658236"],"photo_ids_order":["1338658215","1338658220","1338658227","1338658232","1338658234","1338658236"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7982e45b6a573cf0ccf15b0a703c43ad.jpg","text":"TemporaryFile(/tmp/multipartBody3144001407892669479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077433757,"filename":"image_20022025_11_40_14_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ceb1da590fd3d7d8ca7b7931c4d1937d.jpg","text":"TemporaryFile(/tmp/multipartBody8179848834502393932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077433757,"filename":"image_20022025_11_39_54_9423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d958a06b6157d96fc16ad1e43d1e8b3.jpg","text":"TemporaryFile(/tmp/multipartBody8234840648623701174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077433757,"filename":"image_20022025_11_40_25_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8470fc034ce0a4e791ba0b5929c48edb.jpg","text":"TemporaryFile(/tmp/multipartBody8163935597244710588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077433757,"filename":"image_20022025_11_40_05_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/257e1ad56fd1d54d9acdf25025a3d4e2.jpg","text":"TemporaryFile(/tmp/multipartBody4722852243860009119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077433757,"filename":"image_20022025_11_40_35_10361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e45c10139e8cdb5362eefec97589c40b.jpg","text":"TemporaryFile(/tmp/multipartBody6809528724039637082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077433757,"filename":"image_20022025_11_41_15_10332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658227","file1":"1338658220","file0":"1338658215","file4":"1338658234","file5":"1338658236","file3":"1338658232"},"map_files_photo_id_array":[{"photo_id":"1338658236","filename":"file5"},{"photo_id":"1338658227","filename":"file2"},{"photo_id":"1338658234","filename":"file4"},{"photo_id":"1338658220","filename":"file1"},{"photo_id":"1338658215","filename":"file0"},{"photo_id":"1338658232","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658227":["hashtag1","hashtag2"]},{"1338658215":["hashtag1","hashtag2"]},{"1338658232":["hashtag1","hashtag2"]},{"1338658220":["hashtag1","hashtag2"]},{"1338658234":["hashtag1","hashtag2"]},{"1338658236":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658227, 1338658215, 1338658232, 1338658220, 1338658234, 1338658236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.65934133529663 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:50:32.369619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/41/image_20022025_11_41_25_10439.jpg', '/home/pi/Desktop/images/20022025/11/41/image_20022025_11_41_34_9336.jpg', '/home/pi/Desktop/images/20022025/11/41/image_20022025_11_41_54_9391.jpg', '/home/pi/Desktop/images/20022025/11/41/image_20022025_11_42_05_10355.jpg', '/home/pi/Desktop/images/20022025/11/42/image_20022025_11_42_15_10351.jpg', '/home/pi/Desktop/images/20022025/11/42/image_20022025_11_42_24_9317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/41/image_20022025_11_41_25_10439.jpg
/home/pi/Desktop/images/20022025/11/41/image_20022025_11_41_34_9336.jpg
/home/pi/Desktop/images/20022025/11/41/image_20022025_11_41_54_9391.jpg
/home/pi/Desktop/images/20022025/11/41/image_20022025_11_42_05_10355.jpg
/home/pi/Desktop/images/20022025/11/42/image_20022025_11_42_15_10351.jpg
/home/pi/Desktop/images/20022025/11/42/image_20022025_11_42_24_9317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658274","1338658285","1338658270","1338658267","1338658284","1338658272"],"photo_ids_order":["1338658267","1338658270","1338658272","1338658274","1338658284","1338658285"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de8095b4ed087dc792f49c48273ccece.jpg","text":"TemporaryFile(/tmp/multipartBody4221785597859060997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077492910,"filename":"image_20022025_11_42_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e3819210093026456ba61a5bea66182.jpg","text":"TemporaryFile(/tmp/multipartBody2057313712880327714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077492910,"filename":"image_20022025_11_42_24_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c412cd40af7041f7d73a9a2052fdd43.jpg","text":"TemporaryFile(/tmp/multipartBody3206311473630068205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077492910,"filename":"image_20022025_11_41_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/87179e58d684fbaead03944cd62632f8.jpg","text":"TemporaryFile(/tmp/multipartBody421809335748072878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077492910,"filename":"image_20022025_11_41_25_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7869d3fe80aaa57a5134b55f82cada94.jpg","text":"TemporaryFile(/tmp/multipartBody7596691785255114515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077492910,"filename":"image_20022025_11_42_15_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6398805da25a71b6966a628087713f26.jpg","text":"TemporaryFile(/tmp/multipartBody7775289428212890316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077492910,"filename":"image_20022025_11_41_54_9391.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658272","file1":"1338658270","file0":"1338658267","file4":"1338658284","file5":"1338658285","file3":"1338658274"},"map_files_photo_id_array":[{"photo_id":"1338658285","filename":"file5"},{"photo_id":"1338658272","filename":"file2"},{"photo_id":"1338658284","filename":"file4"},{"photo_id":"1338658270","filename":"file1"},{"photo_id":"1338658267","filename":"file0"},{"photo_id":"1338658274","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658274":["hashtag1","hashtag2"]},{"1338658285":["hashtag1","hashtag2"]},{"1338658270":["hashtag1","hashtag2"]},{"1338658267":["hashtag1","hashtag2"]},{"1338658284":["hashtag1","hashtag2"]},{"1338658272":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658274, 1338658285, 1338658270, 1338658267, 1338658284, 1338658272)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15223240852356 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:51:32.772145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/42/image_20022025_11_42_35_10420.jpg', '/home/pi/Desktop/images/20022025/11/42/image_20022025_11_42_45_10322.jpg', '/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_15_10443.jpg', '/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_24_9321.jpg', '/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_35_10442.jpg', '/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_45_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/42/image_20022025_11_42_35_10420.jpg
/home/pi/Desktop/images/20022025/11/42/image_20022025_11_42_45_10322.jpg
/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_15_10443.jpg
/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_24_9321.jpg
/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_35_10442.jpg
/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_45_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658308","1338658310","1338658306","1338658300","1338658303","1338658302"],"photo_ids_order":["1338658300","1338658302","1338658303","1338658306","1338658308","1338658310"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ede51182ba23db4e1622aad96b47c04.jpg","text":"TemporaryFile(/tmp/multipartBody7643474675425481196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077553525,"filename":"image_20022025_11_43_35_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c74142d183d0cd4af08dde3ea65b6517.jpg","text":"TemporaryFile(/tmp/multipartBody4563732505992186783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077553525,"filename":"image_20022025_11_43_45_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ccd86aacb21cf6b4c9659e65868fd57e.jpg","text":"TemporaryFile(/tmp/multipartBody5882779498890194165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077553525,"filename":"image_20022025_11_43_24_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e2870f95e3f1659f01ab779348a7ecc.jpg","text":"TemporaryFile(/tmp/multipartBody4889397595961451992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077553525,"filename":"image_20022025_11_42_35_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/747e334d2be955c5856eaa38867e2bdf.jpg","text":"TemporaryFile(/tmp/multipartBody7250379566602407043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077553525,"filename":"image_20022025_11_43_15_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22f05de194b8e84818f02af7558c0735.jpg","text":"TemporaryFile(/tmp/multipartBody3468299775502380656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077553525,"filename":"image_20022025_11_42_45_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658303","file1":"1338658302","file0":"1338658300","file4":"1338658308","file5":"1338658310","file3":"1338658306"},"map_files_photo_id_array":[{"photo_id":"1338658310","filename":"file5"},{"photo_id":"1338658303","filename":"file2"},{"photo_id":"1338658308","filename":"file4"},{"photo_id":"1338658302","filename":"file1"},{"photo_id":"1338658300","filename":"file0"},{"photo_id":"1338658306","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658308":["hashtag1","hashtag2"]},{"1338658310":["hashtag1","hashtag2"]},{"1338658306":["hashtag1","hashtag2"]},{"1338658300":["hashtag1","hashtag2"]},{"1338658303":["hashtag1","hashtag2"]},{"1338658302":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658308, 1338658310, 1338658306, 1338658300, 1338658303, 1338658302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53288793563843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:52:32.885933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_55_9440.jpg', '/home/pi/Desktop/images/20022025/11/43/image_20022025_11_44_05_10338.jpg', '/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_14_9319.jpg', '/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_25_10347.jpg', '/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_35_10352.jpg', '/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_44_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/43/image_20022025_11_43_55_9440.jpg
/home/pi/Desktop/images/20022025/11/43/image_20022025_11_44_05_10338.jpg
/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_14_9319.jpg
/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_25_10347.jpg
/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_35_10352.jpg
/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_44_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658361","1338658352","1338658360","1338658363","1338658345","1338658348"],"photo_ids_order":["1338658345","1338658348","1338658352","1338658360","1338658361","1338658363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ae3064889c671c886e6d4882c92a8986.jpg","text":"TemporaryFile(/tmp/multipartBody1142553515836067942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077618469,"filename":"image_20022025_11_44_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ed170d73227a6f3c37b354508f1c213.jpg","text":"TemporaryFile(/tmp/multipartBody2473928917347391484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077618469,"filename":"image_20022025_11_44_14_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/682ac48255896d88538272a61fe12ae4.jpg","text":"TemporaryFile(/tmp/multipartBody8954366157171351870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077618469,"filename":"image_20022025_11_44_25_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78be2bf53e9a238083b76cb2970ea24b.jpg","text":"TemporaryFile(/tmp/multipartBody4056670604724586127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077618469,"filename":"image_20022025_11_44_44_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b79043dea9b4f159ed01fc71154a24c8.jpg","text":"TemporaryFile(/tmp/multipartBody4653845054192085691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077618469,"filename":"image_20022025_11_43_55_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8be860c45b676d19278643c0973e7227.jpg","text":"TemporaryFile(/tmp/multipartBody1285517202237166958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077618469,"filename":"image_20022025_11_44_05_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658352","file1":"1338658348","file0":"1338658345","file4":"1338658361","file5":"1338658363","file3":"1338658360"},"map_files_photo_id_array":[{"photo_id":"1338658363","filename":"file5"},{"photo_id":"1338658352","filename":"file2"},{"photo_id":"1338658361","filename":"file4"},{"photo_id":"1338658348","filename":"file1"},{"photo_id":"1338658345","filename":"file0"},{"photo_id":"1338658360","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658361":["hashtag1","hashtag2"]},{"1338658352":["hashtag1","hashtag2"]},{"1338658360":["hashtag1","hashtag2"]},{"1338658363":["hashtag1","hashtag2"]},{"1338658345":["hashtag1","hashtag2"]},{"1338658348":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658361, 1338658352, 1338658360, 1338658363, 1338658345, 1338658348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.017006635665894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:53:33.070931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_55_10439.jpg', '/home/pi/Desktop/images/20022025/11/44/image_20022025_11_45_05_10408.jpg', '/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_14_9368.jpg', '/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_25_10327.jpg', '/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_34_9336.jpg', '/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_45_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/44/image_20022025_11_44_55_10439.jpg
/home/pi/Desktop/images/20022025/11/44/image_20022025_11_45_05_10408.jpg
/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_14_9368.jpg
/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_25_10327.jpg
/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_34_9336.jpg
/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_45_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658425","1338658421","1338658432","1338658429","1338658434","1338658401"],"photo_ids_order":["1338658401","1338658421","1338658425","1338658429","1338658432","1338658434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c86073bb23ce8d03f504639227bb289f.jpg","text":"TemporaryFile(/tmp/multipartBody4678495124804280813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077673625,"filename":"image_20022025_11_45_14_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f27bc9a0cadfa48c51382e48419550b7.jpg","text":"TemporaryFile(/tmp/multipartBody8699820363707932919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077673625,"filename":"image_20022025_11_45_05_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83bad8829bc97615c8ebb557c635be8a.jpg","text":"TemporaryFile(/tmp/multipartBody8293607690720058220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077673625,"filename":"image_20022025_11_45_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc02981bca1bc8ff96678a38e31b2ae3.jpg","text":"TemporaryFile(/tmp/multipartBody5005017919434788324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077673625,"filename":"image_20022025_11_45_25_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a0394ec3b5717c498c8325f46992be24.jpg","text":"TemporaryFile(/tmp/multipartBody4400284970138932302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077673625,"filename":"image_20022025_11_45_45_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d9198df8945c97000502bcb000b4f769.jpg","text":"TemporaryFile(/tmp/multipartBody5314450348508522742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077673625,"filename":"image_20022025_11_44_55_10439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658425","file1":"1338658421","file0":"1338658401","file4":"1338658432","file5":"1338658434","file3":"1338658429"},"map_files_photo_id_array":[{"photo_id":"1338658434","filename":"file5"},{"photo_id":"1338658425","filename":"file2"},{"photo_id":"1338658432","filename":"file4"},{"photo_id":"1338658421","filename":"file1"},{"photo_id":"1338658401","filename":"file0"},{"photo_id":"1338658429","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658425":["hashtag1","hashtag2"]},{"1338658421":["hashtag1","hashtag2"]},{"1338658432":["hashtag1","hashtag2"]},{"1338658429":["hashtag1","hashtag2"]},{"1338658434":["hashtag1","hashtag2"]},{"1338658401":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658425, 1338658421, 1338658432, 1338658429, 1338658434, 1338658401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05105662345886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:54:32.151776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_55_10329.jpg', '/home/pi/Desktop/images/20022025/11/45/image_20022025_11_46_04_9318.jpg', '/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_15_10444.jpg', '/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_25_10339.jpg', '/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_34_9329.jpg', '/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_45_10435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/45/image_20022025_11_45_55_10329.jpg
/home/pi/Desktop/images/20022025/11/45/image_20022025_11_46_04_9318.jpg
/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_15_10444.jpg
/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_25_10339.jpg
/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_34_9329.jpg
/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_45_10435.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658493","1338658511","1338658471","1338658459","1338658450","1338658510"],"photo_ids_order":["1338658450","1338658459","1338658471","1338658493","1338658510","1338658511"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30b26fc57bc4633e3fa9c71fa4370b52.jpg","text":"TemporaryFile(/tmp/multipartBody8383485839369833534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077732711,"filename":"image_20022025_11_46_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b3952db40ca8fb88ab99e0479691dc67.jpg","text":"TemporaryFile(/tmp/multipartBody5928916263611000302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077732711,"filename":"image_20022025_11_46_45_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cd9240875a30ad23563ef22abc562dd.jpg","text":"TemporaryFile(/tmp/multipartBody1324981748148759710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077732711,"filename":"image_20022025_11_46_15_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/84b965469cab5383380bbc4f06c0fd1b.jpg","text":"TemporaryFile(/tmp/multipartBody5670164706123847941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077732711,"filename":"image_20022025_11_46_04_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70d09e0c571d01d36ce95f78b4af5654.jpg","text":"TemporaryFile(/tmp/multipartBody775547022530742473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077732711,"filename":"image_20022025_11_45_55_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/17ad6d192fd4ed26fb062d3c399f0af7.jpg","text":"TemporaryFile(/tmp/multipartBody3249597699047624475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077732711,"filename":"image_20022025_11_46_34_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658471","file1":"1338658459","file0":"1338658450","file4":"1338658510","file5":"1338658511","file3":"1338658493"},"map_files_photo_id_array":[{"photo_id":"1338658511","filename":"file5"},{"photo_id":"1338658471","filename":"file2"},{"photo_id":"1338658510","filename":"file4"},{"photo_id":"1338658459","filename":"file1"},{"photo_id":"1338658450","filename":"file0"},{"photo_id":"1338658493","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658493":["hashtag1","hashtag2"]},{"1338658511":["hashtag1","hashtag2"]},{"1338658471":["hashtag1","hashtag2"]},{"1338658459":["hashtag1","hashtag2"]},{"1338658450":["hashtag1","hashtag2"]},{"1338658510":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658493, 1338658511, 1338658471, 1338658459, 1338658450, 1338658510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.06889748573303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:55:32.406034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_54_9375.jpg', '/home/pi/Desktop/images/20022025/11/46/image_20022025_11_47_05_10439.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_15_10324.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_24_9331.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_35_10371.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_45_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_54_9375.jpg
/home/pi/Desktop/images/20022025/11/46/image_20022025_11_47_05_10439.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_15_10324.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_24_9331.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_35_10371.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_45_10329.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.46573829650878906 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 19:55:42.542323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_54_9375.jpg', '/home/pi/Desktop/images/20022025/11/46/image_20022025_11_47_05_10439.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_15_10324.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_24_9331.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_35_10371.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_45_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/46/image_20022025_11_46_54_9375.jpg
/home/pi/Desktop/images/20022025/11/46/image_20022025_11_47_05_10439.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_15_10324.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_24_9331.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_35_10371.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_45_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658592","1338658598","1338658601","1338658588","1338658596","1338658599"],"photo_ids_order":["1338658588","1338658592","1338658596","1338658598","1338658599","1338658601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a1a1ac76d1633ad9ef8840ff5a520611.jpg","text":"TemporaryFile(/tmp/multipartBody5007272809571509355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077803051,"filename":"image_20022025_11_47_05_10439.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ece90526c49850a4528e1b90f51a2ff.jpg","text":"TemporaryFile(/tmp/multipartBody5901295222019552915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077803051,"filename":"image_20022025_11_47_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71c842b0793573731fb0092ea7ffcafc.jpg","text":"TemporaryFile(/tmp/multipartBody114810775365819423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077803051,"filename":"image_20022025_11_47_45_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0b8de3dab590a38095554d3ef38b896.jpg","text":"TemporaryFile(/tmp/multipartBody4006717396772432548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077803051,"filename":"image_20022025_11_46_54_9375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29db6c7a2b9abe8e4052a62525263ad6.jpg","text":"TemporaryFile(/tmp/multipartBody4629682250534845168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077803051,"filename":"image_20022025_11_47_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1b16b044d11be879444330df0a128df.jpg","text":"TemporaryFile(/tmp/multipartBody7510808130446686654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077803051,"filename":"image_20022025_11_47_35_10371.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658596","file1":"1338658592","file0":"1338658588","file4":"1338658599","file5":"1338658601","file3":"1338658598"},"map_files_photo_id_array":[{"photo_id":"1338658601","filename":"file5"},{"photo_id":"1338658596","filename":"file2"},{"photo_id":"1338658599","filename":"file4"},{"photo_id":"1338658592","filename":"file1"},{"photo_id":"1338658588","filename":"file0"},{"photo_id":"1338658598","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658592":["hashtag1","hashtag2"]},{"1338658598":["hashtag1","hashtag2"]},{"1338658601":["hashtag1","hashtag2"]},{"1338658588":["hashtag1","hashtag2"]},{"1338658596":["hashtag1","hashtag2"]},{"1338658599":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658592, 1338658598, 1338658601, 1338658588, 1338658596, 1338658599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.067081928253174 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:56:32.573883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_54_9338.jpg', '/home/pi/Desktop/images/20022025/11/47/image_20022025_11_48_05_10354.jpg', '/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_15_10340.jpg', '/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_24_9322.jpg', '/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_35_10441.jpg', '/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_45_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_47_54_9338.jpg
/home/pi/Desktop/images/20022025/11/47/image_20022025_11_48_05_10354.jpg
/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_15_10340.jpg
/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_24_9322.jpg
/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_35_10441.jpg
/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_45_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658623","1338658637","1338658619","1338658634","1338658632","1338658626"],"photo_ids_order":["1338658619","1338658623","1338658626","1338658632","1338658634","1338658637"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bfc21b11bc603b9b037de5fe7e0e4158.jpg","text":"TemporaryFile(/tmp/multipartBody3172260893836882315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077853130,"filename":"image_20022025_11_48_05_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3528bde098806614babe4cfe3bfd4db1.jpg","text":"TemporaryFile(/tmp/multipartBody5925584015134926368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077853130,"filename":"image_20022025_11_48_45_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31bbb4b6404d6a725d0ec7bae27def5e.jpg","text":"TemporaryFile(/tmp/multipartBody7037250741372664749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077853130,"filename":"image_20022025_11_47_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b9845f485d955caf74c8889ffa2708d1.jpg","text":"TemporaryFile(/tmp/multipartBody8946286920238656389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077853130,"filename":"image_20022025_11_48_35_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/99537f193d4053f00fbbf78ca2f7408b.jpg","text":"TemporaryFile(/tmp/multipartBody1545400395467550748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077853130,"filename":"image_20022025_11_48_24_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ebc413652d297a986f09bc1b6c2a7b44.jpg","text":"TemporaryFile(/tmp/multipartBody3913704049509434410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740077853130,"filename":"image_20022025_11_48_15_10340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658626","file1":"1338658623","file0":"1338658619","file4":"1338658634","file5":"1338658637","file3":"1338658632"},"map_files_photo_id_array":[{"photo_id":"1338658637","filename":"file5"},{"photo_id":"1338658626","filename":"file2"},{"photo_id":"1338658634","filename":"file4"},{"photo_id":"1338658623","filename":"file1"},{"photo_id":"1338658619","filename":"file0"},{"photo_id":"1338658632","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658623":["hashtag1","hashtag2"]},{"1338658637":["hashtag1","hashtag2"]},{"1338658619":["hashtag1","hashtag2"]},{"1338658634":["hashtag1","hashtag2"]},{"1338658632":["hashtag1","hashtag2"]},{"1338658626":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658623, 1338658637, 1338658619, 1338658634, 1338658632, 1338658626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51264715194702 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:57:32.717046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_54_9400.jpg', '/home/pi/Desktop/images/20022025/11/48/image_20022025_11_49_05_10329.jpg', '/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_14_9322.jpg', '/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_44_9326.jpg', '/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_55_10333.jpg', '/home/pi/Desktop/images/20022025/11/49/image_20022025_11_50_05_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_54_9400.jpg
/home/pi/Desktop/images/20022025/11/48/image_20022025_11_49_05_10329.jpg
/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_14_9322.jpg
/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_44_9326.jpg
/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_55_10333.jpg
/home/pi/Desktop/images/20022025/11/49/image_20022025_11_50_05_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 19:59:03.946696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_54_9400.jpg', '/home/pi/Desktop/images/20022025/11/48/image_20022025_11_49_05_10329.jpg', '/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_14_9322.jpg', '/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_44_9326.jpg', '/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_55_10333.jpg', '/home/pi/Desktop/images/20022025/11/49/image_20022025_11_50_05_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/48/image_20022025_11_48_54_9400.jpg
/home/pi/Desktop/images/20022025/11/48/image_20022025_11_49_05_10329.jpg
/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_14_9322.jpg
/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_44_9326.jpg
/home/pi/Desktop/images/20022025/11/49/image_20022025_11_49_55_10333.jpg
/home/pi/Desktop/images/20022025/11/49/image_20022025_11_50_05_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338658952","1338658946","1338659024","1338659006","1338659017","1338658944"],"photo_ids_order":["1338658944","1338658946","1338658952","1338659006","1338659017","1338659024"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e7cadca6947be86f3431b7088f93fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1054576345643019786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078004609,"filename":"image_20022025_11_49_14_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d8fb77c9342d7c55ab5bb351bdd78ccd.jpg","text":"TemporaryFile(/tmp/multipartBody2108611853455335817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078004609,"filename":"image_20022025_11_49_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e305d8943d524e82d95b48c29bec45e.jpg","text":"TemporaryFile(/tmp/multipartBody6048903408437866152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078004609,"filename":"image_20022025_11_50_05_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a65098271610a090db4408d922533fae.jpg","text":"TemporaryFile(/tmp/multipartBody6183769579075094239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078004609,"filename":"image_20022025_11_49_44_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc71d0b5f16e4221e49898d4d9176b5a.jpg","text":"TemporaryFile(/tmp/multipartBody4990873356410235046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078004609,"filename":"image_20022025_11_49_55_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e984bd8ea38c71bc074482ca77f5c862.jpg","text":"TemporaryFile(/tmp/multipartBody788765376592166104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078004609,"filename":"image_20022025_11_48_54_9400.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338658952","file1":"1338658946","file0":"1338658944","file4":"1338659017","file5":"1338659024","file3":"1338659006"},"map_files_photo_id_array":[{"photo_id":"1338659024","filename":"file5"},{"photo_id":"1338658952","filename":"file2"},{"photo_id":"1338659017","filename":"file4"},{"photo_id":"1338658946","filename":"file1"},{"photo_id":"1338658944","filename":"file0"},{"photo_id":"1338659006","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338658952":["hashtag1","hashtag2"]},{"1338658946":["hashtag1","hashtag2"]},{"1338659024":["hashtag1","hashtag2"]},{"1338659006":["hashtag1","hashtag2"]},{"1338659017":["hashtag1","hashtag2"]},{"1338658944":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338658952, 1338658946, 1338659024, 1338659006, 1338659017, 1338658944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31358051300049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 19:59:52.538504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_14_9357.jpg', '/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_25_10341.jpg', '/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_35_10428.jpg', '/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_44_9377.jpg', '/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_55_10380.jpg', '/home/pi/Desktop/images/20022025/11/50/image_20022025_11_51_04_9410.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_14_9357.jpg
/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_25_10341.jpg
/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_35_10428.jpg
/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_44_9377.jpg
/home/pi/Desktop/images/20022025/11/50/image_20022025_11_50_55_10380.jpg
/home/pi/Desktop/images/20022025/11/50/image_20022025_11_51_04_9410.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659095","1338659098","1338659104","1338659101","1338659043","1338659096"],"photo_ids_order":["1338659043","1338659095","1338659096","1338659098","1338659101","1338659104"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12fe5a2fa494deac3d9561d03f16d151.jpg","text":"TemporaryFile(/tmp/multipartBody6191202555669733147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078053126,"filename":"image_20022025_11_50_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29011ad8387f458acdce2b151482dda3.jpg","text":"TemporaryFile(/tmp/multipartBody7276416082999814358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078053126,"filename":"image_20022025_11_50_44_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1343319e904ed35be854849aee34fd36.jpg","text":"TemporaryFile(/tmp/multipartBody4676723163494336500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078053126,"filename":"image_20022025_11_51_04_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d551e324de13814b3356c46fad028c58.jpg","text":"TemporaryFile(/tmp/multipartBody1281734023577106796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078053126,"filename":"image_20022025_11_50_55_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29551b3f8bb9c40aa24fa77ef47e79b3.jpg","text":"TemporaryFile(/tmp/multipartBody6968400272643832181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078053126,"filename":"image_20022025_11_50_14_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/579434eed02229131ae311cd35af55b0.jpg","text":"TemporaryFile(/tmp/multipartBody1191019099438126602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078053126,"filename":"image_20022025_11_50_35_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659096","file1":"1338659095","file0":"1338659043","file4":"1338659101","file5":"1338659104","file3":"1338659098"},"map_files_photo_id_array":[{"photo_id":"1338659104","filename":"file5"},{"photo_id":"1338659096","filename":"file2"},{"photo_id":"1338659101","filename":"file4"},{"photo_id":"1338659095","filename":"file1"},{"photo_id":"1338659043","filename":"file0"},{"photo_id":"1338659098","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659095":["hashtag1","hashtag2"]},{"1338659098":["hashtag1","hashtag2"]},{"1338659104":["hashtag1","hashtag2"]},{"1338659101":["hashtag1","hashtag2"]},{"1338659043":["hashtag1","hashtag2"]},{"1338659096":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659095, 1338659098, 1338659104, 1338659101, 1338659043, 1338659096)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.452306509017944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 20:00:42.677098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_15_10345.jpg', '/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_25_10353.jpg', '/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_34_9332.jpg', '/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_45_10443.jpg', '/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_55_10330.jpg', '/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_15_10404.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_15_10345.jpg
/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_25_10353.jpg
/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_34_9332.jpg
/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_45_10443.jpg
/home/pi/Desktop/images/20022025/11/51/image_20022025_11_51_55_10330.jpg
/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_15_10404.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659134","1338659343","1338659151","1338659247","1338659133","1338659340"],"photo_ids_order":["1338659133","1338659134","1338659151","1338659247","1338659340","1338659343"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/718e1bdb3dd9fcfce5efd22e6f745b5e.jpg","text":"TemporaryFile(/tmp/multipartBody5647961638360610053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078103243,"filename":"image_20022025_11_51_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/057cf4d7456177ca994f21e2773df2fe.jpg","text":"TemporaryFile(/tmp/multipartBody8565990589849368520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078103243,"filename":"image_20022025_11_52_15_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd041fc947a0e45892d509abba32961f.jpg","text":"TemporaryFile(/tmp/multipartBody8521461043140057171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078103243,"filename":"image_20022025_11_51_34_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ad8f3e501b743066c088b3e4210ed8e.jpg","text":"TemporaryFile(/tmp/multipartBody5554954860674562558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078103243,"filename":"image_20022025_11_51_45_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd1b74c6c457f81c6427494d95eff465.jpg","text":"TemporaryFile(/tmp/multipartBody1722847103266424523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078103243,"filename":"image_20022025_11_51_15_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f45278e12e85fbac2a73e9394d727a01.jpg","text":"TemporaryFile(/tmp/multipartBody8330360004564842041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078103243,"filename":"image_20022025_11_51_55_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659151","file1":"1338659134","file0":"1338659133","file4":"1338659340","file5":"1338659343","file3":"1338659247"},"map_files_photo_id_array":[{"photo_id":"1338659343","filename":"file5"},{"photo_id":"1338659151","filename":"file2"},{"photo_id":"1338659340","filename":"file4"},{"photo_id":"1338659134","filename":"file1"},{"photo_id":"1338659133","filename":"file0"},{"photo_id":"1338659247","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659134":["hashtag1","hashtag2"]},{"1338659343":["hashtag1","hashtag2"]},{"1338659151":["hashtag1","hashtag2"]},{"1338659247":["hashtag1","hashtag2"]},{"1338659133":["hashtag1","hashtag2"]},{"1338659340":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659134, 1338659343, 1338659151, 1338659247, 1338659133, 1338659340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.99204683303833 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:01:32.855605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_24_9376.jpg', '/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_35_10360.jpg', '/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_45_10343.jpg', '/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_54_9500.jpg', '/home/pi/Desktop/images/20022025/11/52/image_20022025_11_53_05_10322.jpg', '/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_15_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_24_9376.jpg
/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_35_10360.jpg
/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_45_10343.jpg
/home/pi/Desktop/images/20022025/11/52/image_20022025_11_52_54_9500.jpg
/home/pi/Desktop/images/20022025/11/52/image_20022025_11_53_05_10322.jpg
/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_15_10322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659444","1338659447","1338659446","1338659442","1338659445","1338659439"],"photo_ids_order":["1338659439","1338659442","1338659444","1338659445","1338659446","1338659447"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50e6f250513652206d5e702ced25298b.jpg","text":"TemporaryFile(/tmp/multipartBody8555119272907659299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078153428,"filename":"image_20022025_11_52_45_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d61d09307c9738d685df4e10d4197a55.jpg","text":"TemporaryFile(/tmp/multipartBody8960227056851026718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078153428,"filename":"image_20022025_11_53_15_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60a06581f5d7cc649e91e88a61ed0ef7.jpg","text":"TemporaryFile(/tmp/multipartBody7360327164207202121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078153428,"filename":"image_20022025_11_53_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a715ab839b680db6ba77bbda03872843.jpg","text":"TemporaryFile(/tmp/multipartBody285253128025853632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078153428,"filename":"image_20022025_11_52_35_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4fc5a300dc91e147ee42662afef44798.jpg","text":"TemporaryFile(/tmp/multipartBody7710116402694734252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078153428,"filename":"image_20022025_11_52_54_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b520d91d9ead9675fd38d3f386b69db5.jpg","text":"TemporaryFile(/tmp/multipartBody5732865479654006939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078153428,"filename":"image_20022025_11_52_24_9376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659444","file1":"1338659442","file0":"1338659439","file4":"1338659446","file5":"1338659447","file3":"1338659445"},"map_files_photo_id_array":[{"photo_id":"1338659447","filename":"file5"},{"photo_id":"1338659444","filename":"file2"},{"photo_id":"1338659446","filename":"file4"},{"photo_id":"1338659442","filename":"file1"},{"photo_id":"1338659439","filename":"file0"},{"photo_id":"1338659445","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659444":["hashtag1","hashtag2"]},{"1338659447":["hashtag1","hashtag2"]},{"1338659446":["hashtag1","hashtag2"]},{"1338659442":["hashtag1","hashtag2"]},{"1338659445":["hashtag1","hashtag2"]},{"1338659439":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659444, 1338659447, 1338659446, 1338659442, 1338659445, 1338659439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.287057638168335 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:02:33.014442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_25_9412.jpg', '/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_35_10408.jpg', '/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_44_9311.jpg', '/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_55_10332.jpg', '/home/pi/Desktop/images/20022025/11/53/image_20022025_11_54_05_10412.jpg', '/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_14_9323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_25_9412.jpg
/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_35_10408.jpg
/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_44_9311.jpg
/home/pi/Desktop/images/20022025/11/53/image_20022025_11_53_55_10332.jpg
/home/pi/Desktop/images/20022025/11/53/image_20022025_11_54_05_10412.jpg
/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_14_9323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659504","1338659507","1338659506","1338659499","1338659505","1338659502"],"photo_ids_order":["1338659499","1338659502","1338659504","1338659505","1338659506","1338659507"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd4dfc94c5561260635b33f7753a0f07.jpg","text":"TemporaryFile(/tmp/multipartBody3114434986223499820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078213569,"filename":"image_20022025_11_53_44_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0a82c4752886d0b942176d20a39733e7.jpg","text":"TemporaryFile(/tmp/multipartBody7527160024843089432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078213569,"filename":"image_20022025_11_54_14_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83041218251feeb7c551988c5c30ace9.jpg","text":"TemporaryFile(/tmp/multipartBody315915988573853231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078213569,"filename":"image_20022025_11_54_05_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7d1df9f754a0cb0d49641ae564952fa.jpg","text":"TemporaryFile(/tmp/multipartBody8074664740247710479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078213569,"filename":"image_20022025_11_53_25_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94ee057d7e5e5bc750a7962c94821090.jpg","text":"TemporaryFile(/tmp/multipartBody4435900316115609385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078213569,"filename":"image_20022025_11_53_55_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c7cc98e078cbaa24433d3d6d26eb4df.jpg","text":"TemporaryFile(/tmp/multipartBody481994910617611309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078213569,"filename":"image_20022025_11_53_35_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659504","file1":"1338659502","file0":"1338659499","file4":"1338659506","file5":"1338659507","file3":"1338659505"},"map_files_photo_id_array":[{"photo_id":"1338659507","filename":"file5"},{"photo_id":"1338659504","filename":"file2"},{"photo_id":"1338659506","filename":"file4"},{"photo_id":"1338659502","filename":"file1"},{"photo_id":"1338659499","filename":"file0"},{"photo_id":"1338659505","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659504":["hashtag1","hashtag2"]},{"1338659507":["hashtag1","hashtag2"]},{"1338659506":["hashtag1","hashtag2"]},{"1338659499":["hashtag1","hashtag2"]},{"1338659505":["hashtag1","hashtag2"]},{"1338659502":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659504, 1338659507, 1338659506, 1338659499, 1338659505, 1338659502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3590133190155 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:03:33.137049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_25_10359.jpg', '/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_35_10364.jpg', '/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_44_9424.jpg', '/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_55_10330.jpg', '/home/pi/Desktop/images/20022025/11/54/image_20022025_11_55_04_9383.jpg', '/home/pi/Desktop/images/20022025/11/55/image_20022025_11_55_15_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_25_10359.jpg
/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_35_10364.jpg
/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_44_9424.jpg
/home/pi/Desktop/images/20022025/11/54/image_20022025_11_54_55_10330.jpg
/home/pi/Desktop/images/20022025/11/54/image_20022025_11_55_04_9383.jpg
/home/pi/Desktop/images/20022025/11/55/image_20022025_11_55_15_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659548","1338659541","1338659550","1338659544","1338659552","1338659546"],"photo_ids_order":["1338659541","1338659544","1338659546","1338659548","1338659550","1338659552"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/47cc055854d0c678314f2cde4e4cfd0c.jpg","text":"TemporaryFile(/tmp/multipartBody8828322934506825936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078273728,"filename":"image_20022025_11_54_55_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed351d7097f3b977baf2b7cb91200d76.jpg","text":"TemporaryFile(/tmp/multipartBody1415066548041208903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078273728,"filename":"image_20022025_11_54_25_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/933c7bbaf529b0b8cefba54b256472d3.jpg","text":"TemporaryFile(/tmp/multipartBody4295904961974170683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078273728,"filename":"image_20022025_11_55_04_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09e29041e1090b0d5bb91dd5492d6546.jpg","text":"TemporaryFile(/tmp/multipartBody9052321425846976474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078273728,"filename":"image_20022025_11_54_35_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/72a6a72ed10719a7a7ebf3407817cc4a.jpg","text":"TemporaryFile(/tmp/multipartBody2416694416765231394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078273728,"filename":"image_20022025_11_55_15_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1b600fd302e6ddbcb36a1c862deca25b.jpg","text":"TemporaryFile(/tmp/multipartBody670180768183617040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078273728,"filename":"image_20022025_11_54_44_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659546","file1":"1338659544","file0":"1338659541","file4":"1338659550","file5":"1338659552","file3":"1338659548"},"map_files_photo_id_array":[{"photo_id":"1338659552","filename":"file5"},{"photo_id":"1338659546","filename":"file2"},{"photo_id":"1338659550","filename":"file4"},{"photo_id":"1338659544","filename":"file1"},{"photo_id":"1338659541","filename":"file0"},{"photo_id":"1338659548","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659548":["hashtag1","hashtag2"]},{"1338659541":["hashtag1","hashtag2"]},{"1338659550":["hashtag1","hashtag2"]},{"1338659544":["hashtag1","hashtag2"]},{"1338659552":["hashtag1","hashtag2"]},{"1338659546":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659548, 1338659541, 1338659550, 1338659544, 1338659552, 1338659546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65527963638306 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:04:32.295785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/55/image_20022025_11_55_34_9393.jpg', '/home/pi/Desktop/images/20022025/11/56/image_20022025_11_56_24_9328.jpg', '/home/pi/Desktop/images/20022025/11/56/image_20022025_11_56_35_10449.jpg', '/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_15_10370.jpg', '/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_24_9342.jpg', '/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_35_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/55/image_20022025_11_55_34_9393.jpg
/home/pi/Desktop/images/20022025/11/56/image_20022025_11_56_24_9328.jpg
/home/pi/Desktop/images/20022025/11/56/image_20022025_11_56_35_10449.jpg
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_15_10370.jpg
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_24_9342.jpg
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_35_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659596","1338659600","1338659590","1338659602","1338659595","1338659604"],"photo_ids_order":["1338659590","1338659595","1338659596","1338659600","1338659602","1338659604"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bace5e70916e5bb06b324485438f0e5a.jpg","text":"TemporaryFile(/tmp/multipartBody4651781179145818859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078332874,"filename":"image_20022025_11_56_35_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/85d60e5486cc15c016de8ed2321ce49d.jpg","text":"TemporaryFile(/tmp/multipartBody1494183079761390756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078332874,"filename":"image_20022025_11_57_15_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1aae1bf1c81ade93262e16dfd718d8f0.jpg","text":"TemporaryFile(/tmp/multipartBody8364422881053466402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078332874,"filename":"image_20022025_11_55_34_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18798dbadc2e43ca82284554d0b16f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6538331879904759624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078332874,"filename":"image_20022025_11_57_24_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e14a486188476e1d6d607a9ef45c2694.jpg","text":"TemporaryFile(/tmp/multipartBody4225536886403136549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078332874,"filename":"image_20022025_11_56_24_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/098898676e013b014d05c2ef774279d8.jpg","text":"TemporaryFile(/tmp/multipartBody2414191053434158029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078332874,"filename":"image_20022025_11_57_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659596","file1":"1338659595","file0":"1338659590","file4":"1338659602","file5":"1338659604","file3":"1338659600"},"map_files_photo_id_array":[{"photo_id":"1338659604","filename":"file5"},{"photo_id":"1338659596","filename":"file2"},{"photo_id":"1338659602","filename":"file4"},{"photo_id":"1338659595","filename":"file1"},{"photo_id":"1338659590","filename":"file0"},{"photo_id":"1338659600","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659596":["hashtag1","hashtag2"]},{"1338659600":["hashtag1","hashtag2"]},{"1338659590":["hashtag1","hashtag2"]},{"1338659602":["hashtag1","hashtag2"]},{"1338659595":["hashtag1","hashtag2"]},{"1338659604":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659596, 1338659600, 1338659590, 1338659602, 1338659595, 1338659604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05098009109497 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:05:32.433815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_45_10407.jpg', '/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_55_9431.jpg', '/home/pi/Desktop/images/20022025/11/57/image_20022025_11_58_05_10327.jpg', '/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_14_9326.jpg', '/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_25_10368.jpg', '/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_35_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_45_10407.jpg
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_55_9431.jpg
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_58_05_10327.jpg
/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_14_9326.jpg
/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_25_10368.jpg
/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_35_10355.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4625508785247803 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 20:05:42.568695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_45_10407.jpg', '/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_55_9431.jpg', '/home/pi/Desktop/images/20022025/11/57/image_20022025_11_58_05_10327.jpg', '/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_14_9326.jpg', '/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_25_10368.jpg', '/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_35_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_45_10407.jpg
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_57_55_9431.jpg
/home/pi/Desktop/images/20022025/11/57/image_20022025_11_58_05_10327.jpg
/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_14_9326.jpg
/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_25_10368.jpg
/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_35_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659648","1338659640","1338659643","1338659637","1338659646","1338659645"],"photo_ids_order":["1338659637","1338659640","1338659643","1338659645","1338659646","1338659648"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d92446b691802907ed049e26a0cf3f0c.jpg","text":"TemporaryFile(/tmp/multipartBody5009669673608672296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078403062,"filename":"image_20022025_11_58_35_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3742d7a20ece38fb276f86d2d84ee5ce.jpg","text":"TemporaryFile(/tmp/multipartBody5795865137828452698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078403062,"filename":"image_20022025_11_57_55_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd56a1fd2a4e182a6e32b3be78bcc59c.jpg","text":"TemporaryFile(/tmp/multipartBody6658979480949806926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078403062,"filename":"image_20022025_11_58_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c73216a24ef5773cc6a76648a5566db7.jpg","text":"TemporaryFile(/tmp/multipartBody4972458387143420207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078403062,"filename":"image_20022025_11_57_45_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d9f220d29a1a9a6192e3801e1021f81.jpg","text":"TemporaryFile(/tmp/multipartBody5731036924365159386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078403062,"filename":"image_20022025_11_58_25_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cc13c02ea7b58cf24b87625c92aa54d.jpg","text":"TemporaryFile(/tmp/multipartBody5988010499957991681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078403062,"filename":"image_20022025_11_58_14_9326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659643","file1":"1338659640","file0":"1338659637","file4":"1338659646","file5":"1338659648","file3":"1338659645"},"map_files_photo_id_array":[{"photo_id":"1338659648","filename":"file5"},{"photo_id":"1338659643","filename":"file2"},{"photo_id":"1338659646","filename":"file4"},{"photo_id":"1338659640","filename":"file1"},{"photo_id":"1338659637","filename":"file0"},{"photo_id":"1338659645","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659648":["hashtag1","hashtag2"]},{"1338659640":["hashtag1","hashtag2"]},{"1338659643":["hashtag1","hashtag2"]},{"1338659637":["hashtag1","hashtag2"]},{"1338659646":["hashtag1","hashtag2"]},{"1338659645":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659648, 1338659640, 1338659643, 1338659637, 1338659646, 1338659645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07295370101929 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:06:32.632480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_44_9330.jpg', '/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_14_9489.jpg', '/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_25_10437.jpg', '/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_34_9356.jpg', '/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_45_10357.jpg', '/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_55_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/11/58/image_20022025_11_58_44_9330.jpg
/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_14_9489.jpg
/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_25_10437.jpg
/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_34_9356.jpg
/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_45_10357.jpg
/home/pi/Desktop/images/20022025/11/59/image_20022025_11_59_55_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659680","1338659674","1338659677","1338659685","1338659682","1338659684"],"photo_ids_order":["1338659674","1338659677","1338659680","1338659682","1338659684","1338659685"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2dcc7d74306c8907475a0cf12fec1882.jpg","text":"TemporaryFile(/tmp/multipartBody1230486424160040331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078453192,"filename":"image_20022025_11_59_25_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b119948beb01ae10c637e0cb4d7ea225.jpg","text":"TemporaryFile(/tmp/multipartBody3063779477400512767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078453192,"filename":"image_20022025_11_58_44_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3982102708efaf0323eaec81e46cc35f.jpg","text":"TemporaryFile(/tmp/multipartBody3785209656641932864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078453192,"filename":"image_20022025_11_59_14_9489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2923af87a7fa0deea25adc452d99b5c4.jpg","text":"TemporaryFile(/tmp/multipartBody7128334482096036781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078453192,"filename":"image_20022025_11_59_55_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82a621cc4d49ac7e60528c6ff4d1746e.jpg","text":"TemporaryFile(/tmp/multipartBody1525490349260388710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078453192,"filename":"image_20022025_11_59_34_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da9ea5a46f268e3fd3ebb162a4e1f744.jpg","text":"TemporaryFile(/tmp/multipartBody1097256639998343869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078453192,"filename":"image_20022025_11_59_45_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659680","file1":"1338659677","file0":"1338659674","file4":"1338659684","file5":"1338659685","file3":"1338659682"},"map_files_photo_id_array":[{"photo_id":"1338659685","filename":"file5"},{"photo_id":"1338659680","filename":"file2"},{"photo_id":"1338659684","filename":"file4"},{"photo_id":"1338659677","filename":"file1"},{"photo_id":"1338659674","filename":"file0"},{"photo_id":"1338659682","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659680":["hashtag1","hashtag2"]},{"1338659674":["hashtag1","hashtag2"]},{"1338659677":["hashtag1","hashtag2"]},{"1338659685":["hashtag1","hashtag2"]},{"1338659682":["hashtag1","hashtag2"]},{"1338659684":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659680, 1338659674, 1338659677, 1338659685, 1338659682, 1338659684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.2770619392395 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:07:32.812423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_16_10071.jpg', '/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_26_10416.jpg', '/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_37_10328.jpg', '/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_46_9322.jpg', '/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_57_10496.jpg', '/home/pi/Desktop/images/20022025/12/00/image_20022025_12_01_07_10329.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_16_10071.jpg
/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_26_10416.jpg
/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_37_10328.jpg
/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_46_9322.jpg
/home/pi/Desktop/images/20022025/12/00/image_20022025_12_00_57_10496.jpg
/home/pi/Desktop/images/20022025/12/00/image_20022025_12_01_07_10329.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659747","1338659737","1338659749","1338659740","1338659742","1338659745"],"photo_ids_order":["1338659737","1338659740","1338659742","1338659745","1338659747","1338659749"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/efd949dac060698c0a15753a15542085.jpg","text":"TemporaryFile(/tmp/multipartBody1735132796630740646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078513385,"filename":"image_20022025_12_00_57_10496.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/519cf12c86e497e50f167d75f0b50d83.jpg","text":"TemporaryFile(/tmp/multipartBody799859010022604730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078513385,"filename":"image_20022025_12_00_16_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0da2150baeb28c20fca401e59bf3599d.jpg","text":"TemporaryFile(/tmp/multipartBody8571337467523636974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078513385,"filename":"image_20022025_12_01_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c630be1039f130af2368f45b67bcf468.jpg","text":"TemporaryFile(/tmp/multipartBody5469020565135404438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078513385,"filename":"image_20022025_12_00_26_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f3affa811c0e2fc69ab70e2e4858691.jpg","text":"TemporaryFile(/tmp/multipartBody4876907245391743622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078513385,"filename":"image_20022025_12_00_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/15890c7be1ec706d34ea90a76cc1b922.jpg","text":"TemporaryFile(/tmp/multipartBody8365478201946857312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078513385,"filename":"image_20022025_12_00_46_9322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659742","file1":"1338659740","file0":"1338659737","file4":"1338659747","file5":"1338659749","file3":"1338659745"},"map_files_photo_id_array":[{"photo_id":"1338659749","filename":"file5"},{"photo_id":"1338659742","filename":"file2"},{"photo_id":"1338659747","filename":"file4"},{"photo_id":"1338659740","filename":"file1"},{"photo_id":"1338659737","filename":"file0"},{"photo_id":"1338659745","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659747":["hashtag1","hashtag2"]},{"1338659737":["hashtag1","hashtag2"]},{"1338659749":["hashtag1","hashtag2"]},{"1338659740":["hashtag1","hashtag2"]},{"1338659742":["hashtag1","hashtag2"]},{"1338659745":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659747, 1338659737, 1338659749, 1338659740, 1338659742, 1338659745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9448504447937 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:08:32.961198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_16_9314.jpg', '/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_27_10463.jpg', '/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_36_9320.jpg', '/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_47_10440.jpg', '/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_57_10359.jpg', '/home/pi/Desktop/images/20022025/12/01/image_20022025_12_02_06_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_16_9314.jpg
/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_27_10463.jpg
/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_36_9320.jpg
/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_47_10440.jpg
/home/pi/Desktop/images/20022025/12/01/image_20022025_12_01_57_10359.jpg
/home/pi/Desktop/images/20022025/12/01/image_20022025_12_02_06_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338659773","1338659776","1338659770","1338659778","1338659766","1338659781"],"photo_ids_order":["1338659766","1338659770","1338659773","1338659776","1338659778","1338659781"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/275f2a051e4a4fbe2b9b1b54a038efc0.jpg","text":"TemporaryFile(/tmp/multipartBody315454633594730444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078573523,"filename":"image_20022025_12_01_36_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8e07a3460a67a304c1e5207dd961491.jpg","text":"TemporaryFile(/tmp/multipartBody2200230345338340131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078573523,"filename":"image_20022025_12_01_47_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9726b90caad531fe15f87c8ab430e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2307835112063310348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078573523,"filename":"image_20022025_12_01_27_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/510eb69746b6b4be547a88b7c730e442.jpg","text":"TemporaryFile(/tmp/multipartBody1173004018192757101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078573523,"filename":"image_20022025_12_01_57_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7646ce86b3e4deebf940d816678fec54.jpg","text":"TemporaryFile(/tmp/multipartBody4349734174804141004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078573523,"filename":"image_20022025_12_01_16_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4cceb08ba4e74c422d0a2b75020c3023.jpg","text":"TemporaryFile(/tmp/multipartBody8621996515361993793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078573523,"filename":"image_20022025_12_02_06_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338659773","file1":"1338659770","file0":"1338659766","file4":"1338659778","file5":"1338659781","file3":"1338659776"},"map_files_photo_id_array":[{"photo_id":"1338659781","filename":"file5"},{"photo_id":"1338659773","filename":"file2"},{"photo_id":"1338659778","filename":"file4"},{"photo_id":"1338659770","filename":"file1"},{"photo_id":"1338659766","filename":"file0"},{"photo_id":"1338659776","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338659773":["hashtag1","hashtag2"]},{"1338659776":["hashtag1","hashtag2"]},{"1338659770":["hashtag1","hashtag2"]},{"1338659778":["hashtag1","hashtag2"]},{"1338659766":["hashtag1","hashtag2"]},{"1338659781":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338659773, 1338659776, 1338659770, 1338659778, 1338659766, 1338659781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04583430290222 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:09:33.307831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_17_10348.jpg', '/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_27_10350.jpg', '/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_36_9359.jpg', '/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_47_10406.jpg', '/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_56_9353.jpg', '/home/pi/Desktop/images/20022025/12/02/image_20022025_12_03_06_10320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_17_10348.jpg
/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_27_10350.jpg
/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_36_9359.jpg
/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_47_10406.jpg
/home/pi/Desktop/images/20022025/12/02/image_20022025_12_02_56_9353.jpg
/home/pi/Desktop/images/20022025/12/02/image_20022025_12_03_06_10320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660002","1338660005","1338660007","1338659993","1338659996","1338660000"],"photo_ids_order":["1338659993","1338659996","1338660000","1338660002","1338660005","1338660007"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e33a03609d2df5bf4b330fc46725588.jpg","text":"TemporaryFile(/tmp/multipartBody911182673831488758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078633864,"filename":"image_20022025_12_02_47_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c661664f440ce009f71654043c8965aa.jpg","text":"TemporaryFile(/tmp/multipartBody6750143657068366539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078633864,"filename":"image_20022025_12_02_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/119d4883df1a0b184d732cc3a36a9e93.jpg","text":"TemporaryFile(/tmp/multipartBody8457933790444926696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078633864,"filename":"image_20022025_12_03_06_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3320ea5c88196c0fbdd5c2aa3e205183.jpg","text":"TemporaryFile(/tmp/multipartBody7281593143955966580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078633864,"filename":"image_20022025_12_02_17_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/05059e36ee2e481c3907939e6c97343a.jpg","text":"TemporaryFile(/tmp/multipartBody5694338011253032930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078633864,"filename":"image_20022025_12_02_27_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9735bbc02f803d12a580950b30339061.jpg","text":"TemporaryFile(/tmp/multipartBody1002237592758373180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078633864,"filename":"image_20022025_12_02_36_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660000","file1":"1338659996","file0":"1338659993","file4":"1338660005","file5":"1338660007","file3":"1338660002"},"map_files_photo_id_array":[{"photo_id":"1338660007","filename":"file5"},{"photo_id":"1338660000","filename":"file2"},{"photo_id":"1338660005","filename":"file4"},{"photo_id":"1338659996","filename":"file1"},{"photo_id":"1338659993","filename":"file0"},{"photo_id":"1338660002","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660002":["hashtag1","hashtag2"]},{"1338660005":["hashtag1","hashtag2"]},{"1338660007":["hashtag1","hashtag2"]},{"1338659993":["hashtag1","hashtag2"]},{"1338659996":["hashtag1","hashtag2"]},{"1338660000":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660002, 1338660005, 1338660007, 1338659993, 1338659996, 1338660000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15249800682068 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:10:32.339467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/03/image_20022025_12_03_17_10408.jpg', '/home/pi/Desktop/images/20022025/12/03/image_20022025_12_03_26_9334.jpg', '/home/pi/Desktop/images/20022025/12/03/image_20022025_12_03_47_10341.jpg', '/home/pi/Desktop/images/20022025/12/03/image_20022025_12_03_56_9335.jpg', '/home/pi/Desktop/images/20022025/12/04/image_20022025_12_04_17_10335.jpg', '/home/pi/Desktop/images/20022025/12/04/image_20022025_12_04_37_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/03/image_20022025_12_03_17_10408.jpg
/home/pi/Desktop/images/20022025/12/03/image_20022025_12_03_26_9334.jpg
/home/pi/Desktop/images/20022025/12/03/image_20022025_12_03_47_10341.jpg
/home/pi/Desktop/images/20022025/12/03/image_20022025_12_03_56_9335.jpg
/home/pi/Desktop/images/20022025/12/04/image_20022025_12_04_17_10335.jpg
/home/pi/Desktop/images/20022025/12/04/image_20022025_12_04_37_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660030","1338660024","1338660032","1338660026","1338660022","1338660028"],"photo_ids_order":["1338660022","1338660024","1338660026","1338660028","1338660030","1338660032"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0fb4bbaac581615c77d3d4de7cf0621d.jpg","text":"TemporaryFile(/tmp/multipartBody2498944215554127990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078692929,"filename":"image_20022025_12_04_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42224b68f859548f11f05c348dccacdd.jpg","text":"TemporaryFile(/tmp/multipartBody7935397785169159969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078692929,"filename":"image_20022025_12_03_26_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7901baf043866ec22bdadb0f54967778.jpg","text":"TemporaryFile(/tmp/multipartBody7267773917137906358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078692929,"filename":"image_20022025_12_04_37_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/014c129a56df752c794b236960c205d9.jpg","text":"TemporaryFile(/tmp/multipartBody3000263719335106468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078692929,"filename":"image_20022025_12_03_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95efb779997a900b6a84a74f69c0a6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1062788022224746179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078692929,"filename":"image_20022025_12_03_17_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/07aa5f2cf4f8ff63cb0d25501c8e1474.jpg","text":"TemporaryFile(/tmp/multipartBody7411259298186207728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078692929,"filename":"image_20022025_12_03_56_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660026","file1":"1338660024","file0":"1338660022","file4":"1338660030","file5":"1338660032","file3":"1338660028"},"map_files_photo_id_array":[{"photo_id":"1338660032","filename":"file5"},{"photo_id":"1338660026","filename":"file2"},{"photo_id":"1338660030","filename":"file4"},{"photo_id":"1338660024","filename":"file1"},{"photo_id":"1338660022","filename":"file0"},{"photo_id":"1338660028","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660030":["hashtag1","hashtag2"]},{"1338660024":["hashtag1","hashtag2"]},{"1338660032":["hashtag1","hashtag2"]},{"1338660026":["hashtag1","hashtag2"]},{"1338660022":["hashtag1","hashtag2"]},{"1338660028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660030, 1338660024, 1338660032, 1338660026, 1338660022, 1338660028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.471935749053955 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:11:32.705626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/04/image_20022025_12_04_47_10376.jpg', '/home/pi/Desktop/images/20022025/12/04/image_20022025_12_04_56_9366.jpg', '/home/pi/Desktop/images/20022025/12/04/image_20022025_12_05_07_10403.jpg', '/home/pi/Desktop/images/20022025/12/05/image_20022025_12_05_16_9330.jpg', '/home/pi/Desktop/images/20022025/12/05/image_20022025_12_05_27_10470.jpg', '/home/pi/Desktop/images/20022025/12/05/image_20022025_12_05_46_9437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/04/image_20022025_12_04_47_10376.jpg
/home/pi/Desktop/images/20022025/12/04/image_20022025_12_04_56_9366.jpg
/home/pi/Desktop/images/20022025/12/04/image_20022025_12_05_07_10403.jpg
/home/pi/Desktop/images/20022025/12/05/image_20022025_12_05_16_9330.jpg
/home/pi/Desktop/images/20022025/12/05/image_20022025_12_05_27_10470.jpg
/home/pi/Desktop/images/20022025/12/05/image_20022025_12_05_46_9437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660077","1338660052","1338660049","1338660081","1338660051","1338660054"],"photo_ids_order":["1338660049","1338660051","1338660052","1338660054","1338660077","1338660081"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a311d31267d8b5b58e7526f4ddc0f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody6310180561485775105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078753291,"filename":"image_20022025_12_05_27_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/07d0a1c33c01a202e39c7c074088ea80.jpg","text":"TemporaryFile(/tmp/multipartBody1426315994635136432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078753291,"filename":"image_20022025_12_05_07_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/99f97c9c062532c1335eb68f0a57869e.jpg","text":"TemporaryFile(/tmp/multipartBody3118526356200949960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078753291,"filename":"image_20022025_12_04_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0aa01d50879b444fe04c4483e2cac4d.jpg","text":"TemporaryFile(/tmp/multipartBody6000603135534651668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078753291,"filename":"image_20022025_12_05_46_9437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cda5934a66b127050ef108f38b2619c7.jpg","text":"TemporaryFile(/tmp/multipartBody8882155291927338831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078753291,"filename":"image_20022025_12_04_56_9366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ecec71bcacaa6f0c126ddacbf17010da.jpg","text":"TemporaryFile(/tmp/multipartBody2270188186855579742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078753291,"filename":"image_20022025_12_05_16_9330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660052","file1":"1338660051","file0":"1338660049","file4":"1338660077","file5":"1338660081","file3":"1338660054"},"map_files_photo_id_array":[{"photo_id":"1338660081","filename":"file5"},{"photo_id":"1338660052","filename":"file2"},{"photo_id":"1338660077","filename":"file4"},{"photo_id":"1338660051","filename":"file1"},{"photo_id":"1338660049","filename":"file0"},{"photo_id":"1338660054","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660077":["hashtag1","hashtag2"]},{"1338660052":["hashtag1","hashtag2"]},{"1338660049":["hashtag1","hashtag2"]},{"1338660081":["hashtag1","hashtag2"]},{"1338660051":["hashtag1","hashtag2"]},{"1338660054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660077, 1338660052, 1338660049, 1338660081, 1338660051, 1338660054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.64456653594971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:12:32.748910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/05/image_20022025_12_05_57_10448.jpg', '/home/pi/Desktop/images/20022025/12/05/image_20022025_12_06_06_9348.jpg', '/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_17_10458.jpg', '/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_27_10360.jpg', '/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_36_9336.jpg', '/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_47_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/05/image_20022025_12_05_57_10448.jpg
/home/pi/Desktop/images/20022025/12/05/image_20022025_12_06_06_9348.jpg
/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_17_10458.jpg
/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_27_10360.jpg
/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_36_9336.jpg
/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_47_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660138","1338660142","1338660189","1338660144","1338660147","1338660141"],"photo_ids_order":["1338660138","1338660141","1338660142","1338660144","1338660147","1338660189"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/edabc01982a63a564e346c2ca69c0e74.jpg","text":"TemporaryFile(/tmp/multipartBody7520349429526673405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078813338,"filename":"image_20022025_12_05_57_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26f517059101738c4ff45541fadaba6b.jpg","text":"TemporaryFile(/tmp/multipartBody5584426842011943437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078813338,"filename":"image_20022025_12_06_17_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c68a410ea9712b2ec1f1d8472c0113ab.jpg","text":"TemporaryFile(/tmp/multipartBody9113119000398917826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078813338,"filename":"image_20022025_12_06_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94ce022c6afae8d8820fa7d66fc03de0.jpg","text":"TemporaryFile(/tmp/multipartBody8384239208400089030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078813338,"filename":"image_20022025_12_06_27_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f4e1801fc759876364d7ac1ed77bdfc.jpg","text":"TemporaryFile(/tmp/multipartBody7519142761402423310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078813338,"filename":"image_20022025_12_06_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/02bcad7aaa680ee5f575a3763881cce4.jpg","text":"TemporaryFile(/tmp/multipartBody7294279014227606077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078813338,"filename":"image_20022025_12_06_06_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660142","file1":"1338660141","file0":"1338660138","file4":"1338660147","file5":"1338660189","file3":"1338660144"},"map_files_photo_id_array":[{"photo_id":"1338660189","filename":"file5"},{"photo_id":"1338660142","filename":"file2"},{"photo_id":"1338660147","filename":"file4"},{"photo_id":"1338660141","filename":"file1"},{"photo_id":"1338660138","filename":"file0"},{"photo_id":"1338660144","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660138":["hashtag1","hashtag2"]},{"1338660142":["hashtag1","hashtag2"]},{"1338660189":["hashtag1","hashtag2"]},{"1338660144":["hashtag1","hashtag2"]},{"1338660147":["hashtag1","hashtag2"]},{"1338660141":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660138, 1338660142, 1338660189, 1338660144, 1338660147, 1338660141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.04808306694031 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:13:33.118106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_57_10351.jpg', '/home/pi/Desktop/images/20022025/12/06/image_20022025_12_07_06_9331.jpg', '/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_17_10371.jpg', '/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_26_9350.jpg', '/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_37_10440.jpg', '/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_47_10371.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/06/image_20022025_12_06_57_10351.jpg
/home/pi/Desktop/images/20022025/12/06/image_20022025_12_07_06_9331.jpg
/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_17_10371.jpg
/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_26_9350.jpg
/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_37_10440.jpg
/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_47_10371.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660216","1338660219","1338660209","1338660262","1338660213","1338660207"],"photo_ids_order":["1338660207","1338660209","1338660213","1338660216","1338660219","1338660262"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/87a8de8d20e2e97fcacd86e98a5c542b.jpg","text":"TemporaryFile(/tmp/multipartBody826890198791185982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078873690,"filename":"image_20022025_12_07_26_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/187912d12427a3fd629d6e272774860f.jpg","text":"TemporaryFile(/tmp/multipartBody8848731883842867024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078873690,"filename":"image_20022025_12_07_37_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb4f292d8828eea787c703edab54b364.jpg","text":"TemporaryFile(/tmp/multipartBody3841891282162565370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078873690,"filename":"image_20022025_12_07_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25c466ff2ce7479d552909151b1c786e.jpg","text":"TemporaryFile(/tmp/multipartBody6864939307632419600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078873690,"filename":"image_20022025_12_07_47_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16d64ca7a7b90b694e705327e8158139.jpg","text":"TemporaryFile(/tmp/multipartBody1082297562545772214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078873690,"filename":"image_20022025_12_07_17_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9037e62c438801f8953dc7522e0fb5f.jpg","text":"TemporaryFile(/tmp/multipartBody547076641365923418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078873690,"filename":"image_20022025_12_06_57_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660213","file1":"1338660209","file0":"1338660207","file4":"1338660219","file5":"1338660262","file3":"1338660216"},"map_files_photo_id_array":[{"photo_id":"1338660262","filename":"file5"},{"photo_id":"1338660213","filename":"file2"},{"photo_id":"1338660219","filename":"file4"},{"photo_id":"1338660209","filename":"file1"},{"photo_id":"1338660207","filename":"file0"},{"photo_id":"1338660216","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660216":["hashtag1","hashtag2"]},{"1338660219":["hashtag1","hashtag2"]},{"1338660209":["hashtag1","hashtag2"]},{"1338660262":["hashtag1","hashtag2"]},{"1338660213":["hashtag1","hashtag2"]},{"1338660207":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660216, 1338660219, 1338660209, 1338660262, 1338660213, 1338660207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.513999223709106 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:14:33.089504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_56_9354.jpg', '/home/pi/Desktop/images/20022025/12/07/image_20022025_12_08_07_10345.jpg', '/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_17_10327.jpg', '/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_26_9445.jpg', '/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_37_10331.jpg', '/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_46_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/07/image_20022025_12_07_56_9354.jpg
/home/pi/Desktop/images/20022025/12/07/image_20022025_12_08_07_10345.jpg
/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_17_10327.jpg
/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_26_9445.jpg
/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_37_10331.jpg
/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_46_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660420","1338660434","1338660428","1338660422","1338660419","1338660415"],"photo_ids_order":["1338660415","1338660419","1338660420","1338660422","1338660428","1338660434"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc4f5f9ed5a8e98e74c83ac84fc5f69b.jpg","text":"TemporaryFile(/tmp/multipartBody4040027815821879642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078933680,"filename":"image_20022025_12_08_17_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7bd99546b39a61cf36f66277c3c1c62e.jpg","text":"TemporaryFile(/tmp/multipartBody6805698896484967752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078933680,"filename":"image_20022025_12_08_46_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b869a276089912ed04d3ab01c97962e1.jpg","text":"TemporaryFile(/tmp/multipartBody3690750065598373478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078933680,"filename":"image_20022025_12_08_37_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f910130003bd3b37373540f9946ab691.jpg","text":"TemporaryFile(/tmp/multipartBody6419815607717507795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078933680,"filename":"image_20022025_12_08_26_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9bca0f9a606469cec9169b08a7b9bbea.jpg","text":"TemporaryFile(/tmp/multipartBody3186310222891833120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078933680,"filename":"image_20022025_12_08_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d565e8b7d5e9c4e9ee38d9a4cd441448.jpg","text":"TemporaryFile(/tmp/multipartBody918578246964772982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078933680,"filename":"image_20022025_12_07_56_9354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660420","file1":"1338660419","file0":"1338660415","file4":"1338660428","file5":"1338660434","file3":"1338660422"},"map_files_photo_id_array":[{"photo_id":"1338660434","filename":"file5"},{"photo_id":"1338660420","filename":"file2"},{"photo_id":"1338660428","filename":"file4"},{"photo_id":"1338660419","filename":"file1"},{"photo_id":"1338660415","filename":"file0"},{"photo_id":"1338660422","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660420":["hashtag1","hashtag2"]},{"1338660434":["hashtag1","hashtag2"]},{"1338660428":["hashtag1","hashtag2"]},{"1338660422":["hashtag1","hashtag2"]},{"1338660419":["hashtag1","hashtag2"]},{"1338660415":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660420, 1338660434, 1338660428, 1338660422, 1338660419, 1338660415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.20408606529236 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:15:32.291695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_56_10485.jpg', '/home/pi/Desktop/images/20022025/12/08/image_20022025_12_09_07_10371.jpg', '/home/pi/Desktop/images/20022025/12/09/image_20022025_12_09_16_9345.jpg', '/home/pi/Desktop/images/20022025/12/09/image_20022025_12_09_57_10459.jpg', '/home/pi/Desktop/images/20022025/12/09/image_20022025_12_10_06_9332.jpg', '/home/pi/Desktop/images/20022025/12/10/image_20022025_12_10_16_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/08/image_20022025_12_08_56_10485.jpg
/home/pi/Desktop/images/20022025/12/08/image_20022025_12_09_07_10371.jpg
/home/pi/Desktop/images/20022025/12/09/image_20022025_12_09_16_9345.jpg
/home/pi/Desktop/images/20022025/12/09/image_20022025_12_09_57_10459.jpg
/home/pi/Desktop/images/20022025/12/09/image_20022025_12_10_06_9332.jpg
/home/pi/Desktop/images/20022025/12/10/image_20022025_12_10_16_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660473","1338660467","1338660475","1338660469","1338660463","1338660454"],"photo_ids_order":["1338660454","1338660463","1338660467","1338660469","1338660473","1338660475"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bfe481daec1da3a94f1ac162a428651.jpg","text":"TemporaryFile(/tmp/multipartBody4720291330324182063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078992845,"filename":"image_20022025_12_10_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/17ef8ef153150ae8a02a338234ee55c3.jpg","text":"TemporaryFile(/tmp/multipartBody3191668189758531548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078992845,"filename":"image_20022025_12_09_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/524af02e5ae635352e29ed7253ce0cec.jpg","text":"TemporaryFile(/tmp/multipartBody818948016093803286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078992845,"filename":"image_20022025_12_10_16_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16f8791ed1cb4bf980b5aaa7c808642b.jpg","text":"TemporaryFile(/tmp/multipartBody209002375498265707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078992845,"filename":"image_20022025_12_09_57_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a827dbfd972089237a2140871a02bd2.jpg","text":"TemporaryFile(/tmp/multipartBody173233872719156790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078992845,"filename":"image_20022025_12_09_07_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f8004d47801f1cca97b26f1cdf1ff32.jpg","text":"TemporaryFile(/tmp/multipartBody2853293694540986878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740078992845,"filename":"image_20022025_12_08_56_10485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660467","file1":"1338660463","file0":"1338660454","file4":"1338660473","file5":"1338660475","file3":"1338660469"},"map_files_photo_id_array":[{"photo_id":"1338660475","filename":"file5"},{"photo_id":"1338660467","filename":"file2"},{"photo_id":"1338660473","filename":"file4"},{"photo_id":"1338660463","filename":"file1"},{"photo_id":"1338660454","filename":"file0"},{"photo_id":"1338660469","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660473":["hashtag1","hashtag2"]},{"1338660467":["hashtag1","hashtag2"]},{"1338660475":["hashtag1","hashtag2"]},{"1338660469":["hashtag1","hashtag2"]},{"1338660463":["hashtag1","hashtag2"]},{"1338660454":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660473, 1338660467, 1338660475, 1338660469, 1338660463, 1338660454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.137998819351196 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:16:32.500623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/10/image_20022025_12_10_27_10430.jpg', '/home/pi/Desktop/images/20022025/12/10/image_20022025_12_10_36_9328.jpg', '/home/pi/Desktop/images/20022025/12/10/image_20022025_12_11_06_9333.jpg', '/home/pi/Desktop/images/20022025/12/11/image_20022025_12_11_26_9320.jpg', '/home/pi/Desktop/images/20022025/12/11/image_20022025_12_11_37_10464.jpg', '/home/pi/Desktop/images/20022025/12/11/image_20022025_12_11_47_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/10/image_20022025_12_10_27_10430.jpg
/home/pi/Desktop/images/20022025/12/10/image_20022025_12_10_36_9328.jpg
/home/pi/Desktop/images/20022025/12/10/image_20022025_12_11_06_9333.jpg
/home/pi/Desktop/images/20022025/12/11/image_20022025_12_11_26_9320.jpg
/home/pi/Desktop/images/20022025/12/11/image_20022025_12_11_37_10464.jpg
/home/pi/Desktop/images/20022025/12/11/image_20022025_12_11_47_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660674","1338660536","1338660815","1338660538","1338660526","1338660534"],"photo_ids_order":["1338660526","1338660534","1338660536","1338660538","1338660674","1338660815"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ee15f03470eb2cc60d4d9630bebaff8.jpg","text":"TemporaryFile(/tmp/multipartBody1063683447745144848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079053078,"filename":"image_20022025_12_11_37_10464.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/62806fa386e17fb8a3d411d472e875f1.jpg","text":"TemporaryFile(/tmp/multipartBody6559702214986947951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079053078,"filename":"image_20022025_12_11_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f7c859275fe3e15340663f9c960dde7.jpg","text":"TemporaryFile(/tmp/multipartBody3342982241321103568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079053078,"filename":"image_20022025_12_11_47_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7fddc8d27eb31793a848c8029908a61b.jpg","text":"TemporaryFile(/tmp/multipartBody5672041555826385712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079053078,"filename":"image_20022025_12_11_26_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c9f7da42fcaf0f8f0767a0bfeb9dc32.jpg","text":"TemporaryFile(/tmp/multipartBody1100086810093704148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079053078,"filename":"image_20022025_12_10_27_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f91dac671b4ceb63051fef2081756b48.jpg","text":"TemporaryFile(/tmp/multipartBody115530103047537038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079053078,"filename":"image_20022025_12_10_36_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660536","file1":"1338660534","file0":"1338660526","file4":"1338660674","file5":"1338660815","file3":"1338660538"},"map_files_photo_id_array":[{"photo_id":"1338660815","filename":"file5"},{"photo_id":"1338660536","filename":"file2"},{"photo_id":"1338660674","filename":"file4"},{"photo_id":"1338660534","filename":"file1"},{"photo_id":"1338660526","filename":"file0"},{"photo_id":"1338660538","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660674":["hashtag1","hashtag2"]},{"1338660536":["hashtag1","hashtag2"]},{"1338660815":["hashtag1","hashtag2"]},{"1338660538":["hashtag1","hashtag2"]},{"1338660526":["hashtag1","hashtag2"]},{"1338660534":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660674, 1338660536, 1338660815, 1338660538, 1338660526, 1338660534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11381959915161 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:17:32.767081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/11/image_20022025_12_12_07_10452.jpg', '/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_17_10332.jpg', '/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_26_9343.jpg', '/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_37_10357.jpg', '/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_46_9314.jpg', '/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_56_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/11/image_20022025_12_12_07_10452.jpg
/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_17_10332.jpg
/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_26_9343.jpg
/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_37_10357.jpg
/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_46_9314.jpg
/home/pi/Desktop/images/20022025/12/12/image_20022025_12_12_56_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660903","1338660905","1338660898","1338660902","1338660894","1338660907"],"photo_ids_order":["1338660894","1338660898","1338660902","1338660903","1338660905","1338660907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2463f31c7ae5380f79436bd809f23e9a.jpg","text":"TemporaryFile(/tmp/multipartBody3996536708479113782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079113338,"filename":"image_20022025_12_12_37_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c24398cedea0a58b3a664b31b3c13382.jpg","text":"TemporaryFile(/tmp/multipartBody1106020039107996197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079113338,"filename":"image_20022025_12_12_46_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/103a70e77d1f992c36ad7ead98e02926.jpg","text":"TemporaryFile(/tmp/multipartBody2839141623007886971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079113338,"filename":"image_20022025_12_12_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d88a457b3530e4b4c143b7956fe11391.jpg","text":"TemporaryFile(/tmp/multipartBody7758152336645561859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079113338,"filename":"image_20022025_12_12_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f2204ff0e12eb1fe7c59285db9a6898a.jpg","text":"TemporaryFile(/tmp/multipartBody6589239039237087819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079113338,"filename":"image_20022025_12_12_07_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e47f43044afe68a7a2aab33589e18caf.jpg","text":"TemporaryFile(/tmp/multipartBody5741060099389228413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079113338,"filename":"image_20022025_12_12_56_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660902","file1":"1338660898","file0":"1338660894","file4":"1338660905","file5":"1338660907","file3":"1338660903"},"map_files_photo_id_array":[{"photo_id":"1338660907","filename":"file5"},{"photo_id":"1338660902","filename":"file2"},{"photo_id":"1338660905","filename":"file4"},{"photo_id":"1338660898","filename":"file1"},{"photo_id":"1338660894","filename":"file0"},{"photo_id":"1338660903","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660903":["hashtag1","hashtag2"]},{"1338660905":["hashtag1","hashtag2"]},{"1338660898":["hashtag1","hashtag2"]},{"1338660902":["hashtag1","hashtag2"]},{"1338660894":["hashtag1","hashtag2"]},{"1338660907":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660903, 1338660905, 1338660898, 1338660902, 1338660894, 1338660907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03465795516968 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:18:32.887744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/12/image_20022025_12_13_07_10414.jpg', '/home/pi/Desktop/images/20022025/12/13/image_20022025_12_13_16_9311.jpg', '/home/pi/Desktop/images/20022025/12/13/image_20022025_12_13_27_10476.jpg', '/home/pi/Desktop/images/20022025/12/13/image_20022025_12_13_37_10331.jpg', '/home/pi/Desktop/images/20022025/12/13/image_20022025_12_13_57_10367.jpg', '/home/pi/Desktop/images/20022025/12/13/image_20022025_12_14_07_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/12/image_20022025_12_13_07_10414.jpg
/home/pi/Desktop/images/20022025/12/13/image_20022025_12_13_16_9311.jpg
/home/pi/Desktop/images/20022025/12/13/image_20022025_12_13_27_10476.jpg
/home/pi/Desktop/images/20022025/12/13/image_20022025_12_13_37_10331.jpg
/home/pi/Desktop/images/20022025/12/13/image_20022025_12_13_57_10367.jpg
/home/pi/Desktop/images/20022025/12/13/image_20022025_12_14_07_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660962","1338660952","1338660955","1338660958","1338660960","1338660963"],"photo_ids_order":["1338660952","1338660955","1338660958","1338660960","1338660962","1338660963"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/356f21372c65eb63c92e79a006b4fb15.jpg","text":"TemporaryFile(/tmp/multipartBody319491367323856848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079173459,"filename":"image_20022025_12_13_57_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cfa84886957f42d47ccb1c18c858c77.jpg","text":"TemporaryFile(/tmp/multipartBody8158747198005268041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079173459,"filename":"image_20022025_12_13_07_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91017996c03ce6443e167bc5d87fc3dc.jpg","text":"TemporaryFile(/tmp/multipartBody6260170106786939444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079173459,"filename":"image_20022025_12_13_16_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4f12a98a999ea15254588b27d078c5f.jpg","text":"TemporaryFile(/tmp/multipartBody3250889886338773620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079173459,"filename":"image_20022025_12_13_27_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a8936a42189713165b9f2b364dfef0bb.jpg","text":"TemporaryFile(/tmp/multipartBody8616489251430410441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079173459,"filename":"image_20022025_12_13_37_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7faf1b22dc5fc3888e4db7f5eb898514.jpg","text":"TemporaryFile(/tmp/multipartBody1557883988259857212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079173459,"filename":"image_20022025_12_14_07_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660958","file1":"1338660955","file0":"1338660952","file4":"1338660962","file5":"1338660963","file3":"1338660960"},"map_files_photo_id_array":[{"photo_id":"1338660963","filename":"file5"},{"photo_id":"1338660958","filename":"file2"},{"photo_id":"1338660962","filename":"file4"},{"photo_id":"1338660955","filename":"file1"},{"photo_id":"1338660952","filename":"file0"},{"photo_id":"1338660960","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660962":["hashtag1","hashtag2"]},{"1338660952":["hashtag1","hashtag2"]},{"1338660955":["hashtag1","hashtag2"]},{"1338660958":["hashtag1","hashtag2"]},{"1338660960":["hashtag1","hashtag2"]},{"1338660963":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660962, 1338660952, 1338660955, 1338660958, 1338660960, 1338660963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.666532039642334 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:19:33.046108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/14/image_20022025_12_14_16_9332.jpg', '/home/pi/Desktop/images/20022025/12/14/image_20022025_12_14_37_10342.jpg', '/home/pi/Desktop/images/20022025/12/14/image_20022025_12_14_46_9320.jpg', '/home/pi/Desktop/images/20022025/12/14/image_20022025_12_14_57_10360.jpg', '/home/pi/Desktop/images/20022025/12/14/image_20022025_12_15_07_10338.jpg', '/home/pi/Desktop/images/20022025/12/15/image_20022025_12_15_27_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/14/image_20022025_12_14_16_9332.jpg
/home/pi/Desktop/images/20022025/12/14/image_20022025_12_14_37_10342.jpg
/home/pi/Desktop/images/20022025/12/14/image_20022025_12_14_46_9320.jpg
/home/pi/Desktop/images/20022025/12/14/image_20022025_12_14_57_10360.jpg
/home/pi/Desktop/images/20022025/12/14/image_20022025_12_15_07_10338.jpg
/home/pi/Desktop/images/20022025/12/15/image_20022025_12_15_27_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338660995","1338660980","1338660983","1338660991","1338660993","1338660984"],"photo_ids_order":["1338660980","1338660983","1338660984","1338660991","1338660993","1338660995"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b62fb4919f44d0935b87204828adfda.jpg","text":"TemporaryFile(/tmp/multipartBody2917524161885502800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079233604,"filename":"image_20022025_12_15_27_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a5629e61d9cbe625f88b59bdf6cdd9e.jpg","text":"TemporaryFile(/tmp/multipartBody1839237893923718538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079233604,"filename":"image_20022025_12_14_16_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dbe29fcf8049038216c8b36cce1086ba.jpg","text":"TemporaryFile(/tmp/multipartBody8059671663138841280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079233604,"filename":"image_20022025_12_14_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3f227e671296c8b3c0568ff5ee401b0.jpg","text":"TemporaryFile(/tmp/multipartBody5110062971436728309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079233604,"filename":"image_20022025_12_14_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9537a66026ba8fba1bf1af5f04a68d13.jpg","text":"TemporaryFile(/tmp/multipartBody813789257912657331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079233604,"filename":"image_20022025_12_15_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9cc966e1f9a4a6413750a479ce4cbe2e.jpg","text":"TemporaryFile(/tmp/multipartBody1272300658883612223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079233604,"filename":"image_20022025_12_14_46_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338660984","file1":"1338660983","file0":"1338660980","file4":"1338660993","file5":"1338660995","file3":"1338660991"},"map_files_photo_id_array":[{"photo_id":"1338660995","filename":"file5"},{"photo_id":"1338660984","filename":"file2"},{"photo_id":"1338660993","filename":"file4"},{"photo_id":"1338660983","filename":"file1"},{"photo_id":"1338660980","filename":"file0"},{"photo_id":"1338660991","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338660995":["hashtag1","hashtag2"]},{"1338660980":["hashtag1","hashtag2"]},{"1338660983":["hashtag1","hashtag2"]},{"1338660991":["hashtag1","hashtag2"]},{"1338660993":["hashtag1","hashtag2"]},{"1338660984":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338660995, 1338660980, 1338660983, 1338660991, 1338660993, 1338660984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80206060409546 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:20:32.114896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/15/image_20022025_12_15_36_9416.jpg', '/home/pi/Desktop/images/20022025/12/15/image_20022025_12_15_47_10347.jpg', '/home/pi/Desktop/images/20022025/12/15/image_20022025_12_15_57_10355.jpg', '/home/pi/Desktop/images/20022025/12/15/image_20022025_12_16_06_9337.jpg', '/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_17_10332.jpg', '/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_27_10365.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/15/image_20022025_12_15_36_9416.jpg
/home/pi/Desktop/images/20022025/12/15/image_20022025_12_15_47_10347.jpg
/home/pi/Desktop/images/20022025/12/15/image_20022025_12_15_57_10355.jpg
/home/pi/Desktop/images/20022025/12/15/image_20022025_12_16_06_9337.jpg
/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_17_10332.jpg
/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_27_10365.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338661043","1338661045","1338661033","1338661039","1338661038","1338661041"],"photo_ids_order":["1338661033","1338661038","1338661039","1338661041","1338661043","1338661045"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1041ab640a0281b181d4ea3806ce39c.jpg","text":"TemporaryFile(/tmp/multipartBody3974296864792609202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079292698,"filename":"image_20022025_12_16_17_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4383d08189a65ec24edc657cf6d35897.jpg","text":"TemporaryFile(/tmp/multipartBody8228251616719526489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079292698,"filename":"image_20022025_12_16_27_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0a0d2e20f5a5c153410fd81336619f9.jpg","text":"TemporaryFile(/tmp/multipartBody2738775650099309334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079292698,"filename":"image_20022025_12_15_36_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10dc96725fe9cf88f25048af24f9d333.jpg","text":"TemporaryFile(/tmp/multipartBody4857747267998296881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079292698,"filename":"image_20022025_12_15_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f462aa46142d7f3541ff266093f9b74.jpg","text":"TemporaryFile(/tmp/multipartBody7632880790203342942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079292698,"filename":"image_20022025_12_15_47_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c2fa44a1d6d1ce8b60c536096bdeb8a.jpg","text":"TemporaryFile(/tmp/multipartBody8796522062802183782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079292698,"filename":"image_20022025_12_16_06_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338661039","file1":"1338661038","file0":"1338661033","file4":"1338661043","file5":"1338661045","file3":"1338661041"},"map_files_photo_id_array":[{"photo_id":"1338661045","filename":"file5"},{"photo_id":"1338661039","filename":"file2"},{"photo_id":"1338661043","filename":"file4"},{"photo_id":"1338661038","filename":"file1"},{"photo_id":"1338661033","filename":"file0"},{"photo_id":"1338661041","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338661043":["hashtag1","hashtag2"]},{"1338661045":["hashtag1","hashtag2"]},{"1338661033":["hashtag1","hashtag2"]},{"1338661039":["hashtag1","hashtag2"]},{"1338661038":["hashtag1","hashtag2"]},{"1338661041":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338661043, 1338661045, 1338661033, 1338661039, 1338661038, 1338661041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.80480360984802 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:21:32.470314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_36_9344.jpg', '/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_47_10451.jpg', '/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_56_9337.jpg', '/home/pi/Desktop/images/20022025/12/16/image_20022025_12_17_07_10458.jpg', '/home/pi/Desktop/images/20022025/12/17/image_20022025_12_17_17_10328.jpg', '/home/pi/Desktop/images/20022025/12/17/image_20022025_12_17_26_9438.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_36_9344.jpg
/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_47_10451.jpg
/home/pi/Desktop/images/20022025/12/16/image_20022025_12_16_56_9337.jpg
/home/pi/Desktop/images/20022025/12/16/image_20022025_12_17_07_10458.jpg
/home/pi/Desktop/images/20022025/12/17/image_20022025_12_17_17_10328.jpg
/home/pi/Desktop/images/20022025/12/17/image_20022025_12_17_26_9438.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338661175","1338661063","1338661254","1338661065","1338661104","1338661311"],"photo_ids_order":["1338661063","1338661065","1338661104","1338661175","1338661254","1338661311"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d259ab6a8e1a36a435d7f026cae6119.jpg","text":"TemporaryFile(/tmp/multipartBody4943952028256850111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079353066,"filename":"image_20022025_12_17_07_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66f97472ea88efcdd0e81f191ba31c4f.jpg","text":"TemporaryFile(/tmp/multipartBody3161246401397185189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079353066,"filename":"image_20022025_12_16_36_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/692ee46070a44e6b2f1c88f636277606.jpg","text":"TemporaryFile(/tmp/multipartBody7797956043515516412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079353066,"filename":"image_20022025_12_17_17_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a2f960c2594bec59ceeaa6f1ac6ffe1.jpg","text":"TemporaryFile(/tmp/multipartBody5777921336878315779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079353066,"filename":"image_20022025_12_16_47_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/670858a253de79019622bb81258e38b1.jpg","text":"TemporaryFile(/tmp/multipartBody3108267297826172055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079353066,"filename":"image_20022025_12_16_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0a894662ba7ba7bc11fe3baa99b173d0.jpg","text":"TemporaryFile(/tmp/multipartBody274420171332540085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079353066,"filename":"image_20022025_12_17_26_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338661104","file1":"1338661065","file0":"1338661063","file4":"1338661254","file5":"1338661311","file3":"1338661175"},"map_files_photo_id_array":[{"photo_id":"1338661311","filename":"file5"},{"photo_id":"1338661104","filename":"file2"},{"photo_id":"1338661254","filename":"file4"},{"photo_id":"1338661065","filename":"file1"},{"photo_id":"1338661063","filename":"file0"},{"photo_id":"1338661175","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338661175":["hashtag1","hashtag2"]},{"1338661063":["hashtag1","hashtag2"]},{"1338661254":["hashtag1","hashtag2"]},{"1338661065":["hashtag1","hashtag2"]},{"1338661104":["hashtag1","hashtag2"]},{"1338661311":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338661175, 1338661063, 1338661254, 1338661065, 1338661104, 1338661311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30040740966797 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:22:32.618412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/17/image_20022025_12_17_37_10451.jpg', '/home/pi/Desktop/images/20022025/12/17/image_20022025_12_17_57_10481.jpg', '/home/pi/Desktop/images/20022025/12/17/image_20022025_12_18_07_10323.jpg', '/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_16_9308.jpg', '/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_27_10327.jpg', '/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_37_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/17/image_20022025_12_17_37_10451.jpg
/home/pi/Desktop/images/20022025/12/17/image_20022025_12_17_57_10481.jpg
/home/pi/Desktop/images/20022025/12/17/image_20022025_12_18_07_10323.jpg
/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_16_9308.jpg
/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_27_10327.jpg
/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_37_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338661502","1338661495","1338661483","1338661435","1338661437","1338661463"],"photo_ids_order":["1338661435","1338661437","1338661463","1338661483","1338661495","1338661502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bdf39e72b8e6539e511a92418d13963.jpg","text":"TemporaryFile(/tmp/multipartBody5076136155919455591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079413186,"filename":"image_20022025_12_18_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d145d9f3327683fd498543fbe6b5d56.jpg","text":"TemporaryFile(/tmp/multipartBody4555553216099471470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079413186,"filename":"image_20022025_12_18_27_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b9817a79121537811be15cf94925a9a7.jpg","text":"TemporaryFile(/tmp/multipartBody1010839980406112210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079413186,"filename":"image_20022025_12_18_16_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1257f6dae6208e18c41458858d31638a.jpg","text":"TemporaryFile(/tmp/multipartBody6319973600335136377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079413186,"filename":"image_20022025_12_17_37_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22e8d823b00436564d1e1673e61a8c70.jpg","text":"TemporaryFile(/tmp/multipartBody8983905437603234218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079413186,"filename":"image_20022025_12_17_57_10481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6df7e3dffcd0d32eca18250fb5292a1.jpg","text":"TemporaryFile(/tmp/multipartBody3053719370824194938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079413186,"filename":"image_20022025_12_18_07_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338661463","file1":"1338661437","file0":"1338661435","file4":"1338661495","file5":"1338661502","file3":"1338661483"},"map_files_photo_id_array":[{"photo_id":"1338661502","filename":"file5"},{"photo_id":"1338661463","filename":"file2"},{"photo_id":"1338661495","filename":"file4"},{"photo_id":"1338661437","filename":"file1"},{"photo_id":"1338661435","filename":"file0"},{"photo_id":"1338661483","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338661502":["hashtag1","hashtag2"]},{"1338661495":["hashtag1","hashtag2"]},{"1338661483":["hashtag1","hashtag2"]},{"1338661435":["hashtag1","hashtag2"]},{"1338661437":["hashtag1","hashtag2"]},{"1338661463":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338661502, 1338661495, 1338661483, 1338661435, 1338661437, 1338661463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.92651391029358 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:23:32.823029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_46_9348.jpg', '/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_56_9883.jpg', '/home/pi/Desktop/images/20022025/12/18/image_20022025_12_19_07_10456.jpg', '/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_17_10325.jpg', '/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_26_9331.jpg', '/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_37_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_46_9348.jpg
/home/pi/Desktop/images/20022025/12/18/image_20022025_12_18_56_9883.jpg
/home/pi/Desktop/images/20022025/12/18/image_20022025_12_19_07_10456.jpg
/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_17_10325.jpg
/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_26_9331.jpg
/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_37_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338661535","1338661540","1338661543","1338661533","1338661542","1338661530"],"photo_ids_order":["1338661530","1338661533","1338661535","1338661540","1338661542","1338661543"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/43756de8dee5a8499b6d310fd0a2289c.jpg","text":"TemporaryFile(/tmp/multipartBody5232800871390304958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079473385,"filename":"image_20022025_12_19_07_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68f31bdc4b2f91345cb1dd620b85b049.jpg","text":"TemporaryFile(/tmp/multipartBody3672340921200737187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079473385,"filename":"image_20022025_12_19_17_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/148a37c01932ad6cb409c6575d7f812b.jpg","text":"TemporaryFile(/tmp/multipartBody8261895641900267561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079473385,"filename":"image_20022025_12_19_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/147796051c34059a1cc94a796f0200cf.jpg","text":"TemporaryFile(/tmp/multipartBody6549664533848469057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079473385,"filename":"image_20022025_12_18_56_9883.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46b3a95fadcfaaaf6103a3f90efc107e.jpg","text":"TemporaryFile(/tmp/multipartBody7376637511641419161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079473385,"filename":"image_20022025_12_19_26_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bf0cb5753f20b17c973c82df9b644fc9.jpg","text":"TemporaryFile(/tmp/multipartBody9186765379437245933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079473385,"filename":"image_20022025_12_18_46_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338661535","file1":"1338661533","file0":"1338661530","file4":"1338661542","file5":"1338661543","file3":"1338661540"},"map_files_photo_id_array":[{"photo_id":"1338661543","filename":"file5"},{"photo_id":"1338661535","filename":"file2"},{"photo_id":"1338661542","filename":"file4"},{"photo_id":"1338661533","filename":"file1"},{"photo_id":"1338661530","filename":"file0"},{"photo_id":"1338661540","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338661535":["hashtag1","hashtag2"]},{"1338661540":["hashtag1","hashtag2"]},{"1338661543":["hashtag1","hashtag2"]},{"1338661533":["hashtag1","hashtag2"]},{"1338661542":["hashtag1","hashtag2"]},{"1338661530":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338661535, 1338661540, 1338661543, 1338661533, 1338661542, 1338661530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4493670463562 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:24:32.915089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_47_10366.jpg', '/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_56_9341.jpg', '/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_07_10231.jpg', '/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_17_10333.jpg', '/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_26_9419.jpg', '/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_37_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_47_10366.jpg
/home/pi/Desktop/images/20022025/12/19/image_20022025_12_19_56_9341.jpg
/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_07_10231.jpg
/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_17_10333.jpg
/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_26_9419.jpg
/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_37_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338661588","1338661582","1338661592","1338661586","1338661580","1338661568"],"photo_ids_order":["1338661568","1338661580","1338661582","1338661586","1338661588","1338661592"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3daf038430b6228ece5b32b4f2fba73c.jpg","text":"TemporaryFile(/tmp/multipartBody8974161131528444438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079533495,"filename":"image_20022025_12_20_26_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6fa051a716a319351a2b781834167acf.jpg","text":"TemporaryFile(/tmp/multipartBody8235348370506350498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079533495,"filename":"image_20022025_12_20_07_10231.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b9aa9ed2001e1326587311a5166f5de.jpg","text":"TemporaryFile(/tmp/multipartBody8048827247840559262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079533495,"filename":"image_20022025_12_20_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7fc32a3b9db36f0ea96ccf5caacd2c02.jpg","text":"TemporaryFile(/tmp/multipartBody4811876408334063569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079533495,"filename":"image_20022025_12_20_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aed6830d8ba21f4c5a5820555f3ba2fd.jpg","text":"TemporaryFile(/tmp/multipartBody1259373703574438854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079533495,"filename":"image_20022025_12_19_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed7be4b27f3df628f24b7b0cdaca3c5c.jpg","text":"TemporaryFile(/tmp/multipartBody6044383375157971503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079533495,"filename":"image_20022025_12_19_47_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338661582","file1":"1338661580","file0":"1338661568","file4":"1338661588","file5":"1338661592","file3":"1338661586"},"map_files_photo_id_array":[{"photo_id":"1338661592","filename":"file5"},{"photo_id":"1338661582","filename":"file2"},{"photo_id":"1338661588","filename":"file4"},{"photo_id":"1338661580","filename":"file1"},{"photo_id":"1338661568","filename":"file0"},{"photo_id":"1338661586","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338661588":["hashtag1","hashtag2"]},{"1338661582":["hashtag1","hashtag2"]},{"1338661592":["hashtag1","hashtag2"]},{"1338661586":["hashtag1","hashtag2"]},{"1338661580":["hashtag1","hashtag2"]},{"1338661568":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338661588, 1338661582, 1338661592, 1338661586, 1338661580, 1338661568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9636607170105 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:25:33.625027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_46_9357.jpg', '/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_56_10359.jpg', '/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_16_9317.jpg', '/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_26_10456.jpg', '/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_37_10462.jpg', '/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_46_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_46_9357.jpg
/home/pi/Desktop/images/20022025/12/20/image_20022025_12_20_56_10359.jpg
/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_16_9317.jpg
/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_26_10456.jpg
/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_37_10462.jpg
/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_46_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338661802","1338661811","1338661808","1338661810","1338661827","1338661806"],"photo_ids_order":["1338661802","1338661806","1338661808","1338661810","1338661811","1338661827"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbcc926cd3015620f522282df20ce7af.jpg","text":"TemporaryFile(/tmp/multipartBody9126866934383437478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079594212,"filename":"image_20022025_12_20_46_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b538b823e7be18956ef05da580dfc71.jpg","text":"TemporaryFile(/tmp/multipartBody7423243328409169426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079594212,"filename":"image_20022025_12_21_37_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d878309423b394b2925c876bbd60773.jpg","text":"TemporaryFile(/tmp/multipartBody8450769757705297257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079594212,"filename":"image_20022025_12_21_16_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12f47e1558591d0445060b78a0b82c5f.jpg","text":"TemporaryFile(/tmp/multipartBody3731132687607893664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079594212,"filename":"image_20022025_12_21_26_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af1aed0cd8ad2cad3f22890d27cd1321.jpg","text":"TemporaryFile(/tmp/multipartBody170638269526345704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079594212,"filename":"image_20022025_12_21_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40b705df670efe35b7dcd81b65b0f88c.jpg","text":"TemporaryFile(/tmp/multipartBody7934848856506997918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079594212,"filename":"image_20022025_12_20_56_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338661808","file1":"1338661806","file0":"1338661802","file4":"1338661811","file5":"1338661827","file3":"1338661810"},"map_files_photo_id_array":[{"photo_id":"1338661827","filename":"file5"},{"photo_id":"1338661808","filename":"file2"},{"photo_id":"1338661811","filename":"file4"},{"photo_id":"1338661806","filename":"file1"},{"photo_id":"1338661802","filename":"file0"},{"photo_id":"1338661810","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338661802":["hashtag1","hashtag2"]},{"1338661811":["hashtag1","hashtag2"]},{"1338661808":["hashtag1","hashtag2"]},{"1338661810":["hashtag1","hashtag2"]},{"1338661827":["hashtag1","hashtag2"]},{"1338661806":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338661802, 1338661811, 1338661808, 1338661810, 1338661827, 1338661806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.109888792037964 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:26:32.826726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_57_10453.jpg', '/home/pi/Desktop/images/20022025/12/21/image_20022025_12_22_06_9339.jpg', '/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_17_10541.jpg', '/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_26_9410.jpg', '/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_36_10324.jpg', '/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_47_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/21/image_20022025_12_21_57_10453.jpg
/home/pi/Desktop/images/20022025/12/21/image_20022025_12_22_06_9339.jpg
/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_17_10541.jpg
/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_26_9410.jpg
/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_36_10324.jpg
/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_47_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338661841","1338661907","1338661903","1338661881","1338661865","1338661868"],"photo_ids_order":["1338661841","1338661865","1338661868","1338661881","1338661903","1338661907"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e68bf0ced32891536cf369e35c79f26e.jpg","text":"TemporaryFile(/tmp/multipartBody5948969348277380280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079653413,"filename":"image_20022025_12_21_57_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/228ccfa4cc195a2a99d71745348723a6.jpg","text":"TemporaryFile(/tmp/multipartBody8274324464297747757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079653413,"filename":"image_20022025_12_22_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a98e2057f138ed13f212bb0abfe13926.jpg","text":"TemporaryFile(/tmp/multipartBody6420308470022666465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079653413,"filename":"image_20022025_12_22_36_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f2d52c99f3f3a0f5eb157b7f9f6e3139.jpg","text":"TemporaryFile(/tmp/multipartBody1719370586301835701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079653413,"filename":"image_20022025_12_22_26_9410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4052e497c8e62af70465fc8ca9e33c9e.jpg","text":"TemporaryFile(/tmp/multipartBody5730098486043110468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079653413,"filename":"image_20022025_12_22_06_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82b9338fd501919714cfc4a884050634.jpg","text":"TemporaryFile(/tmp/multipartBody594516702667036572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079653413,"filename":"image_20022025_12_22_17_10541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338661868","file1":"1338661865","file0":"1338661841","file4":"1338661903","file5":"1338661907","file3":"1338661881"},"map_files_photo_id_array":[{"photo_id":"1338661907","filename":"file5"},{"photo_id":"1338661868","filename":"file2"},{"photo_id":"1338661903","filename":"file4"},{"photo_id":"1338661865","filename":"file1"},{"photo_id":"1338661841","filename":"file0"},{"photo_id":"1338661881","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338661841":["hashtag1","hashtag2"]},{"1338661907":["hashtag1","hashtag2"]},{"1338661903":["hashtag1","hashtag2"]},{"1338661881":["hashtag1","hashtag2"]},{"1338661865":["hashtag1","hashtag2"]},{"1338661868":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338661841, 1338661907, 1338661903, 1338661881, 1338661865, 1338661868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.320382595062256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:27:33.066122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_56_9335.jpg', '/home/pi/Desktop/images/20022025/12/22/image_20022025_12_23_07_10453.jpg', '/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_17_10326.jpg', '/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_26_9351.jpg', '/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_37_10431.jpg', '/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_47_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/22/image_20022025_12_22_56_9335.jpg
/home/pi/Desktop/images/20022025/12/22/image_20022025_12_23_07_10453.jpg
/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_17_10326.jpg
/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_26_9351.jpg
/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_37_10431.jpg
/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_47_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338661975","1338661972","1338662034","1338661979","1338661970","1338661973"],"photo_ids_order":["1338661970","1338661972","1338661973","1338661975","1338661979","1338662034"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b506e77cc08eb7a500eb57c2c8aff161.jpg","text":"TemporaryFile(/tmp/multipartBody5493314727969262204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079713638,"filename":"image_20022025_12_23_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2b18f5e24aa0fb252122aa927401ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2516343416581177752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079713638,"filename":"image_20022025_12_23_07_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71725b3e123b3a7dafb3cb47a66aef1c.jpg","text":"TemporaryFile(/tmp/multipartBody2413602203649224825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079713638,"filename":"image_20022025_12_23_47_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/df5736248822a6fc7ef5fc301d1a54c6.jpg","text":"TemporaryFile(/tmp/multipartBody7801880765160107478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079713638,"filename":"image_20022025_12_23_37_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa6b913c71d7ccaaf439df93d3060779.jpg","text":"TemporaryFile(/tmp/multipartBody5441399343855895781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079713638,"filename":"image_20022025_12_22_56_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe25ca559b88622b5c720c2a85d09062.jpg","text":"TemporaryFile(/tmp/multipartBody8485677716366748343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079713638,"filename":"image_20022025_12_23_17_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338661973","file1":"1338661972","file0":"1338661970","file4":"1338661979","file5":"1338662034","file3":"1338661975"},"map_files_photo_id_array":[{"photo_id":"1338662034","filename":"file5"},{"photo_id":"1338661973","filename":"file2"},{"photo_id":"1338661979","filename":"file4"},{"photo_id":"1338661972","filename":"file1"},{"photo_id":"1338661970","filename":"file0"},{"photo_id":"1338661975","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338661975":["hashtag1","hashtag2"]},{"1338661972":["hashtag1","hashtag2"]},{"1338662034":["hashtag1","hashtag2"]},{"1338661979":["hashtag1","hashtag2"]},{"1338661970":["hashtag1","hashtag2"]},{"1338661973":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338661975, 1338661972, 1338662034, 1338661979, 1338661970, 1338661973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.263487577438354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:28:32.131616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_56_9352.jpg', '/home/pi/Desktop/images/20022025/12/23/image_20022025_12_24_07_10406.jpg', '/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_16_9318.jpg', '/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_26_10335.jpg', '/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_37_10333.jpg', '/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_46_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/23/image_20022025_12_23_56_9352.jpg
/home/pi/Desktop/images/20022025/12/23/image_20022025_12_24_07_10406.jpg
/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_16_9318.jpg
/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_26_10335.jpg
/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_37_10333.jpg
/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_46_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338662115","1338662124","1338662118","1338662127","1338662126","1338662120"],"photo_ids_order":["1338662115","1338662118","1338662120","1338662124","1338662126","1338662127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/656dc425f2ca563961fd4e7f7407cb05.jpg","text":"TemporaryFile(/tmp/multipartBody6561473253695974893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079772689,"filename":"image_20022025_12_23_56_9352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50c00c9bfe0008dc35a8d7ad71b357a1.jpg","text":"TemporaryFile(/tmp/multipartBody5934083960786794815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079772689,"filename":"image_20022025_12_24_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e3d46d92836ee9955e1c0aee6d98cf66.jpg","text":"TemporaryFile(/tmp/multipartBody2036154546334615597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079772689,"filename":"image_20022025_12_24_07_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ea4b3c9dd048579afadfa4a7f422025.jpg","text":"TemporaryFile(/tmp/multipartBody2782283190223229872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079772689,"filename":"image_20022025_12_24_46_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eabf7b9b14ba67e03249fe4962b6c756.jpg","text":"TemporaryFile(/tmp/multipartBody2196010469405752364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079772689,"filename":"image_20022025_12_24_37_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3fd4d7aa9ab3dcb9be45e4632e009825.jpg","text":"TemporaryFile(/tmp/multipartBody2902217651003908152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079772689,"filename":"image_20022025_12_24_16_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338662120","file1":"1338662118","file0":"1338662115","file4":"1338662126","file5":"1338662127","file3":"1338662124"},"map_files_photo_id_array":[{"photo_id":"1338662127","filename":"file5"},{"photo_id":"1338662120","filename":"file2"},{"photo_id":"1338662126","filename":"file4"},{"photo_id":"1338662118","filename":"file1"},{"photo_id":"1338662115","filename":"file0"},{"photo_id":"1338662124","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338662115":["hashtag1","hashtag2"]},{"1338662124":["hashtag1","hashtag2"]},{"1338662118":["hashtag1","hashtag2"]},{"1338662127":["hashtag1","hashtag2"]},{"1338662126":["hashtag1","hashtag2"]},{"1338662120":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338662115, 1338662124, 1338662118, 1338662127, 1338662126, 1338662120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45977759361267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:29:32.386451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_56_10352.jpg', '/home/pi/Desktop/images/20022025/12/24/image_20022025_12_25_07_10322.jpg', '/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_16_9345.jpg', '/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_26_10414.jpg', '/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_37_10373.jpg', '/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_46_9310.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/24/image_20022025_12_24_56_10352.jpg
/home/pi/Desktop/images/20022025/12/24/image_20022025_12_25_07_10322.jpg
/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_16_9345.jpg
/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_26_10414.jpg
/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_37_10373.jpg
/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_46_9310.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338662185","1338662182","1338662178","1338662187","1338662172","1338662186"],"photo_ids_order":["1338662172","1338662178","1338662182","1338662185","1338662186","1338662187"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68c9f4f404b1a5fb17730acb601c8a0a.jpg","text":"TemporaryFile(/tmp/multipartBody3509011169773049647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079832957,"filename":"image_20022025_12_25_26_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9fabcf1d286337e7c1c304cbb966a3b6.jpg","text":"TemporaryFile(/tmp/multipartBody9157998319142902705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079832957,"filename":"image_20022025_12_25_16_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60b4a46c30b58615c53dce9960e88d06.jpg","text":"TemporaryFile(/tmp/multipartBody5965952095372226468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079832957,"filename":"image_20022025_12_25_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a9a2a1c6c1d7d9e4fcace7a500ff1cb.jpg","text":"TemporaryFile(/tmp/multipartBody3626829531945408897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079832957,"filename":"image_20022025_12_25_46_9310.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e5a85be0a6935ce1eb21965a228db9df.jpg","text":"TemporaryFile(/tmp/multipartBody7595151163345551301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079832957,"filename":"image_20022025_12_24_56_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57dbd44822f0622182da71340e5d9c5c.jpg","text":"TemporaryFile(/tmp/multipartBody7058784901090654635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079832957,"filename":"image_20022025_12_25_37_10373.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338662182","file1":"1338662178","file0":"1338662172","file4":"1338662186","file5":"1338662187","file3":"1338662185"},"map_files_photo_id_array":[{"photo_id":"1338662187","filename":"file5"},{"photo_id":"1338662182","filename":"file2"},{"photo_id":"1338662186","filename":"file4"},{"photo_id":"1338662178","filename":"file1"},{"photo_id":"1338662172","filename":"file0"},{"photo_id":"1338662185","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338662185":["hashtag1","hashtag2"]},{"1338662182":["hashtag1","hashtag2"]},{"1338662178":["hashtag1","hashtag2"]},{"1338662187":["hashtag1","hashtag2"]},{"1338662172":["hashtag1","hashtag2"]},{"1338662186":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338662185, 1338662182, 1338662178, 1338662187, 1338662172, 1338662186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83627963066101 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:30:32.780923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_57_10505.jpg', '/home/pi/Desktop/images/20022025/12/25/image_20022025_12_26_07_10340.jpg', '/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_16_9348.jpg', '/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_27_10424.jpg', '/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_36_9326.jpg', '/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_47_10444.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/25/image_20022025_12_25_57_10505.jpg
/home/pi/Desktop/images/20022025/12/25/image_20022025_12_26_07_10340.jpg
/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_16_9348.jpg
/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_27_10424.jpg
/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_36_9326.jpg
/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_47_10444.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338662257","1338662259","1338662250","1338662247","1338662256","1338662252"],"photo_ids_order":["1338662247","1338662250","1338662252","1338662256","1338662257","1338662259"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6dd47aadfcad864d926ec56da8415826.jpg","text":"TemporaryFile(/tmp/multipartBody2033973809417857949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079893368,"filename":"image_20022025_12_26_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ba9b509e64bfbcd04e26ef80eee13c6.jpg","text":"TemporaryFile(/tmp/multipartBody5395719530375745229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079893368,"filename":"image_20022025_12_26_47_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59cd153a898098a5c6d018d87206c2d0.jpg","text":"TemporaryFile(/tmp/multipartBody2356368151263358410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079893368,"filename":"image_20022025_12_26_07_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/783d9d7a76e0a6170400a5ca358281cd.jpg","text":"TemporaryFile(/tmp/multipartBody5386503483757039048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079893368,"filename":"image_20022025_12_25_57_10505.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82ee41300a5ae4f6f8eb634579d0ce0c.jpg","text":"TemporaryFile(/tmp/multipartBody3331383246543707654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079893368,"filename":"image_20022025_12_26_27_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b32db92b196b36a3d474907007b0e87.jpg","text":"TemporaryFile(/tmp/multipartBody5873647036002102028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079893368,"filename":"image_20022025_12_26_16_9348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338662252","file1":"1338662250","file0":"1338662247","file4":"1338662257","file5":"1338662259","file3":"1338662256"},"map_files_photo_id_array":[{"photo_id":"1338662259","filename":"file5"},{"photo_id":"1338662252","filename":"file2"},{"photo_id":"1338662257","filename":"file4"},{"photo_id":"1338662250","filename":"file1"},{"photo_id":"1338662247","filename":"file0"},{"photo_id":"1338662256","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338662257":["hashtag1","hashtag2"]},{"1338662259":["hashtag1","hashtag2"]},{"1338662250":["hashtag1","hashtag2"]},{"1338662247":["hashtag1","hashtag2"]},{"1338662256":["hashtag1","hashtag2"]},{"1338662252":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338662257, 1338662259, 1338662250, 1338662247, 1338662256, 1338662252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17466855049133 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:31:32.974147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_57_10433.jpg', '/home/pi/Desktop/images/20022025/12/26/image_20022025_12_27_06_9329.jpg', '/home/pi/Desktop/images/20022025/12/27/image_20022025_12_27_17_10392.jpg', '/home/pi/Desktop/images/20022025/12/27/image_20022025_12_27_26_9321.jpg', '/home/pi/Desktop/images/20022025/12/27/image_20022025_12_27_56_9339.jpg', '/home/pi/Desktop/images/20022025/12/27/image_20022025_12_28_07_10487.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/26/image_20022025_12_26_57_10433.jpg
/home/pi/Desktop/images/20022025/12/26/image_20022025_12_27_06_9329.jpg
/home/pi/Desktop/images/20022025/12/27/image_20022025_12_27_17_10392.jpg
/home/pi/Desktop/images/20022025/12/27/image_20022025_12_27_26_9321.jpg
/home/pi/Desktop/images/20022025/12/27/image_20022025_12_27_56_9339.jpg
/home/pi/Desktop/images/20022025/12/27/image_20022025_12_28_07_10487.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338662503","1338662505","1338662534","1338662465","1338662444","1338662525"],"photo_ids_order":["1338662444","1338662465","1338662503","1338662505","1338662525","1338662534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4826953eabfcdbe2173ffbc5e14879c9.jpg","text":"TemporaryFile(/tmp/multipartBody7261587600056428911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079953570,"filename":"image_20022025_12_27_17_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a3a2aebb4b9ee23a3a0ef233a728c71.jpg","text":"TemporaryFile(/tmp/multipartBody5826316931803984792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079953570,"filename":"image_20022025_12_27_26_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29a5b28e5a64e360d53078054575c0d6.jpg","text":"TemporaryFile(/tmp/multipartBody7689967509741594159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079953570,"filename":"image_20022025_12_28_07_10487.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b93c65ac2acabe797b18c2cb4c889e63.jpg","text":"TemporaryFile(/tmp/multipartBody5645069619899503692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079953570,"filename":"image_20022025_12_27_06_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd9e984224a7b68cb4c9e25602d3ab5e.jpg","text":"TemporaryFile(/tmp/multipartBody3486026805700219414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079953570,"filename":"image_20022025_12_26_57_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb05a641786cac4220f8a7061b45750b.jpg","text":"TemporaryFile(/tmp/multipartBody9119945760237510649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740079953570,"filename":"image_20022025_12_27_56_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338662503","file1":"1338662465","file0":"1338662444","file4":"1338662525","file5":"1338662534","file3":"1338662505"},"map_files_photo_id_array":[{"photo_id":"1338662534","filename":"file5"},{"photo_id":"1338662503","filename":"file2"},{"photo_id":"1338662525","filename":"file4"},{"photo_id":"1338662465","filename":"file1"},{"photo_id":"1338662444","filename":"file0"},{"photo_id":"1338662505","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338662503":["hashtag1","hashtag2"]},{"1338662505":["hashtag1","hashtag2"]},{"1338662534":["hashtag1","hashtag2"]},{"1338662465":["hashtag1","hashtag2"]},{"1338662444":["hashtag1","hashtag2"]},{"1338662525":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338662503, 1338662505, 1338662534, 1338662465, 1338662444, 1338662525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.47854781150818 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:32:32.173150
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/28/image_20022025_12_28_26_10341.jpg', '/home/pi/Desktop/images/20022025/12/28/image_20022025_12_28_37_10354.jpg', '/home/pi/Desktop/images/20022025/12/28/image_20022025_12_28_46_9318.jpg', '/home/pi/Desktop/images/20022025/12/28/image_20022025_12_28_56_10343.jpg', '/home/pi/Desktop/images/20022025/12/28/image_20022025_12_29_07_10365.jpg', '/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_16_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/28/image_20022025_12_28_26_10341.jpg
/home/pi/Desktop/images/20022025/12/28/image_20022025_12_28_37_10354.jpg
/home/pi/Desktop/images/20022025/12/28/image_20022025_12_28_46_9318.jpg
/home/pi/Desktop/images/20022025/12/28/image_20022025_12_28_56_10343.jpg
/home/pi/Desktop/images/20022025/12/28/image_20022025_12_29_07_10365.jpg
/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_16_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338662596","1338662600","1338662592","1338662598","1338662601","1338662594"],"photo_ids_order":["1338662592","1338662594","1338662596","1338662598","1338662600","1338662601"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ccc5be8925767b4c528a568d1a1bd023.jpg","text":"TemporaryFile(/tmp/multipartBody8087808443353371124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080012722,"filename":"image_20022025_12_28_46_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1b216a4d0a3c0b3212188727ffcf867f.jpg","text":"TemporaryFile(/tmp/multipartBody2282674141810703861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080012722,"filename":"image_20022025_12_29_07_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa5961afdd3599defb3684114cb1d22a.jpg","text":"TemporaryFile(/tmp/multipartBody1451386791239555383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080012722,"filename":"image_20022025_12_28_26_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c38d4e3fa3fb1fff66043c9bc1646d4.jpg","text":"TemporaryFile(/tmp/multipartBody8658874856291395626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080012722,"filename":"image_20022025_12_28_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0b20e6f3a327f60abdf5cab6766ffc1.jpg","text":"TemporaryFile(/tmp/multipartBody4546541246817234784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080012722,"filename":"image_20022025_12_29_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25e45a0f75a1f3ad0d636ac599fcb9c8.jpg","text":"TemporaryFile(/tmp/multipartBody6878143320770057683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080012722,"filename":"image_20022025_12_28_37_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338662596","file1":"1338662594","file0":"1338662592","file4":"1338662600","file5":"1338662601","file3":"1338662598"},"map_files_photo_id_array":[{"photo_id":"1338662601","filename":"file5"},{"photo_id":"1338662596","filename":"file2"},{"photo_id":"1338662600","filename":"file4"},{"photo_id":"1338662594","filename":"file1"},{"photo_id":"1338662592","filename":"file0"},{"photo_id":"1338662598","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338662596":["hashtag1","hashtag2"]},{"1338662600":["hashtag1","hashtag2"]},{"1338662592":["hashtag1","hashtag2"]},{"1338662598":["hashtag1","hashtag2"]},{"1338662601":["hashtag1","hashtag2"]},{"1338662594":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338662596, 1338662600, 1338662592, 1338662598, 1338662601, 1338662594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65481781959534 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:33:32.293318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_27_10430.jpg', '/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_37_10344.jpg', '/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_46_9315.jpg', '/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_57_10444.jpg', '/home/pi/Desktop/images/20022025/12/29/image_20022025_12_30_07_10329.jpg', '/home/pi/Desktop/images/20022025/12/30/image_20022025_12_30_16_9391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_27_10430.jpg
/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_37_10344.jpg
/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_46_9315.jpg
/home/pi/Desktop/images/20022025/12/29/image_20022025_12_29_57_10444.jpg
/home/pi/Desktop/images/20022025/12/29/image_20022025_12_30_07_10329.jpg
/home/pi/Desktop/images/20022025/12/30/image_20022025_12_30_16_9391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663261","1338663279","1338663312","1338663222","1338663201","1338663277"],"photo_ids_order":["1338663201","1338663222","1338663261","1338663277","1338663279","1338663312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6fd89c5a996a74af936b5f78c696423a.jpg","text":"TemporaryFile(/tmp/multipartBody9064374903559253415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080073150,"filename":"image_20022025_12_29_46_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4873f0c6c5ea1e889861d242792cf572.jpg","text":"TemporaryFile(/tmp/multipartBody8486814500789410760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080073150,"filename":"image_20022025_12_30_07_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2fca3ab7de9ee0121d16f10d13da3826.jpg","text":"TemporaryFile(/tmp/multipartBody8685709035321732781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080073150,"filename":"image_20022025_12_30_16_9391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c15a522fb76a0fbcb701f17ef4b9f27.jpg","text":"TemporaryFile(/tmp/multipartBody8706677657347625791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080073150,"filename":"image_20022025_12_29_37_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/555b7d2045f19f00b7e8acca43e11703.jpg","text":"TemporaryFile(/tmp/multipartBody5719654461500779722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080073150,"filename":"image_20022025_12_29_27_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a4d31c96215a54e181e773fe0ada8e2c.jpg","text":"TemporaryFile(/tmp/multipartBody3996049985737115499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080073150,"filename":"image_20022025_12_29_57_10444.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663261","file1":"1338663222","file0":"1338663201","file4":"1338663279","file5":"1338663312","file3":"1338663277"},"map_files_photo_id_array":[{"photo_id":"1338663312","filename":"file5"},{"photo_id":"1338663261","filename":"file2"},{"photo_id":"1338663279","filename":"file4"},{"photo_id":"1338663222","filename":"file1"},{"photo_id":"1338663201","filename":"file0"},{"photo_id":"1338663277","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663261":["hashtag1","hashtag2"]},{"1338663279":["hashtag1","hashtag2"]},{"1338663312":["hashtag1","hashtag2"]},{"1338663222":["hashtag1","hashtag2"]},{"1338663201":["hashtag1","hashtag2"]},{"1338663277":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663261, 1338663279, 1338663312, 1338663222, 1338663201, 1338663277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13489580154419 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:34:33.451439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/30/image_20022025_12_30_27_10453.jpg', '/home/pi/Desktop/images/20022025/12/30/image_20022025_12_30_36_9336.jpg', '/home/pi/Desktop/images/20022025/12/30/image_20022025_12_30_47_10377.jpg', '/home/pi/Desktop/images/20022025/12/30/image_20022025_12_31_06_9314.jpg', '/home/pi/Desktop/images/20022025/12/31/image_20022025_12_31_17_10407.jpg', '/home/pi/Desktop/images/20022025/12/31/image_20022025_12_31_27_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/30/image_20022025_12_30_27_10453.jpg
/home/pi/Desktop/images/20022025/12/30/image_20022025_12_30_36_9336.jpg
/home/pi/Desktop/images/20022025/12/30/image_20022025_12_30_47_10377.jpg
/home/pi/Desktop/images/20022025/12/30/image_20022025_12_31_06_9314.jpg
/home/pi/Desktop/images/20022025/12/31/image_20022025_12_31_17_10407.jpg
/home/pi/Desktop/images/20022025/12/31/image_20022025_12_31_27_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663352","1338663354","1338663342","1338663348","1338663350","1338663338"],"photo_ids_order":["1338663338","1338663342","1338663348","1338663350","1338663352","1338663354"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7c3e5f25b4844b7466d7609f46cf949a.jpg","text":"TemporaryFile(/tmp/multipartBody1511295191356211454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080134031,"filename":"image_20022025_12_31_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa424373e2085cba8213ead1e33cce07.jpg","text":"TemporaryFile(/tmp/multipartBody2568662198105763298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080134031,"filename":"image_20022025_12_31_27_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30d2c67f3c498dbb8b4d07e7ee756cce.jpg","text":"TemporaryFile(/tmp/multipartBody2386070022378062634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080134031,"filename":"image_20022025_12_30_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/966d488c95186a2f42bc42f8f6c07f31.jpg","text":"TemporaryFile(/tmp/multipartBody2051015593560482837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080134031,"filename":"image_20022025_12_30_47_10377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91c4d0e4bbe4b9f8a34b33fe339e0d86.jpg","text":"TemporaryFile(/tmp/multipartBody3221249640516415052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080134031,"filename":"image_20022025_12_31_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7192f75b81fdeaec3bfb7bdeb18bd982.jpg","text":"TemporaryFile(/tmp/multipartBody3952569516974257474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080134031,"filename":"image_20022025_12_30_27_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663348","file1":"1338663342","file0":"1338663338","file4":"1338663352","file5":"1338663354","file3":"1338663350"},"map_files_photo_id_array":[{"photo_id":"1338663354","filename":"file5"},{"photo_id":"1338663348","filename":"file2"},{"photo_id":"1338663352","filename":"file4"},{"photo_id":"1338663342","filename":"file1"},{"photo_id":"1338663338","filename":"file0"},{"photo_id":"1338663350","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663352":["hashtag1","hashtag2"]},{"1338663354":["hashtag1","hashtag2"]},{"1338663342":["hashtag1","hashtag2"]},{"1338663348":["hashtag1","hashtag2"]},{"1338663350":["hashtag1","hashtag2"]},{"1338663338":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663352, 1338663354, 1338663342, 1338663348, 1338663350, 1338663338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51802134513855 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:35:32.944133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/31/image_20022025_12_31_36_9334.jpg', '/home/pi/Desktop/images/20022025/12/31/image_20022025_12_31_47_10437.jpg', '/home/pi/Desktop/images/20022025/12/31/image_20022025_12_32_07_10506.jpg', '/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_17_10338.jpg', '/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_26_9346.jpg', '/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_37_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/31/image_20022025_12_31_36_9334.jpg
/home/pi/Desktop/images/20022025/12/31/image_20022025_12_31_47_10437.jpg
/home/pi/Desktop/images/20022025/12/31/image_20022025_12_32_07_10506.jpg
/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_17_10338.jpg
/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_26_9346.jpg
/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_37_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663395","1338663392","1338663386","1338663389","1338663394","1338663382"],"photo_ids_order":["1338663382","1338663386","1338663389","1338663392","1338663394","1338663395"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29ea060318706eeb8365855cb37e02af.jpg","text":"TemporaryFile(/tmp/multipartBody1351109643722967687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080193541,"filename":"image_20022025_12_32_37_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e45a7cacd37160cd19d742e59e113282.jpg","text":"TemporaryFile(/tmp/multipartBody6437420945479501253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080193541,"filename":"image_20022025_12_32_17_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bbd114362a2ab2631b70fe0ee3456495.jpg","text":"TemporaryFile(/tmp/multipartBody9037036210820679364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080193541,"filename":"image_20022025_12_31_47_10437.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/00e17b5fdeeb0504c50c63b0d2360321.jpg","text":"TemporaryFile(/tmp/multipartBody1663022727168076703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080193541,"filename":"image_20022025_12_32_07_10506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f0d2f17cb67a52008e62779467d0bcb2.jpg","text":"TemporaryFile(/tmp/multipartBody3951007994106237106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080193541,"filename":"image_20022025_12_32_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96d3b7f3cafab6aecdad6d3c5eb66e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7644166183419306337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080193541,"filename":"image_20022025_12_31_36_9334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663389","file1":"1338663386","file0":"1338663382","file4":"1338663394","file5":"1338663395","file3":"1338663392"},"map_files_photo_id_array":[{"photo_id":"1338663395","filename":"file5"},{"photo_id":"1338663389","filename":"file2"},{"photo_id":"1338663394","filename":"file4"},{"photo_id":"1338663386","filename":"file1"},{"photo_id":"1338663382","filename":"file0"},{"photo_id":"1338663392","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663395":["hashtag1","hashtag2"]},{"1338663392":["hashtag1","hashtag2"]},{"1338663386":["hashtag1","hashtag2"]},{"1338663389":["hashtag1","hashtag2"]},{"1338663394":["hashtag1","hashtag2"]},{"1338663382":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663395, 1338663392, 1338663386, 1338663389, 1338663394, 1338663382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74431657791138 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:36:32.983602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_46_9322.jpg', '/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_57_10475.jpg', '/home/pi/Desktop/images/20022025/12/32/image_20022025_12_33_07_10332.jpg', '/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_16_9321.jpg', '/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_27_10359.jpg', '/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_37_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_46_9322.jpg
/home/pi/Desktop/images/20022025/12/32/image_20022025_12_32_57_10475.jpg
/home/pi/Desktop/images/20022025/12/32/image_20022025_12_33_07_10332.jpg
/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_16_9321.jpg
/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_27_10359.jpg
/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_37_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663424","1338663429","1338663417","1338663426","1338663428","1338663422"],"photo_ids_order":["1338663417","1338663422","1338663424","1338663426","1338663428","1338663429"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c27a02d9ec132b94ae97d56ba82af92.jpg","text":"TemporaryFile(/tmp/multipartBody6691196584061831953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080253549,"filename":"image_20022025_12_33_07_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e3f1ee41ea3664780a543c176e3aec80.jpg","text":"TemporaryFile(/tmp/multipartBody8675374875192053078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080253549,"filename":"image_20022025_12_33_37_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ef805437b1d1d3b9a53425ad13ac792.jpg","text":"TemporaryFile(/tmp/multipartBody6437553002143436813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080253549,"filename":"image_20022025_12_32_46_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f25483295e4a06684a56589b904eb8e1.jpg","text":"TemporaryFile(/tmp/multipartBody7931310116713261947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080253549,"filename":"image_20022025_12_33_16_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/23973500315c8d9814e29418b8872fcc.jpg","text":"TemporaryFile(/tmp/multipartBody9179236107648814532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080253549,"filename":"image_20022025_12_33_27_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7031a3df5d2772b075e4dab3d6d5f281.jpg","text":"TemporaryFile(/tmp/multipartBody2158984393909687612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080253549,"filename":"image_20022025_12_32_57_10475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663424","file1":"1338663422","file0":"1338663417","file4":"1338663428","file5":"1338663429","file3":"1338663426"},"map_files_photo_id_array":[{"photo_id":"1338663429","filename":"file5"},{"photo_id":"1338663424","filename":"file2"},{"photo_id":"1338663428","filename":"file4"},{"photo_id":"1338663422","filename":"file1"},{"photo_id":"1338663417","filename":"file0"},{"photo_id":"1338663426","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663424":["hashtag1","hashtag2"]},{"1338663429":["hashtag1","hashtag2"]},{"1338663417":["hashtag1","hashtag2"]},{"1338663426":["hashtag1","hashtag2"]},{"1338663428":["hashtag1","hashtag2"]},{"1338663422":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663424, 1338663429, 1338663417, 1338663426, 1338663428, 1338663422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81963062286377 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:37:32.266514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_46_9405.jpg', '/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_57_10440.jpg', '/home/pi/Desktop/images/20022025/12/33/image_20022025_12_34_06_9400.jpg', '/home/pi/Desktop/images/20022025/12/34/image_20022025_12_34_17_10401.jpg', '/home/pi/Desktop/images/20022025/12/34/image_20022025_12_34_27_10442.jpg', '/home/pi/Desktop/images/20022025/12/34/image_20022025_12_34_47_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_46_9405.jpg
/home/pi/Desktop/images/20022025/12/33/image_20022025_12_33_57_10440.jpg
/home/pi/Desktop/images/20022025/12/33/image_20022025_12_34_06_9400.jpg
/home/pi/Desktop/images/20022025/12/34/image_20022025_12_34_17_10401.jpg
/home/pi/Desktop/images/20022025/12/34/image_20022025_12_34_27_10442.jpg
/home/pi/Desktop/images/20022025/12/34/image_20022025_12_34_47_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663454","1338663450","1338663452","1338663446","1338663455","1338663449"],"photo_ids_order":["1338663446","1338663449","1338663450","1338663452","1338663454","1338663455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f31e6a252dd42519c17bc1496f76d689.jpg","text":"TemporaryFile(/tmp/multipartBody6617171758213292965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080312824,"filename":"image_20022025_12_34_27_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c764c901735acf6248dd31b68bf1253e.jpg","text":"TemporaryFile(/tmp/multipartBody5004924981540859623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080312824,"filename":"image_20022025_12_34_06_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b3e35c527dcc69220af219d74e2f4fab.jpg","text":"TemporaryFile(/tmp/multipartBody1421393995564467007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080312824,"filename":"image_20022025_12_34_17_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34a7d931f4677be052c141ccedb03753.jpg","text":"TemporaryFile(/tmp/multipartBody5980564173585066123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080312824,"filename":"image_20022025_12_33_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/69967a74084988091a6b155c764eeda8.jpg","text":"TemporaryFile(/tmp/multipartBody2913074287190378453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080312824,"filename":"image_20022025_12_34_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/939ade52dca87279511fb6b34ce66924.jpg","text":"TemporaryFile(/tmp/multipartBody6928941571423657399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080312824,"filename":"image_20022025_12_33_57_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663450","file1":"1338663449","file0":"1338663446","file4":"1338663454","file5":"1338663455","file3":"1338663452"},"map_files_photo_id_array":[{"photo_id":"1338663455","filename":"file5"},{"photo_id":"1338663450","filename":"file2"},{"photo_id":"1338663454","filename":"file4"},{"photo_id":"1338663449","filename":"file1"},{"photo_id":"1338663446","filename":"file0"},{"photo_id":"1338663452","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663454":["hashtag1","hashtag2"]},{"1338663450":["hashtag1","hashtag2"]},{"1338663452":["hashtag1","hashtag2"]},{"1338663446":["hashtag1","hashtag2"]},{"1338663455":["hashtag1","hashtag2"]},{"1338663449":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663454, 1338663450, 1338663452, 1338663446, 1338663455, 1338663449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.30595588684082 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:38:32.405661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/34/image_20022025_12_34_56_9387.jpg', '/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_17_10325.jpg', '/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_26_9342.jpg', '/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_37_10401.jpg', '/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_47_10331.jpg', '/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_56_9364.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/34/image_20022025_12_34_56_9387.jpg
/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_17_10325.jpg
/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_26_9342.jpg
/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_37_10401.jpg
/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_47_10331.jpg
/home/pi/Desktop/images/20022025/12/35/image_20022025_12_35_56_9364.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663538","1338663532","1338663526","1338663535","1338663528","1338663537"],"photo_ids_order":["1338663526","1338663528","1338663532","1338663535","1338663537","1338663538"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8c2b66830556a7e6a851f236ad1809da.jpg","text":"TemporaryFile(/tmp/multipartBody6946753179467829044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080373122,"filename":"image_20022025_12_35_56_9364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/99dce57e62f7a2d2e132d212fa3210b9.jpg","text":"TemporaryFile(/tmp/multipartBody1803558753740270545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080373122,"filename":"image_20022025_12_35_26_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e7923644cf3e93ba84870295e6d3f674.jpg","text":"TemporaryFile(/tmp/multipartBody3906947873458043978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080373122,"filename":"image_20022025_12_34_56_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/87f7c4ef299ec6b8744fbd2a2be7d362.jpg","text":"TemporaryFile(/tmp/multipartBody7760192179520279129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080373122,"filename":"image_20022025_12_35_37_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fcba3641b12919bef522f0464c411dbb.jpg","text":"TemporaryFile(/tmp/multipartBody4273454766676844208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080373122,"filename":"image_20022025_12_35_17_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4960a2219d45b3414642924441c3cf7.jpg","text":"TemporaryFile(/tmp/multipartBody7771624704625191596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080373122,"filename":"image_20022025_12_35_47_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663532","file1":"1338663528","file0":"1338663526","file4":"1338663537","file5":"1338663538","file3":"1338663535"},"map_files_photo_id_array":[{"photo_id":"1338663538","filename":"file5"},{"photo_id":"1338663532","filename":"file2"},{"photo_id":"1338663537","filename":"file4"},{"photo_id":"1338663528","filename":"file1"},{"photo_id":"1338663526","filename":"file0"},{"photo_id":"1338663535","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663538":["hashtag1","hashtag2"]},{"1338663532":["hashtag1","hashtag2"]},{"1338663526":["hashtag1","hashtag2"]},{"1338663535":["hashtag1","hashtag2"]},{"1338663528":["hashtag1","hashtag2"]},{"1338663537":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663538, 1338663532, 1338663526, 1338663535, 1338663528, 1338663537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.435826539993286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:39:32.573607
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/35/image_20022025_12_36_07_10432.jpg', '/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_16_9326.jpg', '/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_27_10471.jpg', '/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_37_10347.jpg', '/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_46_9340.jpg', '/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_57_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/35/image_20022025_12_36_07_10432.jpg
/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_16_9326.jpg
/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_27_10471.jpg
/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_37_10347.jpg
/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_46_9340.jpg
/home/pi/Desktop/images/20022025/12/36/image_20022025_12_36_57_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663559","1338663550","1338663552","1338663563","1338663554","1338663556"],"photo_ids_order":["1338663550","1338663552","1338663554","1338663556","1338663559","1338663563"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65df3d08c8fec1bd095b57a74599b691.jpg","text":"TemporaryFile(/tmp/multipartBody4438282857861481215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080433198,"filename":"image_20022025_12_36_46_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13afaca6692acfa32fa77385bb3bae56.jpg","text":"TemporaryFile(/tmp/multipartBody5654265581465025221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080433198,"filename":"image_20022025_12_36_07_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/54e67cbd7e0f89377cd66520b76b0518.jpg","text":"TemporaryFile(/tmp/multipartBody8392875440451518479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080433198,"filename":"image_20022025_12_36_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0bede56c0dc57f42209f1ee57f562cd.jpg","text":"TemporaryFile(/tmp/multipartBody6922298541488496906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080433198,"filename":"image_20022025_12_36_57_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/986fbd0a2c5f543a63320ea67ab04245.jpg","text":"TemporaryFile(/tmp/multipartBody5025211716542617332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080433198,"filename":"image_20022025_12_36_27_10471.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e380bfadec315c80f507fd5e92bc510.jpg","text":"TemporaryFile(/tmp/multipartBody4577023263070332802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080433198,"filename":"image_20022025_12_36_37_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663554","file1":"1338663552","file0":"1338663550","file4":"1338663559","file5":"1338663563","file3":"1338663556"},"map_files_photo_id_array":[{"photo_id":"1338663563","filename":"file5"},{"photo_id":"1338663554","filename":"file2"},{"photo_id":"1338663559","filename":"file4"},{"photo_id":"1338663552","filename":"file1"},{"photo_id":"1338663550","filename":"file0"},{"photo_id":"1338663556","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663559":["hashtag1","hashtag2"]},{"1338663550":["hashtag1","hashtag2"]},{"1338663552":["hashtag1","hashtag2"]},{"1338663563":["hashtag1","hashtag2"]},{"1338663554":["hashtag1","hashtag2"]},{"1338663556":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663559, 1338663550, 1338663552, 1338663563, 1338663554, 1338663556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.04701781272888 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:40:32.712624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_16_9323.jpg', '/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_27_10457.jpg', '/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_36_9335.jpg', '/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_46_10326.jpg', '/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_57_10358.jpg', '/home/pi/Desktop/images/20022025/12/37/image_20022025_12_38_06_9315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_16_9323.jpg
/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_27_10457.jpg
/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_36_9335.jpg
/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_46_10326.jpg
/home/pi/Desktop/images/20022025/12/37/image_20022025_12_37_57_10358.jpg
/home/pi/Desktop/images/20022025/12/37/image_20022025_12_38_06_9315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663597","1338663591","1338663594","1338663588","1338663596","1338663592"],"photo_ids_order":["1338663588","1338663591","1338663592","1338663594","1338663596","1338663597"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0a8c622ef43c321fcea15a5b09733940.jpg","text":"TemporaryFile(/tmp/multipartBody6287816932161442280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080493284,"filename":"image_20022025_12_38_06_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/712bb1260d67eb607cdd93421f75b2cd.jpg","text":"TemporaryFile(/tmp/multipartBody2459558471134596240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080493284,"filename":"image_20022025_12_37_27_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b0134b6ef5c114efc2ba7a4449ec259.jpg","text":"TemporaryFile(/tmp/multipartBody7715551060898799029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080493284,"filename":"image_20022025_12_37_46_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a475fdafe6f6848d77d21f30bb8f05df.jpg","text":"TemporaryFile(/tmp/multipartBody4921009132049230765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080493284,"filename":"image_20022025_12_37_16_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4aa142ad8d4ac143b8ea852e60b4e86.jpg","text":"TemporaryFile(/tmp/multipartBody947242664969937011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080493284,"filename":"image_20022025_12_37_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1009b4966e58ec7a6751a9eda566fcb.jpg","text":"TemporaryFile(/tmp/multipartBody5199307738000650799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080493284,"filename":"image_20022025_12_37_36_9335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663592","file1":"1338663591","file0":"1338663588","file4":"1338663596","file5":"1338663597","file3":"1338663594"},"map_files_photo_id_array":[{"photo_id":"1338663597","filename":"file5"},{"photo_id":"1338663592","filename":"file2"},{"photo_id":"1338663596","filename":"file4"},{"photo_id":"1338663591","filename":"file1"},{"photo_id":"1338663588","filename":"file0"},{"photo_id":"1338663594","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663597":["hashtag1","hashtag2"]},{"1338663591":["hashtag1","hashtag2"]},{"1338663594":["hashtag1","hashtag2"]},{"1338663588":["hashtag1","hashtag2"]},{"1338663596":["hashtag1","hashtag2"]},{"1338663592":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663597, 1338663591, 1338663594, 1338663588, 1338663596, 1338663592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02651262283325 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:41:32.876484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_16_10342.jpg', '/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_27_10337.jpg', '/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_36_9403.jpg', '/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_47_10397.jpg', '/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_57_10338.jpg', '/home/pi/Desktop/images/20022025/12/38/image_20022025_12_39_06_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_16_10342.jpg
/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_27_10337.jpg
/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_36_9403.jpg
/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_47_10397.jpg
/home/pi/Desktop/images/20022025/12/38/image_20022025_12_38_57_10338.jpg
/home/pi/Desktop/images/20022025/12/38/image_20022025_12_39_06_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663622","1338663631","1338663633","1338663624","1338663626","1338663629"],"photo_ids_order":["1338663622","1338663624","1338663626","1338663629","1338663631","1338663633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b6078a705d68b26918ee7b94773e8d77.jpg","text":"TemporaryFile(/tmp/multipartBody825067537055943928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080553425,"filename":"image_20022025_12_38_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4865a551c215821bf93c7e42c4ba1a4b.jpg","text":"TemporaryFile(/tmp/multipartBody4829876182620207156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080553425,"filename":"image_20022025_12_38_57_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95bf81ef047e5d1f74aa6f785ab0524f.jpg","text":"TemporaryFile(/tmp/multipartBody1636714730341140839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080553425,"filename":"image_20022025_12_39_06_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a04077f14a63d26840199d0a256d994.jpg","text":"TemporaryFile(/tmp/multipartBody7279253272597921060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080553425,"filename":"image_20022025_12_38_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a04275e0d44fa7a0ce6491c23be4b4c.jpg","text":"TemporaryFile(/tmp/multipartBody8431312724340017343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080553425,"filename":"image_20022025_12_38_36_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b6d51b77744d22933be51ab8da90b7a.jpg","text":"TemporaryFile(/tmp/multipartBody4769594334522130966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080553425,"filename":"image_20022025_12_38_47_10397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663626","file1":"1338663624","file0":"1338663622","file4":"1338663631","file5":"1338663633","file3":"1338663629"},"map_files_photo_id_array":[{"photo_id":"1338663633","filename":"file5"},{"photo_id":"1338663626","filename":"file2"},{"photo_id":"1338663631","filename":"file4"},{"photo_id":"1338663624","filename":"file1"},{"photo_id":"1338663622","filename":"file0"},{"photo_id":"1338663629","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663622":["hashtag1","hashtag2"]},{"1338663631":["hashtag1","hashtag2"]},{"1338663633":["hashtag1","hashtag2"]},{"1338663624":["hashtag1","hashtag2"]},{"1338663626":["hashtag1","hashtag2"]},{"1338663629":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663622, 1338663631, 1338663633, 1338663624, 1338663626, 1338663629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3459792137146 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:42:33.033961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_17_10374.jpg', '/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_27_10352.jpg', '/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_36_9329.jpg', '/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_47_10436.jpg', '/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_56_9343.jpg', '/home/pi/Desktop/images/20022025/12/39/image_20022025_12_40_06_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_17_10374.jpg
/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_27_10352.jpg
/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_36_9329.jpg
/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_47_10436.jpg
/home/pi/Desktop/images/20022025/12/39/image_20022025_12_39_56_9343.jpg
/home/pi/Desktop/images/20022025/12/39/image_20022025_12_40_06_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663657","1338663674","1338663677","1338663671","1338663665","1338663667"],"photo_ids_order":["1338663657","1338663665","1338663667","1338663671","1338663674","1338663677"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/918e84794d8e3e89e217ef376b7a829b.jpg","text":"TemporaryFile(/tmp/multipartBody6199828286653761439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080613594,"filename":"image_20022025_12_39_17_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1c487029dd6ed622d9d100922149548a.jpg","text":"TemporaryFile(/tmp/multipartBody8074046275601361139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080613594,"filename":"image_20022025_12_39_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70a6ce4dbe2afd9039fca066818d0c73.jpg","text":"TemporaryFile(/tmp/multipartBody4480301724514834542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080613594,"filename":"image_20022025_12_40_06_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ab1439c38d53ce756d148aa068b4e797.jpg","text":"TemporaryFile(/tmp/multipartBody5422753787697439292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080613594,"filename":"image_20022025_12_39_47_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/214d3f8a6e69b561db4252d76012fa66.jpg","text":"TemporaryFile(/tmp/multipartBody3363938635613698960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080613594,"filename":"image_20022025_12_39_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/df781d4424b5af9d1a3d4363a8c0bd64.jpg","text":"TemporaryFile(/tmp/multipartBody4802125916171193149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080613594,"filename":"image_20022025_12_39_36_9329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663667","file1":"1338663665","file0":"1338663657","file4":"1338663674","file5":"1338663677","file3":"1338663671"},"map_files_photo_id_array":[{"photo_id":"1338663677","filename":"file5"},{"photo_id":"1338663667","filename":"file2"},{"photo_id":"1338663674","filename":"file4"},{"photo_id":"1338663665","filename":"file1"},{"photo_id":"1338663657","filename":"file0"},{"photo_id":"1338663671","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663657":["hashtag1","hashtag2"]},{"1338663674":["hashtag1","hashtag2"]},{"1338663677":["hashtag1","hashtag2"]},{"1338663671":["hashtag1","hashtag2"]},{"1338663665":["hashtag1","hashtag2"]},{"1338663667":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663657, 1338663674, 1338663677, 1338663671, 1338663665, 1338663667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.66890811920166 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:43:32.233713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_17_10333.jpg', '/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_26_9365.jpg', '/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_36_10419.jpg', '/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_47_10343.jpg', '/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_56_9361.jpg', '/home/pi/Desktop/images/20022025/12/40/image_20022025_12_41_07_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_17_10333.jpg
/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_26_9365.jpg
/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_36_10419.jpg
/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_47_10343.jpg
/home/pi/Desktop/images/20022025/12/40/image_20022025_12_40_56_9361.jpg
/home/pi/Desktop/images/20022025/12/40/image_20022025_12_41_07_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663712","1338663706","1338663708","1338663710","1338663713","1338663704"],"photo_ids_order":["1338663704","1338663706","1338663708","1338663710","1338663712","1338663713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a0e976b05ca1225c449c312516766f3.jpg","text":"TemporaryFile(/tmp/multipartBody1896592660322930419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080672800,"filename":"image_20022025_12_40_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24732ca3a9d565aa16c09e03809ef34f.jpg","text":"TemporaryFile(/tmp/multipartBody5327750829149268930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080672800,"filename":"image_20022025_12_40_26_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b51418f7084d3c7b7ad7a665345e8c0.jpg","text":"TemporaryFile(/tmp/multipartBody2097283666833789398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080672800,"filename":"image_20022025_12_40_36_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a30c8df6039daa5989d5f17737338f94.jpg","text":"TemporaryFile(/tmp/multipartBody3613951312778051009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080672800,"filename":"image_20022025_12_40_47_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b69a67b8dcdd3bd047bd06d279dbfbe4.jpg","text":"TemporaryFile(/tmp/multipartBody2838011129351488401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080672800,"filename":"image_20022025_12_41_07_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a8727a01d8c3acb1d25315910561b9a.jpg","text":"TemporaryFile(/tmp/multipartBody3787006251772746731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080672800,"filename":"image_20022025_12_40_17_10333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663708","file1":"1338663706","file0":"1338663704","file4":"1338663712","file5":"1338663713","file3":"1338663710"},"map_files_photo_id_array":[{"photo_id":"1338663713","filename":"file5"},{"photo_id":"1338663708","filename":"file2"},{"photo_id":"1338663712","filename":"file4"},{"photo_id":"1338663706","filename":"file1"},{"photo_id":"1338663704","filename":"file0"},{"photo_id":"1338663710","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663712":["hashtag1","hashtag2"]},{"1338663706":["hashtag1","hashtag2"]},{"1338663708":["hashtag1","hashtag2"]},{"1338663710":["hashtag1","hashtag2"]},{"1338663713":["hashtag1","hashtag2"]},{"1338663704":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663712, 1338663706, 1338663708, 1338663710, 1338663713, 1338663704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0677764415741 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:44:32.436648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_17_10336.jpg', '/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_26_9334.jpg', '/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_37_10379.jpg', '/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_47_10337.jpg', '/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_56_9346.jpg', '/home/pi/Desktop/images/20022025/12/41/image_20022025_12_42_07_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_17_10336.jpg
/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_26_9334.jpg
/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_37_10379.jpg
/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_47_10337.jpg
/home/pi/Desktop/images/20022025/12/41/image_20022025_12_41_56_9346.jpg
/home/pi/Desktop/images/20022025/12/41/image_20022025_12_42_07_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663763","1338663757","1338663750","1338663752","1338663760","1338663754"],"photo_ids_order":["1338663750","1338663752","1338663754","1338663757","1338663760","1338663763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c8288eb37f575df3ee541333cc382997.jpg","text":"TemporaryFile(/tmp/multipartBody1677296032384043726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080733285,"filename":"image_20022025_12_42_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5517099ba763c42df085efbba44aa417.jpg","text":"TemporaryFile(/tmp/multipartBody1039398816430919044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080733285,"filename":"image_20022025_12_41_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd0961a9da5d1a252a2970698fb41c01.jpg","text":"TemporaryFile(/tmp/multipartBody1502793217428538204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080733285,"filename":"image_20022025_12_41_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5b5b6a94c022f9cdcaff3f600065f2f5.jpg","text":"TemporaryFile(/tmp/multipartBody3912087477077236593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080733285,"filename":"image_20022025_12_41_26_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a3f9e4d669ae94575a1787ef31440160.jpg","text":"TemporaryFile(/tmp/multipartBody999924098887973425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080733285,"filename":"image_20022025_12_41_56_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/795321822bf05c0c1763d9f09dca3596.jpg","text":"TemporaryFile(/tmp/multipartBody1246007950352723025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080733285,"filename":"image_20022025_12_41_37_10379.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663754","file1":"1338663752","file0":"1338663750","file4":"1338663760","file5":"1338663763","file3":"1338663757"},"map_files_photo_id_array":[{"photo_id":"1338663763","filename":"file5"},{"photo_id":"1338663754","filename":"file2"},{"photo_id":"1338663760","filename":"file4"},{"photo_id":"1338663752","filename":"file1"},{"photo_id":"1338663750","filename":"file0"},{"photo_id":"1338663757","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663763":["hashtag1","hashtag2"]},{"1338663757":["hashtag1","hashtag2"]},{"1338663750":["hashtag1","hashtag2"]},{"1338663752":["hashtag1","hashtag2"]},{"1338663760":["hashtag1","hashtag2"]},{"1338663754":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663763, 1338663757, 1338663750, 1338663752, 1338663760, 1338663754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.484105348587036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:45:32.685592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_16_9409.jpg', '/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_27_10455.jpg', '/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_37_10319.jpg', '/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_46_9326.jpg', '/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_57_10364.jpg', '/home/pi/Desktop/images/20022025/12/42/image_20022025_12_43_07_10380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_16_9409.jpg
/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_27_10455.jpg
/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_37_10319.jpg
/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_46_9326.jpg
/home/pi/Desktop/images/20022025/12/42/image_20022025_12_42_57_10364.jpg
/home/pi/Desktop/images/20022025/12/42/image_20022025_12_43_07_10380.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663789","1338663777","1338663774","1338663773","1338663779","1338663775"],"photo_ids_order":["1338663773","1338663774","1338663775","1338663777","1338663779","1338663789"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5a430440058b2e60f6a802ceaf8f046a.jpg","text":"TemporaryFile(/tmp/multipartBody6807552985930870427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080793239,"filename":"image_20022025_12_43_07_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26e880485e12f363ff47f16c520c4e57.jpg","text":"TemporaryFile(/tmp/multipartBody4069389742517993191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080793239,"filename":"image_20022025_12_42_46_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/feaaa82a7a24603e522ec1c864b421ce.jpg","text":"TemporaryFile(/tmp/multipartBody6992617668994146211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080793239,"filename":"image_20022025_12_42_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de3f29d909465f18e39233e6bb2819b1.jpg","text":"TemporaryFile(/tmp/multipartBody7583596503566790622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080793239,"filename":"image_20022025_12_42_16_9409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a908b9a6f2e89996c90b9aeba947c85.jpg","text":"TemporaryFile(/tmp/multipartBody8536919467302773226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080793239,"filename":"image_20022025_12_42_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f279b5141ef9590a3e570d485194822d.jpg","text":"TemporaryFile(/tmp/multipartBody936173528998259332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080793239,"filename":"image_20022025_12_42_37_10319.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663775","file1":"1338663774","file0":"1338663773","file4":"1338663779","file5":"1338663789","file3":"1338663777"},"map_files_photo_id_array":[{"photo_id":"1338663789","filename":"file5"},{"photo_id":"1338663775","filename":"file2"},{"photo_id":"1338663779","filename":"file4"},{"photo_id":"1338663774","filename":"file1"},{"photo_id":"1338663773","filename":"file0"},{"photo_id":"1338663777","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663789":["hashtag1","hashtag2"]},{"1338663777":["hashtag1","hashtag2"]},{"1338663774":["hashtag1","hashtag2"]},{"1338663773":["hashtag1","hashtag2"]},{"1338663779":["hashtag1","hashtag2"]},{"1338663775":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663789, 1338663777, 1338663774, 1338663773, 1338663779, 1338663775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65205955505371 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:46:32.925359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/43/image_20022025_12_43_16_9317.jpg', '/home/pi/Desktop/images/20022025/12/43/image_20022025_12_43_27_10462.jpg', '/home/pi/Desktop/images/20022025/12/43/image_20022025_12_43_46_10329.jpg', '/home/pi/Desktop/images/20022025/12/43/image_20022025_12_43_57_10364.jpg', '/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_17_10483.jpg', '/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_27_10445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/43/image_20022025_12_43_16_9317.jpg
/home/pi/Desktop/images/20022025/12/43/image_20022025_12_43_27_10462.jpg
/home/pi/Desktop/images/20022025/12/43/image_20022025_12_43_46_10329.jpg
/home/pi/Desktop/images/20022025/12/43/image_20022025_12_43_57_10364.jpg
/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_17_10483.jpg
/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_27_10445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338663823","1338663817","1338663825","1338663834","1338663819","1338663821"],"photo_ids_order":["1338663817","1338663819","1338663821","1338663823","1338663825","1338663834"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d211480804f0a4edd796cdc1d215ef88.jpg","text":"TemporaryFile(/tmp/multipartBody1023418531511818364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080853488,"filename":"image_20022025_12_43_57_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7a2873a20e5cceff8efb1726db00d24e.jpg","text":"TemporaryFile(/tmp/multipartBody1700899210063619029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080853488,"filename":"image_20022025_12_43_16_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6116bc81bb0a05943dc825393d47e1a0.jpg","text":"TemporaryFile(/tmp/multipartBody4679061643989680700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080853488,"filename":"image_20022025_12_44_17_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a903fdb8581c66306ac2f419a3efc67a.jpg","text":"TemporaryFile(/tmp/multipartBody369059448422844129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080853488,"filename":"image_20022025_12_44_27_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1fc6aec604140ddfd94ccd00d169e320.jpg","text":"TemporaryFile(/tmp/multipartBody7103551342324544317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080853488,"filename":"image_20022025_12_43_27_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94b15c36d1f62ccb6e266e0b8eb9432f.jpg","text":"TemporaryFile(/tmp/multipartBody551089249501937122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080853488,"filename":"image_20022025_12_43_46_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338663821","file1":"1338663819","file0":"1338663817","file4":"1338663825","file5":"1338663834","file3":"1338663823"},"map_files_photo_id_array":[{"photo_id":"1338663834","filename":"file5"},{"photo_id":"1338663821","filename":"file2"},{"photo_id":"1338663825","filename":"file4"},{"photo_id":"1338663819","filename":"file1"},{"photo_id":"1338663817","filename":"file0"},{"photo_id":"1338663823","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338663823":["hashtag1","hashtag2"]},{"1338663817":["hashtag1","hashtag2"]},{"1338663825":["hashtag1","hashtag2"]},{"1338663834":["hashtag1","hashtag2"]},{"1338663819":["hashtag1","hashtag2"]},{"1338663821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338663823, 1338663817, 1338663825, 1338663834, 1338663819, 1338663821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.759746074676514 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:47:33.041054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_36_9319.jpg', '/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_47_10446.jpg', '/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_56_9324.jpg', '/home/pi/Desktop/images/20022025/12/44/image_20022025_12_45_06_10427.jpg', '/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_17_10352.jpg', '/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_26_9353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_36_9319.jpg
/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_47_10446.jpg
/home/pi/Desktop/images/20022025/12/44/image_20022025_12_44_56_9324.jpg
/home/pi/Desktop/images/20022025/12/44/image_20022025_12_45_06_10427.jpg
/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_17_10352.jpg
/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_26_9353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664056","1338664050","1338664053","1338664058","1338664060","1338664054"],"photo_ids_order":["1338664050","1338664053","1338664054","1338664056","1338664058","1338664060"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ecdff55f6a3a49d0d4c28db9edc4b35b.jpg","text":"TemporaryFile(/tmp/multipartBody277082989719980050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080913622,"filename":"image_20022025_12_45_06_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc301383ae94a24b6a9280aaa3b990d6.jpg","text":"TemporaryFile(/tmp/multipartBody4824563615780596865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080913622,"filename":"image_20022025_12_44_36_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e63702e436d3a36b8c19856ee88d3de.jpg","text":"TemporaryFile(/tmp/multipartBody5963588178107509566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080913622,"filename":"image_20022025_12_44_47_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4367b13e4ea19d4d08815d4f3f0995a1.jpg","text":"TemporaryFile(/tmp/multipartBody42830287836326423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080913622,"filename":"image_20022025_12_45_17_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/130b3ac522222b37df1bf76113dcb712.jpg","text":"TemporaryFile(/tmp/multipartBody4478034365910310447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080913622,"filename":"image_20022025_12_45_26_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3059072711ed4a8386afdbdbe17b89ac.jpg","text":"TemporaryFile(/tmp/multipartBody1961585922417041998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080913622,"filename":"image_20022025_12_44_56_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664054","file1":"1338664053","file0":"1338664050","file4":"1338664058","file5":"1338664060","file3":"1338664056"},"map_files_photo_id_array":[{"photo_id":"1338664060","filename":"file5"},{"photo_id":"1338664054","filename":"file2"},{"photo_id":"1338664058","filename":"file4"},{"photo_id":"1338664053","filename":"file1"},{"photo_id":"1338664050","filename":"file0"},{"photo_id":"1338664056","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664056":["hashtag1","hashtag2"]},{"1338664050":["hashtag1","hashtag2"]},{"1338664053":["hashtag1","hashtag2"]},{"1338664058":["hashtag1","hashtag2"]},{"1338664060":["hashtag1","hashtag2"]},{"1338664054":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664056, 1338664050, 1338664053, 1338664058, 1338664060, 1338664054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.000357151031494 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:48:32.226673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_37_10430.jpg', '/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_47_10333.jpg', '/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_56_9339.jpg', '/home/pi/Desktop/images/20022025/12/45/image_20022025_12_46_07_10444.jpg', '/home/pi/Desktop/images/20022025/12/46/image_20022025_12_46_27_10469.jpg', '/home/pi/Desktop/images/20022025/12/46/image_20022025_12_46_37_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_37_10430.jpg
/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_47_10333.jpg
/home/pi/Desktop/images/20022025/12/45/image_20022025_12_45_56_9339.jpg
/home/pi/Desktop/images/20022025/12/45/image_20022025_12_46_07_10444.jpg
/home/pi/Desktop/images/20022025/12/46/image_20022025_12_46_27_10469.jpg
/home/pi/Desktop/images/20022025/12/46/image_20022025_12_46_37_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664122","1338664110","1338664104","1338664113","1338664107","1338664116"],"photo_ids_order":["1338664104","1338664107","1338664110","1338664113","1338664116","1338664122"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2294fd8e46cdef8dc8c1b8835be0d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody6940831936908335069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080972802,"filename":"image_20022025_12_46_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3519a4002176949910b9d4cba4e17698.jpg","text":"TemporaryFile(/tmp/multipartBody3657424911524060428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080972802,"filename":"image_20022025_12_45_56_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/87ab82597b37b620e850c80f52796c09.jpg","text":"TemporaryFile(/tmp/multipartBody5058929813464442090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080972802,"filename":"image_20022025_12_45_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55887b418e6efbcb8d8abbebf9e93367.jpg","text":"TemporaryFile(/tmp/multipartBody2140619758905556926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080972802,"filename":"image_20022025_12_46_07_10444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c63f27f001dff48887039953d6bfadb2.jpg","text":"TemporaryFile(/tmp/multipartBody3734241184893504816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080972802,"filename":"image_20022025_12_45_47_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5c108465e38703b1b91744d8e796ef76.jpg","text":"TemporaryFile(/tmp/multipartBody3917452107202497358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740080972802,"filename":"image_20022025_12_46_27_10469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664110","file1":"1338664107","file0":"1338664104","file4":"1338664116","file5":"1338664122","file3":"1338664113"},"map_files_photo_id_array":[{"photo_id":"1338664122","filename":"file5"},{"photo_id":"1338664110","filename":"file2"},{"photo_id":"1338664116","filename":"file4"},{"photo_id":"1338664107","filename":"file1"},{"photo_id":"1338664104","filename":"file0"},{"photo_id":"1338664113","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664122":["hashtag1","hashtag2"]},{"1338664110":["hashtag1","hashtag2"]},{"1338664104":["hashtag1","hashtag2"]},{"1338664113":["hashtag1","hashtag2"]},{"1338664107":["hashtag1","hashtag2"]},{"1338664116":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664122, 1338664110, 1338664104, 1338664113, 1338664107, 1338664116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.819984436035156 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:49:32.503517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/46/image_20022025_12_46_57_10306.jpg', '/home/pi/Desktop/images/20022025/12/47/image_20022025_12_47_36_9424.jpg', '/home/pi/Desktop/images/20022025/12/47/image_20022025_12_47_47_10398.jpg', '/home/pi/Desktop/images/20022025/12/47/image_20022025_12_47_57_10355.jpg', '/home/pi/Desktop/images/20022025/12/47/image_20022025_12_48_06_9361.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_17_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/46/image_20022025_12_46_57_10306.jpg
/home/pi/Desktop/images/20022025/12/47/image_20022025_12_47_36_9424.jpg
/home/pi/Desktop/images/20022025/12/47/image_20022025_12_47_47_10398.jpg
/home/pi/Desktop/images/20022025/12/47/image_20022025_12_47_57_10355.jpg
/home/pi/Desktop/images/20022025/12/47/image_20022025_12_48_06_9361.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_17_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664137","1338664134","1338664136","1338664138","1338664141","1338664135"],"photo_ids_order":["1338664134","1338664135","1338664136","1338664137","1338664138","1338664141"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1ca01d986b7d1eef7c295dd5b57b874.jpg","text":"TemporaryFile(/tmp/multipartBody8434665571333292792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081033055,"filename":"image_20022025_12_47_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6ba4ad9c489ccea5e5a18fc76f7f47b9.jpg","text":"TemporaryFile(/tmp/multipartBody5579246118012717025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081033055,"filename":"image_20022025_12_46_57_10306.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d8c5936e4a0a9381759d79b10fa0c25.jpg","text":"TemporaryFile(/tmp/multipartBody7358345920970749438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081033055,"filename":"image_20022025_12_47_47_10398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3d2060c1776b597410ad23868968cf33.jpg","text":"TemporaryFile(/tmp/multipartBody7208733308459279708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081033055,"filename":"image_20022025_12_48_06_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a323b9f443d2f96875a9d061b9454d0.jpg","text":"TemporaryFile(/tmp/multipartBody2391896920330582159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081033055,"filename":"image_20022025_12_48_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b19011284243001fa175da67e994efa1.jpg","text":"TemporaryFile(/tmp/multipartBody727162182948872690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081033055,"filename":"image_20022025_12_47_36_9424.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664136","file1":"1338664135","file0":"1338664134","file4":"1338664138","file5":"1338664141","file3":"1338664137"},"map_files_photo_id_array":[{"photo_id":"1338664141","filename":"file5"},{"photo_id":"1338664136","filename":"file2"},{"photo_id":"1338664138","filename":"file4"},{"photo_id":"1338664135","filename":"file1"},{"photo_id":"1338664134","filename":"file0"},{"photo_id":"1338664137","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664137":["hashtag1","hashtag2"]},{"1338664134":["hashtag1","hashtag2"]},{"1338664136":["hashtag1","hashtag2"]},{"1338664138":["hashtag1","hashtag2"]},{"1338664141":["hashtag1","hashtag2"]},{"1338664135":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664137, 1338664134, 1338664136, 1338664138, 1338664141, 1338664135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51369261741638 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:50:32.715669
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_26_9399.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_36_10330.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_47_10385.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_56_9346.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_49_06_10379.jpg', '/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_26_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_26_9399.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_36_10330.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_47_10385.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_56_9346.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_49_06_10379.jpg
/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_26_9338.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.46562743186950684 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 20:50:42.668214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_26_9399.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_36_10330.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_47_10385.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_56_9346.jpg', '/home/pi/Desktop/images/20022025/12/48/image_20022025_12_49_06_10379.jpg', '/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_26_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_26_9399.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_36_10330.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_47_10385.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_48_56_9346.jpg
/home/pi/Desktop/images/20022025/12/48/image_20022025_12_49_06_10379.jpg
/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_26_9338.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":["1338664176","1338664178","1338664172","1338664166","1338664169","1338664174"],"photo_ids_order":["1338664166","1338664169","1338664172","1338664174","1338664176","1338664178"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d24253516232fe82edbe0c340c66cfc8.jpg","text":"TemporaryFile(/tmp/multipartBody3487457238951175691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081103150,"filename":"image_20022025_12_49_06_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48efa10d990b65a4e78782d40afa42f0.jpg","text":"TemporaryFile(/tmp/multipartBody4971209043274853484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081103150,"filename":"image_20022025_12_49_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3fced7b9382319994465fa00e2b675e5.jpg","text":"TemporaryFile(/tmp/multipartBody2345591899859436844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081103150,"filename":"image_20022025_12_48_47_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a8b032ac72a9e31b1a9925bb39c7be2a.jpg","text":"TemporaryFile(/tmp/multipartBody7311095799124238222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081103150,"filename":"image_20022025_12_48_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7a14eea1dbd9bb455f1285c46e2563d.jpg","text":"TemporaryFile(/tmp/multipartBody7777747557670687150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081103150,"filename":"image_20022025_12_48_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c120133effe43a151af9b62a4e79170.jpg","text":"TemporaryFile(/tmp/multipartBody2660568152170760391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081103150,"filename":"image_20022025_12_48_56_9346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664172","file1":"1338664169","file0":"1338664166","file4":"1338664176","file5":"1338664178","file3":"1338664174"},"map_files_photo_id_array":[{"photo_id":"1338664178","filename":"file5"},{"photo_id":"1338664172","filename":"file2"},{"photo_id":"1338664176","filename":"file4"},{"photo_id":"1338664169","filename":"file1"},{"photo_id":"1338664166","filename":"file0"},{"photo_id":"1338664174","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664176":["hashtag1","hashtag2"]},{"1338664178":["hashtag1","hashtag2"]},{"1338664172":["hashtag1","hashtag2"]},{"1338664166":["hashtag1","hashtag2"]},{"1338664169":["hashtag1","hashtag2"]},{"1338664174":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664176, 1338664178, 1338664172, 1338664166, 1338664169, 1338664174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.517659425735474 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:51:32.765110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_37_10395.jpg', '/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_47_10339.jpg', '/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_56_9444.jpg', '/home/pi/Desktop/images/20022025/12/49/image_20022025_12_50_07_10402.jpg', '/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_16_9330.jpg', '/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_27_10457.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_37_10395.jpg
/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_47_10339.jpg
/home/pi/Desktop/images/20022025/12/49/image_20022025_12_49_56_9444.jpg
/home/pi/Desktop/images/20022025/12/49/image_20022025_12_50_07_10402.jpg
/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_16_9330.jpg
/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_27_10457.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664200","1338664199","1338664190","1338664187","1338664195","1338664197"],"photo_ids_order":["1338664187","1338664190","1338664195","1338664197","1338664199","1338664200"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/85710f2ca264c3ad646a80739e6b86d2.jpg","text":"TemporaryFile(/tmp/multipartBody145300143346553627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081153334,"filename":"image_20022025_12_50_27_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92ac7724c0f6e694daeab52a752b4a92.jpg","text":"TemporaryFile(/tmp/multipartBody2065713839946796582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081153334,"filename":"image_20022025_12_50_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83cf0233174c1f0e34fb8a9096e52a8d.jpg","text":"TemporaryFile(/tmp/multipartBody9119964126069805716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081153334,"filename":"image_20022025_12_49_47_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48ec2340503b59276fdd2a1ef7edd906.jpg","text":"TemporaryFile(/tmp/multipartBody153491748901756778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081153334,"filename":"image_20022025_12_49_37_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5cc56bb1c1ffa7b467d8b5af4cba013e.jpg","text":"TemporaryFile(/tmp/multipartBody2800716882584780649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081153334,"filename":"image_20022025_12_49_56_9444.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/229e82c8f8859ce9451821af3df8e724.jpg","text":"TemporaryFile(/tmp/multipartBody3502203960017257543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081153334,"filename":"image_20022025_12_50_07_10402.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664195","file1":"1338664190","file0":"1338664187","file4":"1338664199","file5":"1338664200","file3":"1338664197"},"map_files_photo_id_array":[{"photo_id":"1338664200","filename":"file5"},{"photo_id":"1338664195","filename":"file2"},{"photo_id":"1338664199","filename":"file4"},{"photo_id":"1338664190","filename":"file1"},{"photo_id":"1338664187","filename":"file0"},{"photo_id":"1338664197","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664200":["hashtag1","hashtag2"]},{"1338664199":["hashtag1","hashtag2"]},{"1338664190":["hashtag1","hashtag2"]},{"1338664187":["hashtag1","hashtag2"]},{"1338664195":["hashtag1","hashtag2"]},{"1338664197":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664200, 1338664199, 1338664190, 1338664187, 1338664195, 1338664197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52512288093567 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:52:32.929992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_37_10343.jpg', '/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_46_9333.jpg', '/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_57_10355.jpg', '/home/pi/Desktop/images/20022025/12/50/image_20022025_12_51_07_10327.jpg', '/home/pi/Desktop/images/20022025/12/51/image_20022025_12_51_16_9443.jpg', '/home/pi/Desktop/images/20022025/12/51/image_20022025_12_51_27_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_37_10343.jpg
/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_46_9333.jpg
/home/pi/Desktop/images/20022025/12/50/image_20022025_12_50_57_10355.jpg
/home/pi/Desktop/images/20022025/12/50/image_20022025_12_51_07_10327.jpg
/home/pi/Desktop/images/20022025/12/51/image_20022025_12_51_16_9443.jpg
/home/pi/Desktop/images/20022025/12/51/image_20022025_12_51_27_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664284","1338664236","1338664232","1338664238","1338664304","1338664234"],"photo_ids_order":["1338664232","1338664234","1338664236","1338664238","1338664284","1338664304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e8dd2399ae6a61fbf97b207de2d91d9.jpg","text":"TemporaryFile(/tmp/multipartBody6678892035348168084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081213490,"filename":"image_20022025_12_51_16_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3687376f470f65c75d3a199728416311.jpg","text":"TemporaryFile(/tmp/multipartBody5339187700543261161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081213490,"filename":"image_20022025_12_50_57_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4fc740b0160ec433feb6bd2f49dd7e6.jpg","text":"TemporaryFile(/tmp/multipartBody4225298696250180748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081213490,"filename":"image_20022025_12_50_37_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5e420fe841196a8d208d0c73a4b82be6.jpg","text":"TemporaryFile(/tmp/multipartBody650687362905028727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081213490,"filename":"image_20022025_12_51_07_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f599b262eada4d56b21ae1e16c14b254.jpg","text":"TemporaryFile(/tmp/multipartBody8241880372116619532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081213490,"filename":"image_20022025_12_51_27_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed1a2afe01a533322d84ad8d64cf9a51.jpg","text":"TemporaryFile(/tmp/multipartBody8578028586803413224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081213490,"filename":"image_20022025_12_50_46_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664236","file1":"1338664234","file0":"1338664232","file4":"1338664284","file5":"1338664304","file3":"1338664238"},"map_files_photo_id_array":[{"photo_id":"1338664304","filename":"file5"},{"photo_id":"1338664236","filename":"file2"},{"photo_id":"1338664284","filename":"file4"},{"photo_id":"1338664234","filename":"file1"},{"photo_id":"1338664232","filename":"file0"},{"photo_id":"1338664238","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664284":["hashtag1","hashtag2"]},{"1338664236":["hashtag1","hashtag2"]},{"1338664232":["hashtag1","hashtag2"]},{"1338664238":["hashtag1","hashtag2"]},{"1338664304":["hashtag1","hashtag2"]},{"1338664234":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664284, 1338664236, 1338664232, 1338664238, 1338664304, 1338664234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.668635845184326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:53:33.178099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/51/image_20022025_12_51_36_9376.jpg', '/home/pi/Desktop/images/20022025/12/51/image_20022025_12_51_57_10336.jpg', '/home/pi/Desktop/images/20022025/12/51/image_20022025_12_52_06_9325.jpg', '/home/pi/Desktop/images/20022025/12/52/image_20022025_12_52_17_10376.jpg', '/home/pi/Desktop/images/20022025/12/52/image_20022025_12_52_36_9326.jpg', '/home/pi/Desktop/images/20022025/12/52/image_20022025_12_52_56_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/51/image_20022025_12_51_36_9376.jpg
/home/pi/Desktop/images/20022025/12/51/image_20022025_12_51_57_10336.jpg
/home/pi/Desktop/images/20022025/12/51/image_20022025_12_52_06_9325.jpg
/home/pi/Desktop/images/20022025/12/52/image_20022025_12_52_17_10376.jpg
/home/pi/Desktop/images/20022025/12/52/image_20022025_12_52_36_9326.jpg
/home/pi/Desktop/images/20022025/12/52/image_20022025_12_52_56_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664321","1338664320","1338664314","1338664313","1338664316","1338664318"],"photo_ids_order":["1338664313","1338664314","1338664316","1338664318","1338664320","1338664321"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c22e1fcc2285b89445b1a61dd43c392.jpg","text":"TemporaryFile(/tmp/multipartBody2863233859994232840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081273754,"filename":"image_20022025_12_52_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c5e5d4d8f1bba6d4eedddb19740f902d.jpg","text":"TemporaryFile(/tmp/multipartBody7099103252899864092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081273754,"filename":"image_20022025_12_52_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f618d246dc3110584f0fa8d68e71ee5d.jpg","text":"TemporaryFile(/tmp/multipartBody5788620123419616864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081273754,"filename":"image_20022025_12_51_57_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b11003fa3f35bf0b6e1c9fd4e2b409d4.jpg","text":"TemporaryFile(/tmp/multipartBody5303264320550543467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081273754,"filename":"image_20022025_12_51_36_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52755afc33da6292b89d025800f0ff8c.jpg","text":"TemporaryFile(/tmp/multipartBody6427356384406877038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081273754,"filename":"image_20022025_12_52_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/835a0bd3fb80020e3f5845b2d52776e2.jpg","text":"TemporaryFile(/tmp/multipartBody1284443279232261480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081273754,"filename":"image_20022025_12_52_17_10376.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664316","file1":"1338664314","file0":"1338664313","file4":"1338664320","file5":"1338664321","file3":"1338664318"},"map_files_photo_id_array":[{"photo_id":"1338664321","filename":"file5"},{"photo_id":"1338664316","filename":"file2"},{"photo_id":"1338664320","filename":"file4"},{"photo_id":"1338664314","filename":"file1"},{"photo_id":"1338664313","filename":"file0"},{"photo_id":"1338664318","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664321":["hashtag1","hashtag2"]},{"1338664320":["hashtag1","hashtag2"]},{"1338664314":["hashtag1","hashtag2"]},{"1338664313":["hashtag1","hashtag2"]},{"1338664316":["hashtag1","hashtag2"]},{"1338664318":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664321, 1338664320, 1338664314, 1338664313, 1338664316, 1338664318)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06184434890747 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:54:32.108691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/52/image_20022025_12_53_06_10317.jpg', '/home/pi/Desktop/images/20022025/12/53/image_20022025_12_53_17_10335.jpg', '/home/pi/Desktop/images/20022025/12/53/image_20022025_12_53_27_10346.jpg', '/home/pi/Desktop/images/20022025/12/53/image_20022025_12_53_47_10356.jpg', '/home/pi/Desktop/images/20022025/12/53/image_20022025_12_53_56_9429.jpg', '/home/pi/Desktop/images/20022025/12/53/image_20022025_12_54_07_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/52/image_20022025_12_53_06_10317.jpg
/home/pi/Desktop/images/20022025/12/53/image_20022025_12_53_17_10335.jpg
/home/pi/Desktop/images/20022025/12/53/image_20022025_12_53_27_10346.jpg
/home/pi/Desktop/images/20022025/12/53/image_20022025_12_53_47_10356.jpg
/home/pi/Desktop/images/20022025/12/53/image_20022025_12_53_56_9429.jpg
/home/pi/Desktop/images/20022025/12/53/image_20022025_12_54_07_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664353","1338664347","1338664346","1338664349","1338664351","1338664345"],"photo_ids_order":["1338664345","1338664346","1338664347","1338664349","1338664351","1338664353"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55109f77ab44f00b45042d60f65ee5f5.jpg","text":"TemporaryFile(/tmp/multipartBody1008159797629416826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081332662,"filename":"image_20022025_12_54_07_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/21156d4c8cf47046d38cf70254da9aea.jpg","text":"TemporaryFile(/tmp/multipartBody6851158370358335495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081332662,"filename":"image_20022025_12_53_27_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4127de21fec52ba293e5ac897f145284.jpg","text":"TemporaryFile(/tmp/multipartBody1815812758814524769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081332662,"filename":"image_20022025_12_53_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f71b2e8e0313b68836e0b20b6548f64.jpg","text":"TemporaryFile(/tmp/multipartBody1710730753715179176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081332662,"filename":"image_20022025_12_53_47_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/913adbf59619f979b43eba3c685525c9.jpg","text":"TemporaryFile(/tmp/multipartBody268040711384457979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081332662,"filename":"image_20022025_12_53_56_9429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d42c282cb5098a484bb15f3de0837cd.jpg","text":"TemporaryFile(/tmp/multipartBody1480949935889956558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081332662,"filename":"image_20022025_12_53_06_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664347","file1":"1338664346","file0":"1338664345","file4":"1338664351","file5":"1338664353","file3":"1338664349"},"map_files_photo_id_array":[{"photo_id":"1338664353","filename":"file5"},{"photo_id":"1338664347","filename":"file2"},{"photo_id":"1338664351","filename":"file4"},{"photo_id":"1338664346","filename":"file1"},{"photo_id":"1338664345","filename":"file0"},{"photo_id":"1338664349","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664353":["hashtag1","hashtag2"]},{"1338664347":["hashtag1","hashtag2"]},{"1338664346":["hashtag1","hashtag2"]},{"1338664349":["hashtag1","hashtag2"]},{"1338664351":["hashtag1","hashtag2"]},{"1338664345":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664353, 1338664347, 1338664346, 1338664349, 1338664351, 1338664345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.090399503707886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:55:32.481955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/54/image_20022025_12_54_26_9335.jpg', '/home/pi/Desktop/images/20022025/12/54/image_20022025_12_54_37_10339.jpg', '/home/pi/Desktop/images/20022025/12/54/image_20022025_12_54_47_10319.jpg', '/home/pi/Desktop/images/20022025/12/54/image_20022025_12_54_56_9421.jpg', '/home/pi/Desktop/images/20022025/12/54/image_20022025_12_55_07_10342.jpg', '/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_16_9395.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/54/image_20022025_12_54_26_9335.jpg
/home/pi/Desktop/images/20022025/12/54/image_20022025_12_54_37_10339.jpg
/home/pi/Desktop/images/20022025/12/54/image_20022025_12_54_47_10319.jpg
/home/pi/Desktop/images/20022025/12/54/image_20022025_12_54_56_9421.jpg
/home/pi/Desktop/images/20022025/12/54/image_20022025_12_55_07_10342.jpg
/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_16_9395.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664398","1338664389","1338664362","1338664410","1338664421","1338664372"],"photo_ids_order":["1338664362","1338664372","1338664389","1338664398","1338664410","1338664421"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7b2872febd841d71243b8511a60dec4c.jpg","text":"TemporaryFile(/tmp/multipartBody4671050315733690350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081393050,"filename":"image_20022025_12_54_56_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/23ca1edd00f336af151604d49a2f4395.jpg","text":"TemporaryFile(/tmp/multipartBody2883030017185672879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081393050,"filename":"image_20022025_12_54_47_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f5d8b6fa00ab9d7912095de3ffbaf705.jpg","text":"TemporaryFile(/tmp/multipartBody7413324849083034062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081393050,"filename":"image_20022025_12_54_26_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7465baeb311419b8840f638687635694.jpg","text":"TemporaryFile(/tmp/multipartBody4872345709810335764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081393050,"filename":"image_20022025_12_55_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b94d61e307712b2c7b1ce9aa66653be.jpg","text":"TemporaryFile(/tmp/multipartBody2967730611934879447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081393050,"filename":"image_20022025_12_55_16_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7854a8e6e1f2f9baebe3d7edecaf8c1c.jpg","text":"TemporaryFile(/tmp/multipartBody287957872076398759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081393050,"filename":"image_20022025_12_54_37_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664389","file1":"1338664372","file0":"1338664362","file4":"1338664410","file5":"1338664421","file3":"1338664398"},"map_files_photo_id_array":[{"photo_id":"1338664421","filename":"file5"},{"photo_id":"1338664389","filename":"file2"},{"photo_id":"1338664410","filename":"file4"},{"photo_id":"1338664372","filename":"file1"},{"photo_id":"1338664362","filename":"file0"},{"photo_id":"1338664398","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664398":["hashtag1","hashtag2"]},{"1338664389":["hashtag1","hashtag2"]},{"1338664362":["hashtag1","hashtag2"]},{"1338664410":["hashtag1","hashtag2"]},{"1338664421":["hashtag1","hashtag2"]},{"1338664372":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664398, 1338664389, 1338664362, 1338664410, 1338664421, 1338664372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51762104034424 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:56:32.653435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_26_10397.jpg', '/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_37_10336.jpg', '/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_46_9318.jpg', '/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_57_10513.jpg', '/home/pi/Desktop/images/20022025/12/55/image_20022025_12_56_06_9432.jpg', '/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_16_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_26_10397.jpg
/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_37_10336.jpg
/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_46_9318.jpg
/home/pi/Desktop/images/20022025/12/55/image_20022025_12_55_57_10513.jpg
/home/pi/Desktop/images/20022025/12/55/image_20022025_12_56_06_9432.jpg
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_16_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338664476","1338664485","1338664487","1338664478","1338664483","1338664480"],"photo_ids_order":["1338664476","1338664478","1338664480","1338664483","1338664485","1338664487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0e9620760cd8e3e0d67d193fbc2d8d3.jpg","text":"TemporaryFile(/tmp/multipartBody8837092294660815667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081453220,"filename":"image_20022025_12_55_26_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1b9fa0822c9628015599c0bb31ae51f.jpg","text":"TemporaryFile(/tmp/multipartBody5424565073135241296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081453220,"filename":"image_20022025_12_56_06_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96fa4585cd4ff702e9c10c45c4ec49e6.jpg","text":"TemporaryFile(/tmp/multipartBody1238662163271343784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081453220,"filename":"image_20022025_12_56_16_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd387abd52260e5a83b7988d996d8eb8.jpg","text":"TemporaryFile(/tmp/multipartBody7195419536289484381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081453220,"filename":"image_20022025_12_55_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4db3784c88be7096758c3be1e8494080.jpg","text":"TemporaryFile(/tmp/multipartBody8280625911089449141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081453220,"filename":"image_20022025_12_55_57_10513.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8d25665e2e47594b7caa42a14c511c7c.jpg","text":"TemporaryFile(/tmp/multipartBody3891462710176860891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081453220,"filename":"image_20022025_12_55_46_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338664480","file1":"1338664478","file0":"1338664476","file4":"1338664485","file5":"1338664487","file3":"1338664483"},"map_files_photo_id_array":[{"photo_id":"1338664487","filename":"file5"},{"photo_id":"1338664480","filename":"file2"},{"photo_id":"1338664485","filename":"file4"},{"photo_id":"1338664478","filename":"file1"},{"photo_id":"1338664476","filename":"file0"},{"photo_id":"1338664483","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338664476":["hashtag1","hashtag2"]},{"1338664485":["hashtag1","hashtag2"]},{"1338664487":["hashtag1","hashtag2"]},{"1338664478":["hashtag1","hashtag2"]},{"1338664483":["hashtag1","hashtag2"]},{"1338664480":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338664476, 1338664485, 1338664487, 1338664478, 1338664483, 1338664480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.113696575164795 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 20:57:32.818417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_36_9338.jpg', '/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_47_10472.jpg', '/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_57_10345.jpg', '/home/pi/Desktop/images/20022025/12/56/image_20022025_12_57_06_9320.jpg', '/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_17_10436.jpg', '/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_26_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_36_9338.jpg
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_47_10472.jpg
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_57_10345.jpg
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_57_06_9320.jpg
/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_17_10436.jpg
/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_26_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 20:59:04.025469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_36_9338.jpg', '/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_47_10472.jpg', '/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_57_10345.jpg', '/home/pi/Desktop/images/20022025/12/56/image_20022025_12_57_06_9320.jpg', '/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_17_10436.jpg', '/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_26_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_36_9338.jpg
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_47_10472.jpg
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_56_57_10345.jpg
/home/pi/Desktop/images/20022025/12/56/image_20022025_12_57_06_9320.jpg
/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_17_10436.jpg
/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_26_9330.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338665607","1338665615","1338665609","1338665618","1338665641","1338665611"],"photo_ids_order":["1338665607","1338665609","1338665611","1338665615","1338665618","1338665641"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0e1dda791eb13ca7489a07545176c9a.jpg","text":"TemporaryFile(/tmp/multipartBody8067530720503165032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081604705,"filename":"image_20022025_12_56_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e7c00f5d0893f2d7839770d0ed0a0b45.jpg","text":"TemporaryFile(/tmp/multipartBody2145462657559974148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081604705,"filename":"image_20022025_12_57_06_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac65018796f1b110e51115c18b2f58c4.jpg","text":"TemporaryFile(/tmp/multipartBody41064596529549119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081604705,"filename":"image_20022025_12_56_47_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e2ed3950549ef487d092132807600ba.jpg","text":"TemporaryFile(/tmp/multipartBody2236580250466532822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081604705,"filename":"image_20022025_12_57_17_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea490366f6c206b6351e027399cf7590.jpg","text":"TemporaryFile(/tmp/multipartBody7877660171849176755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081604705,"filename":"image_20022025_12_57_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a0446fb680f1f96e53fce3d8fa9399d.jpg","text":"TemporaryFile(/tmp/multipartBody3679032470041532664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081604705,"filename":"image_20022025_12_56_57_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338665611","file1":"1338665609","file0":"1338665607","file4":"1338665618","file5":"1338665641","file3":"1338665615"},"map_files_photo_id_array":[{"photo_id":"1338665641","filename":"file5"},{"photo_id":"1338665611","filename":"file2"},{"photo_id":"1338665618","filename":"file4"},{"photo_id":"1338665609","filename":"file1"},{"photo_id":"1338665607","filename":"file0"},{"photo_id":"1338665615","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338665607":["hashtag1","hashtag2"]},{"1338665615":["hashtag1","hashtag2"]},{"1338665609":["hashtag1","hashtag2"]},{"1338665618":["hashtag1","hashtag2"]},{"1338665641":["hashtag1","hashtag2"]},{"1338665611":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338665607, 1338665615, 1338665609, 1338665618, 1338665641, 1338665611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30282139778137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 20:59:42.556533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_36_10336.jpg', '/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_56_9438.jpg', '/home/pi/Desktop/images/20022025/12/57/image_20022025_12_58_07_10429.jpg', '/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_17_10325.jpg', '/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_26_9356.jpg', '/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_37_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_36_10336.jpg
/home/pi/Desktop/images/20022025/12/57/image_20022025_12_57_56_9438.jpg
/home/pi/Desktop/images/20022025/12/57/image_20022025_12_58_07_10429.jpg
/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_17_10325.jpg
/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_26_9356.jpg
/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_37_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338665984","1338666082","1338665986","1338666013","1338665988","1338665982"],"photo_ids_order":["1338665982","1338665984","1338665986","1338665988","1338666013","1338666082"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/64d687650f945a9ba1bc2e75ab9db4e9.jpg","text":"TemporaryFile(/tmp/multipartBody697605108520762931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081643150,"filename":"image_20022025_12_57_56_9438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1653460a3eb2ab43c391dc4912005bcd.jpg","text":"TemporaryFile(/tmp/multipartBody4231121924376630975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081643150,"filename":"image_20022025_12_58_37_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5328cbdd531dec0bca628c0765383634.jpg","text":"TemporaryFile(/tmp/multipartBody4102199097270242158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081643150,"filename":"image_20022025_12_58_07_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9351550c9f3434e74b97cbd630e3a69c.jpg","text":"TemporaryFile(/tmp/multipartBody1649671347514068427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081643150,"filename":"image_20022025_12_58_26_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/58a420164629bfdc0af9f15b816a323c.jpg","text":"TemporaryFile(/tmp/multipartBody434686857295685545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081643150,"filename":"image_20022025_12_58_17_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d79456b6117f4052ffa6d3ea9b926dc7.jpg","text":"TemporaryFile(/tmp/multipartBody176389009802313390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081643150,"filename":"image_20022025_12_57_36_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338665986","file1":"1338665984","file0":"1338665982","file4":"1338666013","file5":"1338666082","file3":"1338665988"},"map_files_photo_id_array":[{"photo_id":"1338666082","filename":"file5"},{"photo_id":"1338665986","filename":"file2"},{"photo_id":"1338666013","filename":"file4"},{"photo_id":"1338665984","filename":"file1"},{"photo_id":"1338665982","filename":"file0"},{"photo_id":"1338665988","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338665984":["hashtag1","hashtag2"]},{"1338666082":["hashtag1","hashtag2"]},{"1338665986":["hashtag1","hashtag2"]},{"1338666013":["hashtag1","hashtag2"]},{"1338665988":["hashtag1","hashtag2"]},{"1338665982":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338665984, 1338666082, 1338665986, 1338666013, 1338665988, 1338665982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27747392654419 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:00:32.787967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_47_10350.jpg', '/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_56_9356.jpg', '/home/pi/Desktop/images/20022025/12/58/image_20022025_12_59_07_10328.jpg', '/home/pi/Desktop/images/20022025/12/59/image_20022025_12_59_16_9321.jpg', '/home/pi/Desktop/images/20022025/12/59/image_20022025_12_59_26_10360.jpg', '/home/pi/Desktop/images/20022025/12/59/image_20022025_12_59_37_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_47_10350.jpg
/home/pi/Desktop/images/20022025/12/58/image_20022025_12_58_56_9356.jpg
/home/pi/Desktop/images/20022025/12/58/image_20022025_12_59_07_10328.jpg
/home/pi/Desktop/images/20022025/12/59/image_20022025_12_59_16_9321.jpg
/home/pi/Desktop/images/20022025/12/59/image_20022025_12_59_26_10360.jpg
/home/pi/Desktop/images/20022025/12/59/image_20022025_12_59_37_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338666290","1338666201","1338666196","1338666283","1338666199","1338666255"],"photo_ids_order":["1338666196","1338666199","1338666201","1338666255","1338666283","1338666290"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d8d5437550cfb7c58e97e79174f5827.jpg","text":"TemporaryFile(/tmp/multipartBody7101791618735396554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081693373,"filename":"image_20022025_12_59_37_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9349de5edfe6ae9ccb0e406396c59468.jpg","text":"TemporaryFile(/tmp/multipartBody3022171830907444886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081693373,"filename":"image_20022025_12_59_07_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ddbb3a78518bcab832ec4b9c70ce5c75.jpg","text":"TemporaryFile(/tmp/multipartBody2428163327761193965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081693373,"filename":"image_20022025_12_58_47_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4caacb29de32c98b35a64d2b74345d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1295112857783056616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081693373,"filename":"image_20022025_12_59_26_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/182d9a2c3b7d5091a4b5ff773a4f94f9.jpg","text":"TemporaryFile(/tmp/multipartBody6523965421629999027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081693373,"filename":"image_20022025_12_58_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a4e1df0d95ae6f6b767ef6c917042c1.jpg","text":"TemporaryFile(/tmp/multipartBody8614955850735960193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081693373,"filename":"image_20022025_12_59_16_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338666201","file1":"1338666199","file0":"1338666196","file4":"1338666283","file5":"1338666290","file3":"1338666255"},"map_files_photo_id_array":[{"photo_id":"1338666290","filename":"file5"},{"photo_id":"1338666201","filename":"file2"},{"photo_id":"1338666283","filename":"file4"},{"photo_id":"1338666199","filename":"file1"},{"photo_id":"1338666196","filename":"file0"},{"photo_id":"1338666255","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338666290":["hashtag1","hashtag2"]},{"1338666201":["hashtag1","hashtag2"]},{"1338666196":["hashtag1","hashtag2"]},{"1338666283":["hashtag1","hashtag2"]},{"1338666199":["hashtag1","hashtag2"]},{"1338666255":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338666290, 1338666201, 1338666196, 1338666283, 1338666199, 1338666255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.098870038986206 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:01:32.875930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/12/59/image_20022025_12_59_46_9398.jpg', '/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_14_10077.jpg', '/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_25_10449.jpg', '/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_35_10339.jpg', '/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_44_9350.jpg', '/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_55_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/12/59/image_20022025_12_59_46_9398.jpg
/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_14_10077.jpg
/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_25_10449.jpg
/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_35_10339.jpg
/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_44_9350.jpg
/home/pi/Desktop/images/20022025/13/01/image_20022025_13_01_55_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338666299","1338666452","1338666443","1338666457","1338666301","1338666447"],"photo_ids_order":["1338666299","1338666301","1338666443","1338666447","1338666452","1338666457"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a2709263464fd118aa65d93f0958b436.jpg","text":"TemporaryFile(/tmp/multipartBody2179204459276924503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081753456,"filename":"image_20022025_12_59_46_9398.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f355fc712ff300df6514e89ba0fadc6.jpg","text":"TemporaryFile(/tmp/multipartBody6403192808300061505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081753456,"filename":"image_20022025_13_01_44_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f98eab43c2200597ece42b985c4c8504.jpg","text":"TemporaryFile(/tmp/multipartBody982836291161312659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081753456,"filename":"image_20022025_13_01_25_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d207badc71b12011544ca198b5cbd764.jpg","text":"TemporaryFile(/tmp/multipartBody696184974741277604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081753456,"filename":"image_20022025_13_01_55_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2fb9ed6a2e6cc9bb12451caa81281f9e.jpg","text":"TemporaryFile(/tmp/multipartBody6631546466132950224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081753456,"filename":"image_20022025_13_01_14_10077.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4194eec64f8355bcbe7d3fec8a8f1659.jpg","text":"TemporaryFile(/tmp/multipartBody7019337500336560860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081753456,"filename":"image_20022025_13_01_35_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338666443","file1":"1338666301","file0":"1338666299","file4":"1338666452","file5":"1338666457","file3":"1338666447"},"map_files_photo_id_array":[{"photo_id":"1338666457","filename":"file5"},{"photo_id":"1338666443","filename":"file2"},{"photo_id":"1338666452","filename":"file4"},{"photo_id":"1338666301","filename":"file1"},{"photo_id":"1338666299","filename":"file0"},{"photo_id":"1338666447","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338666299":["hashtag1","hashtag2"]},{"1338666452":["hashtag1","hashtag2"]},{"1338666443":["hashtag1","hashtag2"]},{"1338666457":["hashtag1","hashtag2"]},{"1338666301":["hashtag1","hashtag2"]},{"1338666447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338666299, 1338666452, 1338666443, 1338666457, 1338666301, 1338666447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96411442756653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:02:33.137141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/01/image_20022025_13_02_05_10349.jpg', '/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_14_9405.jpg', '/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_25_10354.jpg', '/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_34_9373.jpg', '/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_45_10355.jpg', '/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_55_10366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/01/image_20022025_13_02_05_10349.jpg
/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_14_9405.jpg
/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_25_10354.jpg
/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_34_9373.jpg
/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_45_10355.jpg
/home/pi/Desktop/images/20022025/13/02/image_20022025_13_02_55_10366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338666482","1338666479","1338666487","1338666484","1338666480","1338666477"],"photo_ids_order":["1338666477","1338666479","1338666480","1338666482","1338666484","1338666487"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/82e62e8fce58dfeb6e4fc592cfc0265f.jpg","text":"TemporaryFile(/tmp/multipartBody8729625441718235654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081813720,"filename":"image_20022025_13_02_34_9373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/530204a37f30ed88d190d1ae580d707c.jpg","text":"TemporaryFile(/tmp/multipartBody3056721599002697198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081813720,"filename":"image_20022025_13_02_14_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96465d888f3079df6922f748dc3bf4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1592857261718446832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081813720,"filename":"image_20022025_13_02_55_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd21834dbfa8255802a61abd81937707.jpg","text":"TemporaryFile(/tmp/multipartBody6752526202509358606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081813720,"filename":"image_20022025_13_02_45_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/902d2eccd8815443460570d037027194.jpg","text":"TemporaryFile(/tmp/multipartBody1980237057239576224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081813720,"filename":"image_20022025_13_02_25_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d13a2338a8d554341c54ccb8311946ca.jpg","text":"TemporaryFile(/tmp/multipartBody2135256384756671784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081813720,"filename":"image_20022025_13_02_05_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338666480","file1":"1338666479","file0":"1338666477","file4":"1338666484","file5":"1338666487","file3":"1338666482"},"map_files_photo_id_array":[{"photo_id":"1338666487","filename":"file5"},{"photo_id":"1338666480","filename":"file2"},{"photo_id":"1338666484","filename":"file4"},{"photo_id":"1338666479","filename":"file1"},{"photo_id":"1338666477","filename":"file0"},{"photo_id":"1338666482","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338666482":["hashtag1","hashtag2"]},{"1338666479":["hashtag1","hashtag2"]},{"1338666487":["hashtag1","hashtag2"]},{"1338666484":["hashtag1","hashtag2"]},{"1338666480":["hashtag1","hashtag2"]},{"1338666477":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338666482, 1338666479, 1338666487, 1338666484, 1338666480, 1338666477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56564235687256 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:03:32.163947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/02/image_20022025_13_03_04_9344.jpg', '/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_15_10365.jpg', '/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_25_10336.jpg', '/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_34_9351.jpg', '/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_45_10339.jpg', '/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_55_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/02/image_20022025_13_03_04_9344.jpg
/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_15_10365.jpg
/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_25_10336.jpg
/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_34_9351.jpg
/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_45_10339.jpg
/home/pi/Desktop/images/20022025/13/03/image_20022025_13_03_55_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338666866","1338666860","1338666862","1338666868","1338666864","1338666858"],"photo_ids_order":["1338666858","1338666860","1338666862","1338666864","1338666866","1338666868"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/73b3f01dfc05c2233e0ab9be19246503.jpg","text":"TemporaryFile(/tmp/multipartBody1926039092084428549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081873019,"filename":"image_20022025_13_03_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6a31cd0c127a3e0eb579f2be54b22cf.jpg","text":"TemporaryFile(/tmp/multipartBody1468908085406601918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081873019,"filename":"image_20022025_13_03_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd9e68ccb783726765b7e31768a80cc1.jpg","text":"TemporaryFile(/tmp/multipartBody7185268875328322366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081873019,"filename":"image_20022025_13_03_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71f008fd1a6a87847490e253f0731a24.jpg","text":"TemporaryFile(/tmp/multipartBody9176806908506064507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081873019,"filename":"image_20022025_13_03_55_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1596e31a50d9e3b00897ae3b1e2d5e61.jpg","text":"TemporaryFile(/tmp/multipartBody7257215864546425582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081873019,"filename":"image_20022025_13_03_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/72d103e86023c0603b88cb33a2291818.jpg","text":"TemporaryFile(/tmp/multipartBody4599221712562044957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081873019,"filename":"image_20022025_13_03_04_9344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338666862","file1":"1338666860","file0":"1338666858","file4":"1338666866","file5":"1338666868","file3":"1338666864"},"map_files_photo_id_array":[{"photo_id":"1338666868","filename":"file5"},{"photo_id":"1338666862","filename":"file2"},{"photo_id":"1338666866","filename":"file4"},{"photo_id":"1338666860","filename":"file1"},{"photo_id":"1338666858","filename":"file0"},{"photo_id":"1338666864","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338666866":["hashtag1","hashtag2"]},{"1338666860":["hashtag1","hashtag2"]},{"1338666862":["hashtag1","hashtag2"]},{"1338666868":["hashtag1","hashtag2"]},{"1338666864":["hashtag1","hashtag2"]},{"1338666858":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338666866, 1338666860, 1338666862, 1338666868, 1338666864, 1338666858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18515968322754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:04:32.443452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/04/image_20022025_13_04_15_10337.jpg', '/home/pi/Desktop/images/20022025/13/04/image_20022025_13_04_25_10328.jpg', '/home/pi/Desktop/images/20022025/13/04/image_20022025_13_04_35_9412.jpg', '/home/pi/Desktop/images/20022025/13/04/image_20022025_13_04_45_10351.jpg', '/home/pi/Desktop/images/20022025/13/04/image_20022025_13_05_05_10431.jpg', '/home/pi/Desktop/images/20022025/13/05/image_20022025_13_05_15_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/04/image_20022025_13_04_15_10337.jpg
/home/pi/Desktop/images/20022025/13/04/image_20022025_13_04_25_10328.jpg
/home/pi/Desktop/images/20022025/13/04/image_20022025_13_04_35_9412.jpg
/home/pi/Desktop/images/20022025/13/04/image_20022025_13_04_45_10351.jpg
/home/pi/Desktop/images/20022025/13/04/image_20022025_13_05_05_10431.jpg
/home/pi/Desktop/images/20022025/13/05/image_20022025_13_05_15_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338667084","1338667078","1338667066","1338667071","1338667074","1338667068"],"photo_ids_order":["1338667066","1338667068","1338667071","1338667074","1338667078","1338667084"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/daf6e64fd563b9c2f4975829aff93dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7227969697751815908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081933018,"filename":"image_20022025_13_05_15_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50cd354a776d8efb873da8572e072f24.jpg","text":"TemporaryFile(/tmp/multipartBody3043175420827996690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081933018,"filename":"image_20022025_13_05_05_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/731cae956599134e600d15d7f2b01798.jpg","text":"TemporaryFile(/tmp/multipartBody4184257984927515855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081933018,"filename":"image_20022025_13_04_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6919a4c8caecba4ac2ee24e31f5b5a59.jpg","text":"TemporaryFile(/tmp/multipartBody223592309776309004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081933018,"filename":"image_20022025_13_04_35_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9042fae6198dc588e2498aac3ae531ac.jpg","text":"TemporaryFile(/tmp/multipartBody438181660180123431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081933018,"filename":"image_20022025_13_04_45_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/480f3bc5a733782c2ea4631cd13c8426.jpg","text":"TemporaryFile(/tmp/multipartBody5449678434572197498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081933018,"filename":"image_20022025_13_04_25_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338667071","file1":"1338667068","file0":"1338667066","file4":"1338667078","file5":"1338667084","file3":"1338667074"},"map_files_photo_id_array":[{"photo_id":"1338667084","filename":"file5"},{"photo_id":"1338667071","filename":"file2"},{"photo_id":"1338667078","filename":"file4"},{"photo_id":"1338667068","filename":"file1"},{"photo_id":"1338667066","filename":"file0"},{"photo_id":"1338667074","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338667084":["hashtag1","hashtag2"]},{"1338667078":["hashtag1","hashtag2"]},{"1338667066":["hashtag1","hashtag2"]},{"1338667071":["hashtag1","hashtag2"]},{"1338667074":["hashtag1","hashtag2"]},{"1338667068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338667084, 1338667078, 1338667066, 1338667071, 1338667074, 1338667068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.370468854904175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:05:32.606532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/05/image_20022025_13_05_35_10425.jpg', '/home/pi/Desktop/images/20022025/13/05/image_20022025_13_05_44_9393.jpg', '/home/pi/Desktop/images/20022025/13/05/image_20022025_13_06_05_10357.jpg', '/home/pi/Desktop/images/20022025/13/06/image_20022025_13_06_14_9324.jpg', '/home/pi/Desktop/images/20022025/13/06/image_20022025_13_06_35_10339.jpg', '/home/pi/Desktop/images/20022025/13/07/image_20022025_13_07_15_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/05/image_20022025_13_05_35_10425.jpg
/home/pi/Desktop/images/20022025/13/05/image_20022025_13_05_44_9393.jpg
/home/pi/Desktop/images/20022025/13/05/image_20022025_13_06_05_10357.jpg
/home/pi/Desktop/images/20022025/13/06/image_20022025_13_06_14_9324.jpg
/home/pi/Desktop/images/20022025/13/06/image_20022025_13_06_35_10339.jpg
/home/pi/Desktop/images/20022025/13/07/image_20022025_13_07_15_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338667421","1338667399","1338667423","1338667432","1338667426","1338667428"],"photo_ids_order":["1338667399","1338667421","1338667423","1338667426","1338667428","1338667432"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01efd0fbc846aa551ff9244c4e21f865.jpg","text":"TemporaryFile(/tmp/multipartBody1020226234499791338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081993184,"filename":"image_20022025_13_05_44_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e9ec164720263abdeb1e6d4044814641.jpg","text":"TemporaryFile(/tmp/multipartBody653967930807509493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081993184,"filename":"image_20022025_13_05_35_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28ce8a564c6c573f24827f65cbbec8a2.jpg","text":"TemporaryFile(/tmp/multipartBody1498594826074956399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081993184,"filename":"image_20022025_13_06_05_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d9e105952954ba3d9a755939175510b.jpg","text":"TemporaryFile(/tmp/multipartBody4911147795468783339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081993184,"filename":"image_20022025_13_07_15_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b388869c9ffed793c2b8227103924f75.jpg","text":"TemporaryFile(/tmp/multipartBody3455387443488801145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081993184,"filename":"image_20022025_13_06_14_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e8b6e938fa822d04cfde69c2de95ec47.jpg","text":"TemporaryFile(/tmp/multipartBody1723459318823930114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740081993184,"filename":"image_20022025_13_06_35_10339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338667423","file1":"1338667421","file0":"1338667399","file4":"1338667428","file5":"1338667432","file3":"1338667426"},"map_files_photo_id_array":[{"photo_id":"1338667432","filename":"file5"},{"photo_id":"1338667423","filename":"file2"},{"photo_id":"1338667428","filename":"file4"},{"photo_id":"1338667421","filename":"file1"},{"photo_id":"1338667399","filename":"file0"},{"photo_id":"1338667426","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338667421":["hashtag1","hashtag2"]},{"1338667399":["hashtag1","hashtag2"]},{"1338667423":["hashtag1","hashtag2"]},{"1338667432":["hashtag1","hashtag2"]},{"1338667426":["hashtag1","hashtag2"]},{"1338667428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338667421, 1338667399, 1338667423, 1338667432, 1338667426, 1338667428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89705967903137 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:06:32.801622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/07/image_20022025_13_07_34_9323.jpg', '/home/pi/Desktop/images/20022025/13/07/image_20022025_13_07_45_10412.jpg', '/home/pi/Desktop/images/20022025/13/07/image_20022025_13_07_55_10326.jpg', '/home/pi/Desktop/images/20022025/13/07/image_20022025_13_08_04_9349.jpg', '/home/pi/Desktop/images/20022025/13/08/image_20022025_13_08_15_10388.jpg', '/home/pi/Desktop/images/20022025/13/08/image_20022025_13_08_34_9314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/07/image_20022025_13_07_34_9323.jpg
/home/pi/Desktop/images/20022025/13/07/image_20022025_13_07_45_10412.jpg
/home/pi/Desktop/images/20022025/13/07/image_20022025_13_07_55_10326.jpg
/home/pi/Desktop/images/20022025/13/07/image_20022025_13_08_04_9349.jpg
/home/pi/Desktop/images/20022025/13/08/image_20022025_13_08_15_10388.jpg
/home/pi/Desktop/images/20022025/13/08/image_20022025_13_08_34_9314.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338667451","1338667477","1338667810","1338667473","1338667632","1338667535"],"photo_ids_order":["1338667451","1338667473","1338667477","1338667535","1338667632","1338667810"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7983eee5c88e7c99c1f9fdea86404b68.jpg","text":"TemporaryFile(/tmp/multipartBody1212445488840868280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082053396,"filename":"image_20022025_13_07_34_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6aa93bbc5506ef379d9a447bad36d67.jpg","text":"TemporaryFile(/tmp/multipartBody2558984076083217174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082053396,"filename":"image_20022025_13_07_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ffcd74e2f4ababb4f863a30e3fe8fb38.jpg","text":"TemporaryFile(/tmp/multipartBody5001004719012835156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082053396,"filename":"image_20022025_13_08_34_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/925049647591a08391ac8b646947e1d7.jpg","text":"TemporaryFile(/tmp/multipartBody8986180823580031820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082053396,"filename":"image_20022025_13_07_45_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a6f2cd402f0362d650f3e6640a168990.jpg","text":"TemporaryFile(/tmp/multipartBody7691397703792542183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082053396,"filename":"image_20022025_13_08_15_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3d8c9adcc0956e1950d0dd160bf08431.jpg","text":"TemporaryFile(/tmp/multipartBody2277869063040747241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082053396,"filename":"image_20022025_13_08_04_9349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338667477","file1":"1338667473","file0":"1338667451","file4":"1338667632","file5":"1338667810","file3":"1338667535"},"map_files_photo_id_array":[{"photo_id":"1338667810","filename":"file5"},{"photo_id":"1338667477","filename":"file2"},{"photo_id":"1338667632","filename":"file4"},{"photo_id":"1338667473","filename":"file1"},{"photo_id":"1338667451","filename":"file0"},{"photo_id":"1338667535","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338667451":["hashtag1","hashtag2"]},{"1338667477":["hashtag1","hashtag2"]},{"1338667810":["hashtag1","hashtag2"]},{"1338667473":["hashtag1","hashtag2"]},{"1338667632":["hashtag1","hashtag2"]},{"1338667535":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338667451, 1338667477, 1338667810, 1338667473, 1338667632, 1338667535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.072845220565796 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:07:33.059751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/08/image_20022025_13_08_45_10416.jpg', '/home/pi/Desktop/images/20022025/13/08/image_20022025_13_08_55_10332.jpg', '/home/pi/Desktop/images/20022025/13/08/image_20022025_13_09_05_9416.jpg', '/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_15_10341.jpg', '/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_24_9376.jpg', '/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_35_10403.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/08/image_20022025_13_08_45_10416.jpg
/home/pi/Desktop/images/20022025/13/08/image_20022025_13_08_55_10332.jpg
/home/pi/Desktop/images/20022025/13/08/image_20022025_13_09_05_9416.jpg
/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_15_10341.jpg
/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_24_9376.jpg
/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_35_10403.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338668506","1338668440","1338668469","1338668463","1338668457","1338668466"],"photo_ids_order":["1338668440","1338668457","1338668463","1338668466","1338668469","1338668506"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b50c40d978d6970e7b270740f75c3089.jpg","text":"TemporaryFile(/tmp/multipartBody4543634191730663295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082113625,"filename":"image_20022025_13_09_35_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/033fb38479cafcc8805c71160b933a58.jpg","text":"TemporaryFile(/tmp/multipartBody1803477428528631955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082113625,"filename":"image_20022025_13_08_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e3c4371888001d5fd3d34a424509900.jpg","text":"TemporaryFile(/tmp/multipartBody7537955282899493469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082113625,"filename":"image_20022025_13_09_24_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36bb0fa7d717c82eaaf8ea72df5ac249.jpg","text":"TemporaryFile(/tmp/multipartBody8639963251871731152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082113625,"filename":"image_20022025_13_09_05_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd739fe9ae374cfd5924a8d57de2f13a.jpg","text":"TemporaryFile(/tmp/multipartBody9176469483256806383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082113625,"filename":"image_20022025_13_08_55_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4af401c6ebdce1ed453fd4502fa82fb5.jpg","text":"TemporaryFile(/tmp/multipartBody3289440438079961759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082113625,"filename":"image_20022025_13_09_15_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338668463","file1":"1338668457","file0":"1338668440","file4":"1338668469","file5":"1338668506","file3":"1338668466"},"map_files_photo_id_array":[{"photo_id":"1338668506","filename":"file5"},{"photo_id":"1338668463","filename":"file2"},{"photo_id":"1338668469","filename":"file4"},{"photo_id":"1338668457","filename":"file1"},{"photo_id":"1338668440","filename":"file0"},{"photo_id":"1338668466","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338668506":["hashtag1","hashtag2"]},{"1338668440":["hashtag1","hashtag2"]},{"1338668469":["hashtag1","hashtag2"]},{"1338668463":["hashtag1","hashtag2"]},{"1338668457":["hashtag1","hashtag2"]},{"1338668466":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338668506, 1338668440, 1338668469, 1338668463, 1338668457, 1338668466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08189153671265 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:08:32.104412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_45_10331.jpg', '/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_54_9389.jpg', '/home/pi/Desktop/images/20022025/13/09/image_20022025_13_10_05_10330.jpg', '/home/pi/Desktop/images/20022025/13/10/image_20022025_13_10_15_10347.jpg', '/home/pi/Desktop/images/20022025/13/10/image_20022025_13_10_25_9475.jpg', '/home/pi/Desktop/images/20022025/13/10/image_20022025_13_10_35_10322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_45_10331.jpg
/home/pi/Desktop/images/20022025/13/09/image_20022025_13_09_54_9389.jpg
/home/pi/Desktop/images/20022025/13/09/image_20022025_13_10_05_10330.jpg
/home/pi/Desktop/images/20022025/13/10/image_20022025_13_10_15_10347.jpg
/home/pi/Desktop/images/20022025/13/10/image_20022025_13_10_25_9475.jpg
/home/pi/Desktop/images/20022025/13/10/image_20022025_13_10_35_10322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338668773","1338668761","1338668763","1338668769","1338668771","1338668765"],"photo_ids_order":["1338668761","1338668763","1338668765","1338668769","1338668771","1338668773"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/46f17901f80c954e0489370c222119fb.jpg","text":"TemporaryFile(/tmp/multipartBody5742020545522561105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082172669,"filename":"image_20022025_13_10_35_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ef077f79b7123bc809120d89b6d05c3.jpg","text":"TemporaryFile(/tmp/multipartBody5136818762010529904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082172669,"filename":"image_20022025_13_09_45_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2540c6b20116534289bb678ee522b119.jpg","text":"TemporaryFile(/tmp/multipartBody1061554271904587982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082172669,"filename":"image_20022025_13_09_54_9389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/15cf51452cbc11940ba85d8f5e0c4c02.jpg","text":"TemporaryFile(/tmp/multipartBody5788322153027558394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082172669,"filename":"image_20022025_13_10_15_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd14d98df708b337bf46fadb16f640bd.jpg","text":"TemporaryFile(/tmp/multipartBody782535948632966685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082172669,"filename":"image_20022025_13_10_25_9475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/364f97175f89b39b8ffc5a1969420029.jpg","text":"TemporaryFile(/tmp/multipartBody7593918076056346952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082172669,"filename":"image_20022025_13_10_05_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338668765","file1":"1338668763","file0":"1338668761","file4":"1338668771","file5":"1338668773","file3":"1338668769"},"map_files_photo_id_array":[{"photo_id":"1338668773","filename":"file5"},{"photo_id":"1338668765","filename":"file2"},{"photo_id":"1338668771","filename":"file4"},{"photo_id":"1338668763","filename":"file1"},{"photo_id":"1338668761","filename":"file0"},{"photo_id":"1338668769","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338668773":["hashtag1","hashtag2"]},{"1338668761":["hashtag1","hashtag2"]},{"1338668763":["hashtag1","hashtag2"]},{"1338668769":["hashtag1","hashtag2"]},{"1338668771":["hashtag1","hashtag2"]},{"1338668765":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338668773, 1338668761, 1338668763, 1338668769, 1338668771, 1338668765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14961624145508 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:09:32.380363
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/10/image_20022025_13_10_44_9323.jpg', '/home/pi/Desktop/images/20022025/13/10/image_20022025_13_11_05_10327.jpg', '/home/pi/Desktop/images/20022025/13/11/image_20022025_13_11_14_9335.jpg', '/home/pi/Desktop/images/20022025/13/11/image_20022025_13_11_25_10441.jpg', '/home/pi/Desktop/images/20022025/13/11/image_20022025_13_11_35_10327.jpg', '/home/pi/Desktop/images/20022025/13/11/image_20022025_13_11_44_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/10/image_20022025_13_10_44_9323.jpg
/home/pi/Desktop/images/20022025/13/10/image_20022025_13_11_05_10327.jpg
/home/pi/Desktop/images/20022025/13/11/image_20022025_13_11_14_9335.jpg
/home/pi/Desktop/images/20022025/13/11/image_20022025_13_11_25_10441.jpg
/home/pi/Desktop/images/20022025/13/11/image_20022025_13_11_35_10327.jpg
/home/pi/Desktop/images/20022025/13/11/image_20022025_13_11_44_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338668821","1338668818","1338668827","1338668832","1338668820","1338668837"],"photo_ids_order":["1338668818","1338668820","1338668821","1338668827","1338668832","1338668837"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/990d4fece82b6c8011a05c8a574be79b.jpg","text":"TemporaryFile(/tmp/multipartBody5352892512818441732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082232946,"filename":"image_20022025_13_11_14_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4d6d4fae87ec30f7e01887a20066fc0.jpg","text":"TemporaryFile(/tmp/multipartBody9088451204805409506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082232946,"filename":"image_20022025_13_10_44_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7fbba969292b07d2ba46af874c7fbf54.jpg","text":"TemporaryFile(/tmp/multipartBody4983072748531243869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082232946,"filename":"image_20022025_13_11_25_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31b90ce51b729423c4f0d5fb949478e2.jpg","text":"TemporaryFile(/tmp/multipartBody3008610314555225307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082232946,"filename":"image_20022025_13_11_35_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4db1d3e2be8018a5896afac1e845ec94.jpg","text":"TemporaryFile(/tmp/multipartBody4473482729435547002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082232946,"filename":"image_20022025_13_11_05_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f13739cf005f208e30f2749691e5f04a.jpg","text":"TemporaryFile(/tmp/multipartBody7845168015833557318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082232946,"filename":"image_20022025_13_11_44_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338668821","file1":"1338668820","file0":"1338668818","file4":"1338668832","file5":"1338668837","file3":"1338668827"},"map_files_photo_id_array":[{"photo_id":"1338668837","filename":"file5"},{"photo_id":"1338668821","filename":"file2"},{"photo_id":"1338668832","filename":"file4"},{"photo_id":"1338668820","filename":"file1"},{"photo_id":"1338668818","filename":"file0"},{"photo_id":"1338668827","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338668821":["hashtag1","hashtag2"]},{"1338668818":["hashtag1","hashtag2"]},{"1338668827":["hashtag1","hashtag2"]},{"1338668832":["hashtag1","hashtag2"]},{"1338668820":["hashtag1","hashtag2"]},{"1338668837":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338668821, 1338668818, 1338668827, 1338668832, 1338668820, 1338668837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.138341665267944 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:10:32.695143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/11/image_20022025_13_12_05_10340.jpg', '/home/pi/Desktop/images/20022025/13/12/image_20022025_13_12_14_9337.jpg', '/home/pi/Desktop/images/20022025/13/12/image_20022025_13_12_25_10342.jpg', '/home/pi/Desktop/images/20022025/13/12/image_20022025_13_12_35_10338.jpg', '/home/pi/Desktop/images/20022025/13/12/image_20022025_13_12_45_9481.jpg', '/home/pi/Desktop/images/20022025/13/12/image_20022025_13_13_04_9319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/11/image_20022025_13_12_05_10340.jpg
/home/pi/Desktop/images/20022025/13/12/image_20022025_13_12_14_9337.jpg
/home/pi/Desktop/images/20022025/13/12/image_20022025_13_12_25_10342.jpg
/home/pi/Desktop/images/20022025/13/12/image_20022025_13_12_35_10338.jpg
/home/pi/Desktop/images/20022025/13/12/image_20022025_13_12_45_9481.jpg
/home/pi/Desktop/images/20022025/13/12/image_20022025_13_13_04_9319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338668893","1338668902","1338668908","1338668907","1338668888","1338668896"],"photo_ids_order":["1338668888","1338668893","1338668896","1338668902","1338668907","1338668908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20590ba2fa8179d6869ef5555c1263c3.jpg","text":"TemporaryFile(/tmp/multipartBody6868311758748275103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082293289,"filename":"image_20022025_13_12_14_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db436c6bd026aab445d2950879590851.jpg","text":"TemporaryFile(/tmp/multipartBody206349699549081881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082293289,"filename":"image_20022025_13_12_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0e6001d826bfe530321e30cd0b3a1239.jpg","text":"TemporaryFile(/tmp/multipartBody5019553373205996190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082293289,"filename":"image_20022025_13_13_04_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e69fde237a5085f66322805b39ec6fd4.jpg","text":"TemporaryFile(/tmp/multipartBody3821519433668107042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082293289,"filename":"image_20022025_13_12_45_9481.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2cacf8a3443bbd30df4f8c8c51ed8c2a.jpg","text":"TemporaryFile(/tmp/multipartBody4996367563486617526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082293289,"filename":"image_20022025_13_12_05_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e51be565ef49840b54cdd3a73148774d.jpg","text":"TemporaryFile(/tmp/multipartBody8481080730703268322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082293289,"filename":"image_20022025_13_12_25_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338668896","file1":"1338668893","file0":"1338668888","file4":"1338668907","file5":"1338668908","file3":"1338668902"},"map_files_photo_id_array":[{"photo_id":"1338668908","filename":"file5"},{"photo_id":"1338668896","filename":"file2"},{"photo_id":"1338668907","filename":"file4"},{"photo_id":"1338668893","filename":"file1"},{"photo_id":"1338668888","filename":"file0"},{"photo_id":"1338668902","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338668893":["hashtag1","hashtag2"]},{"1338668902":["hashtag1","hashtag2"]},{"1338668908":["hashtag1","hashtag2"]},{"1338668907":["hashtag1","hashtag2"]},{"1338668888":["hashtag1","hashtag2"]},{"1338668896":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338668893, 1338668902, 1338668908, 1338668907, 1338668888, 1338668896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46029853820801 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:11:32.833090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/13/image_20022025_13_13_15_10421.jpg', '/home/pi/Desktop/images/20022025/13/13/image_20022025_13_13_25_10328.jpg', '/home/pi/Desktop/images/20022025/13/13/image_20022025_13_13_34_9422.jpg', '/home/pi/Desktop/images/20022025/13/13/image_20022025_13_13_54_9403.jpg', '/home/pi/Desktop/images/20022025/13/13/image_20022025_13_14_05_10452.jpg', '/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_15_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/13/image_20022025_13_13_15_10421.jpg
/home/pi/Desktop/images/20022025/13/13/image_20022025_13_13_25_10328.jpg
/home/pi/Desktop/images/20022025/13/13/image_20022025_13_13_34_9422.jpg
/home/pi/Desktop/images/20022025/13/13/image_20022025_13_13_54_9403.jpg
/home/pi/Desktop/images/20022025/13/13/image_20022025_13_14_05_10452.jpg
/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_15_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338668997","1338668990","1338668984","1338668993","1338668987","1338668995"],"photo_ids_order":["1338668984","1338668987","1338668990","1338668993","1338668995","1338668997"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/541efc7ba7c4d2343e017a1aedfb52c7.jpg","text":"TemporaryFile(/tmp/multipartBody1608808397618514232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082353418,"filename":"image_20022025_13_14_15_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f785fbaa530ddd9da49e98d3b3fdc211.jpg","text":"TemporaryFile(/tmp/multipartBody80733823424333708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082353418,"filename":"image_20022025_13_13_34_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0f46e9c1dd4d3bf3a1c184eda6532120.jpg","text":"TemporaryFile(/tmp/multipartBody1015430908647003820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082353418,"filename":"image_20022025_13_13_15_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9dc6057185fda0bd5fc2af83a9fd740.jpg","text":"TemporaryFile(/tmp/multipartBody2126559308761884636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082353418,"filename":"image_20022025_13_13_54_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13a96705425fe855286d4549e62362ee.jpg","text":"TemporaryFile(/tmp/multipartBody7845296928934610024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082353418,"filename":"image_20022025_13_13_25_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3d5215691c9f7aa4acae910550d75734.jpg","text":"TemporaryFile(/tmp/multipartBody954561146870971731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082353418,"filename":"image_20022025_13_14_05_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338668990","file1":"1338668987","file0":"1338668984","file4":"1338668995","file5":"1338668997","file3":"1338668993"},"map_files_photo_id_array":[{"photo_id":"1338668997","filename":"file5"},{"photo_id":"1338668990","filename":"file2"},{"photo_id":"1338668995","filename":"file4"},{"photo_id":"1338668987","filename":"file1"},{"photo_id":"1338668984","filename":"file0"},{"photo_id":"1338668993","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338668997":["hashtag1","hashtag2"]},{"1338668990":["hashtag1","hashtag2"]},{"1338668984":["hashtag1","hashtag2"]},{"1338668993":["hashtag1","hashtag2"]},{"1338668987":["hashtag1","hashtag2"]},{"1338668995":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338668997, 1338668990, 1338668984, 1338668993, 1338668987, 1338668995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.058022260665894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:12:33.113013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_24_9378.jpg', '/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_35_10339.jpg', '/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_45_10332.jpg', '/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_54_9417.jpg', '/home/pi/Desktop/images/20022025/13/14/image_20022025_13_15_05_10381.jpg', '/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_14_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_24_9378.jpg
/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_35_10339.jpg
/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_45_10332.jpg
/home/pi/Desktop/images/20022025/13/14/image_20022025_13_14_54_9417.jpg
/home/pi/Desktop/images/20022025/13/14/image_20022025_13_15_05_10381.jpg
/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_14_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338669012","1338669009","1338669047","1338669035","1338669023","1338669031"],"photo_ids_order":["1338669009","1338669012","1338669023","1338669031","1338669035","1338669047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db9f44e56d597673d6598477de80de7a.jpg","text":"TemporaryFile(/tmp/multipartBody564977679127332263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082413675,"filename":"image_20022025_13_14_35_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26364748f79dfd84b27d13077bb3eb6a.jpg","text":"TemporaryFile(/tmp/multipartBody2620730552783891297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082413675,"filename":"image_20022025_13_14_24_9378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b93b2f87df76f2b28e746ca068b747b.jpg","text":"TemporaryFile(/tmp/multipartBody5422454671762061881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082413675,"filename":"image_20022025_13_15_14_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d7d0aca0beb7ba1ec9f3996aafed29db.jpg","text":"TemporaryFile(/tmp/multipartBody3352611307651153589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082413675,"filename":"image_20022025_13_15_05_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5fd6d7f9be6277d7234c85a123923fbd.jpg","text":"TemporaryFile(/tmp/multipartBody5695802418267379143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082413675,"filename":"image_20022025_13_14_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e35994d2fe0fbfe044d853a1ec659866.jpg","text":"TemporaryFile(/tmp/multipartBody5961130954929915186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082413675,"filename":"image_20022025_13_14_54_9417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338669023","file1":"1338669012","file0":"1338669009","file4":"1338669035","file5":"1338669047","file3":"1338669031"},"map_files_photo_id_array":[{"photo_id":"1338669047","filename":"file5"},{"photo_id":"1338669023","filename":"file2"},{"photo_id":"1338669035","filename":"file4"},{"photo_id":"1338669012","filename":"file1"},{"photo_id":"1338669009","filename":"file0"},{"photo_id":"1338669031","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338669012":["hashtag1","hashtag2"]},{"1338669009":["hashtag1","hashtag2"]},{"1338669047":["hashtag1","hashtag2"]},{"1338669035":["hashtag1","hashtag2"]},{"1338669023":["hashtag1","hashtag2"]},{"1338669031":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338669012, 1338669009, 1338669047, 1338669035, 1338669023, 1338669031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85652446746826 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:13:32.210925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_25_10408.jpg', '/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_35_10338.jpg', '/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_44_9342.jpg', '/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_55_10449.jpg', '/home/pi/Desktop/images/20022025/13/15/image_20022025_13_16_05_10336.jpg', '/home/pi/Desktop/images/20022025/13/16/image_20022025_13_16_14_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_25_10408.jpg
/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_35_10338.jpg
/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_44_9342.jpg
/home/pi/Desktop/images/20022025/13/15/image_20022025_13_15_55_10449.jpg
/home/pi/Desktop/images/20022025/13/15/image_20022025_13_16_05_10336.jpg
/home/pi/Desktop/images/20022025/13/16/image_20022025_13_16_14_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338669127","1338669123","1338669126","1338669120","1338669114","1338669117"],"photo_ids_order":["1338669114","1338669117","1338669120","1338669123","1338669126","1338669127"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/841340d94b9d7b2301ed0161b9761c9c.jpg","text":"TemporaryFile(/tmp/multipartBody4606752080603172138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082472793,"filename":"image_20022025_13_16_14_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c50ce25628c2be13766d6c88bb4b109.jpg","text":"TemporaryFile(/tmp/multipartBody1095167546325343205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082472793,"filename":"image_20022025_13_15_55_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5586024b5effb105fb77449ccbd0a65a.jpg","text":"TemporaryFile(/tmp/multipartBody2432031930946686275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082472793,"filename":"image_20022025_13_16_05_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a594a9ba5f6d823d589a67cad439b70.jpg","text":"TemporaryFile(/tmp/multipartBody6049181718880082283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082472793,"filename":"image_20022025_13_15_44_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/352af1567ee633d5e55a17f21eba3302.jpg","text":"TemporaryFile(/tmp/multipartBody309350054246727797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082472793,"filename":"image_20022025_13_15_25_10408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d66fe5e792ac368cb2a144e62fece64.jpg","text":"TemporaryFile(/tmp/multipartBody4797783815188608703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082472793,"filename":"image_20022025_13_15_35_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338669120","file1":"1338669117","file0":"1338669114","file4":"1338669126","file5":"1338669127","file3":"1338669123"},"map_files_photo_id_array":[{"photo_id":"1338669127","filename":"file5"},{"photo_id":"1338669120","filename":"file2"},{"photo_id":"1338669126","filename":"file4"},{"photo_id":"1338669117","filename":"file1"},{"photo_id":"1338669114","filename":"file0"},{"photo_id":"1338669123","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338669127":["hashtag1","hashtag2"]},{"1338669123":["hashtag1","hashtag2"]},{"1338669126":["hashtag1","hashtag2"]},{"1338669120":["hashtag1","hashtag2"]},{"1338669114":["hashtag1","hashtag2"]},{"1338669117":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338669127, 1338669123, 1338669126, 1338669120, 1338669114, 1338669117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06994700431824 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:14:32.526788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/16/image_20022025_13_16_34_9323.jpg', '/home/pi/Desktop/images/20022025/13/16/image_20022025_13_16_45_10456.jpg', '/home/pi/Desktop/images/20022025/13/16/image_20022025_13_16_55_10450.jpg', '/home/pi/Desktop/images/20022025/13/16/image_20022025_13_17_05_9458.jpg', '/home/pi/Desktop/images/20022025/13/17/image_20022025_13_17_35_10324.jpg', '/home/pi/Desktop/images/20022025/13/17/image_20022025_13_17_45_10332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/16/image_20022025_13_16_34_9323.jpg
/home/pi/Desktop/images/20022025/13/16/image_20022025_13_16_45_10456.jpg
/home/pi/Desktop/images/20022025/13/16/image_20022025_13_16_55_10450.jpg
/home/pi/Desktop/images/20022025/13/16/image_20022025_13_17_05_9458.jpg
/home/pi/Desktop/images/20022025/13/17/image_20022025_13_17_35_10324.jpg
/home/pi/Desktop/images/20022025/13/17/image_20022025_13_17_45_10332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338669174","1338669165","1338669173","1338669167","1338669161","1338669163"],"photo_ids_order":["1338669161","1338669163","1338669165","1338669167","1338669173","1338669174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/345bc6a3942be7827a2beccc120a1cb4.jpg","text":"TemporaryFile(/tmp/multipartBody2613610724481673830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082533083,"filename":"image_20022025_13_17_45_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d1122377a80a1a1f5d8cc25250f0ade.jpg","text":"TemporaryFile(/tmp/multipartBody5804256916414826724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082533083,"filename":"image_20022025_13_16_55_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ebc815f558d94a9aa5bac271ac3cb399.jpg","text":"TemporaryFile(/tmp/multipartBody3747899664383835907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082533083,"filename":"image_20022025_13_17_35_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e0481da77055fa22b34397e8e409650.jpg","text":"TemporaryFile(/tmp/multipartBody1508279762218648797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082533083,"filename":"image_20022025_13_17_05_9458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fad3fbec433933a2dac9070480d088c6.jpg","text":"TemporaryFile(/tmp/multipartBody8373854154272069088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082533083,"filename":"image_20022025_13_16_34_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/61d0372fccaf2375c176f6ab3cf2e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody1868786265504871703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082533083,"filename":"image_20022025_13_16_45_10456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338669165","file1":"1338669163","file0":"1338669161","file4":"1338669173","file5":"1338669174","file3":"1338669167"},"map_files_photo_id_array":[{"photo_id":"1338669174","filename":"file5"},{"photo_id":"1338669165","filename":"file2"},{"photo_id":"1338669173","filename":"file4"},{"photo_id":"1338669163","filename":"file1"},{"photo_id":"1338669161","filename":"file0"},{"photo_id":"1338669167","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338669174":["hashtag1","hashtag2"]},{"1338669165":["hashtag1","hashtag2"]},{"1338669173":["hashtag1","hashtag2"]},{"1338669167":["hashtag1","hashtag2"]},{"1338669161":["hashtag1","hashtag2"]},{"1338669163":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338669174, 1338669165, 1338669173, 1338669167, 1338669161, 1338669163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.798075675964355 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:15:32.706814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/17/image_20022025_13_17_54_9318.jpg', '/home/pi/Desktop/images/20022025/13/17/image_20022025_13_18_05_10418.jpg', '/home/pi/Desktop/images/20022025/13/18/image_20022025_13_18_15_10354.jpg', '/home/pi/Desktop/images/20022025/13/18/image_20022025_13_18_35_10352.jpg', '/home/pi/Desktop/images/20022025/13/18/image_20022025_13_18_44_9308.jpg', '/home/pi/Desktop/images/20022025/13/18/image_20022025_13_18_55_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/17/image_20022025_13_17_54_9318.jpg
/home/pi/Desktop/images/20022025/13/17/image_20022025_13_18_05_10418.jpg
/home/pi/Desktop/images/20022025/13/18/image_20022025_13_18_15_10354.jpg
/home/pi/Desktop/images/20022025/13/18/image_20022025_13_18_35_10352.jpg
/home/pi/Desktop/images/20022025/13/18/image_20022025_13_18_44_9308.jpg
/home/pi/Desktop/images/20022025/13/18/image_20022025_13_18_55_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338669430","1338669229","1338669220","1338669398","1338669201","1338669212"],"photo_ids_order":["1338669201","1338669212","1338669220","1338669229","1338669398","1338669430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60e64c5963d3197acb2277b5ded034b2.jpg","text":"TemporaryFile(/tmp/multipartBody3111493136040354322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082593537,"filename":"image_20022025_13_18_55_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e4b6946074a60293ae08dc8490740843.jpg","text":"TemporaryFile(/tmp/multipartBody2594476995787124776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082593537,"filename":"image_20022025_13_18_35_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a9ba4120d362cc6529ea15a32aa2c70.jpg","text":"TemporaryFile(/tmp/multipartBody2080555020961472401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082593537,"filename":"image_20022025_13_18_15_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d115dacafdfd0b744d42f7ace60dfcc4.jpg","text":"TemporaryFile(/tmp/multipartBody7954509050446329116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082593537,"filename":"image_20022025_13_18_44_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/abeec6b3eb201e1b90ea29dade74e445.jpg","text":"TemporaryFile(/tmp/multipartBody316249327959259910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082593537,"filename":"image_20022025_13_17_54_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9393b89a4f2b60b5701e3ab907af9d62.jpg","text":"TemporaryFile(/tmp/multipartBody6554592237803117377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082593537,"filename":"image_20022025_13_18_05_10418.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338669220","file1":"1338669212","file0":"1338669201","file4":"1338669398","file5":"1338669430","file3":"1338669229"},"map_files_photo_id_array":[{"photo_id":"1338669430","filename":"file5"},{"photo_id":"1338669220","filename":"file2"},{"photo_id":"1338669398","filename":"file4"},{"photo_id":"1338669212","filename":"file1"},{"photo_id":"1338669201","filename":"file0"},{"photo_id":"1338669229","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338669430":["hashtag1","hashtag2"]},{"1338669229":["hashtag1","hashtag2"]},{"1338669220":["hashtag1","hashtag2"]},{"1338669398":["hashtag1","hashtag2"]},{"1338669201":["hashtag1","hashtag2"]},{"1338669212":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338669430, 1338669229, 1338669220, 1338669398, 1338669201, 1338669212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.414589166641235 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:16:32.825798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/18/image_20022025_13_19_05_10337.jpg', '/home/pi/Desktop/images/20022025/13/19/image_20022025_13_19_14_9337.jpg', '/home/pi/Desktop/images/20022025/13/19/image_20022025_13_19_25_10341.jpg', '/home/pi/Desktop/images/20022025/13/19/image_20022025_13_19_55_10453.jpg', '/home/pi/Desktop/images/20022025/13/19/image_20022025_13_20_05_10330.jpg', '/home/pi/Desktop/images/20022025/13/20/image_20022025_13_20_14_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/18/image_20022025_13_19_05_10337.jpg
/home/pi/Desktop/images/20022025/13/19/image_20022025_13_19_14_9337.jpg
/home/pi/Desktop/images/20022025/13/19/image_20022025_13_19_25_10341.jpg
/home/pi/Desktop/images/20022025/13/19/image_20022025_13_19_55_10453.jpg
/home/pi/Desktop/images/20022025/13/19/image_20022025_13_20_05_10330.jpg
/home/pi/Desktop/images/20022025/13/20/image_20022025_13_20_14_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338669736","1338669724","1338669532","1338669750","1338669719","1338669685"],"photo_ids_order":["1338669532","1338669685","1338669719","1338669724","1338669736","1338669750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/01cc82a25db85503500f341b4b752755.jpg","text":"TemporaryFile(/tmp/multipartBody7501293422438647407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082653392,"filename":"image_20022025_13_20_05_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef4d2702305dd142e26aa6fd0f62d10e.jpg","text":"TemporaryFile(/tmp/multipartBody7411788300085740780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082653392,"filename":"image_20022025_13_19_55_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52be01f75477c37faa114e721c2aae73.jpg","text":"TemporaryFile(/tmp/multipartBody5605279451630200908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082653392,"filename":"image_20022025_13_19_05_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/842fd30de844d8ea9cb8616204d206dc.jpg","text":"TemporaryFile(/tmp/multipartBody4153333942357333521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082653392,"filename":"image_20022025_13_20_14_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e58595ddb16b7a8942a015aa8b410e00.jpg","text":"TemporaryFile(/tmp/multipartBody597516222095397280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082653392,"filename":"image_20022025_13_19_25_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c3d6bd34c8bd86fbc46d6ad3c724f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5523591619285067164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082653392,"filename":"image_20022025_13_19_14_9337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338669719","file1":"1338669685","file0":"1338669532","file4":"1338669736","file5":"1338669750","file3":"1338669724"},"map_files_photo_id_array":[{"photo_id":"1338669750","filename":"file5"},{"photo_id":"1338669719","filename":"file2"},{"photo_id":"1338669736","filename":"file4"},{"photo_id":"1338669685","filename":"file1"},{"photo_id":"1338669532","filename":"file0"},{"photo_id":"1338669724","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338669736":["hashtag1","hashtag2"]},{"1338669724":["hashtag1","hashtag2"]},{"1338669532":["hashtag1","hashtag2"]},{"1338669750":["hashtag1","hashtag2"]},{"1338669719":["hashtag1","hashtag2"]},{"1338669685":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338669736, 1338669724, 1338669532, 1338669750, 1338669719, 1338669685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.873098611831665 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:17:32.980462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/20/image_20022025_13_20_35_10354.jpg', '/home/pi/Desktop/images/20022025/13/20/image_20022025_13_20_45_9417.jpg', '/home/pi/Desktop/images/20022025/13/20/image_20022025_13_20_55_10328.jpg', '/home/pi/Desktop/images/20022025/13/20/image_20022025_13_21_04_9325.jpg', '/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_15_10449.jpg', '/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_25_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/20/image_20022025_13_20_35_10354.jpg
/home/pi/Desktop/images/20022025/13/20/image_20022025_13_20_45_9417.jpg
/home/pi/Desktop/images/20022025/13/20/image_20022025_13_20_55_10328.jpg
/home/pi/Desktop/images/20022025/13/20/image_20022025_13_21_04_9325.jpg
/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_15_10449.jpg
/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_25_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338669888","1338669897","1338669900","1338669893","1338669898","1338669886"],"photo_ids_order":["1338669886","1338669888","1338669893","1338669897","1338669898","1338669900"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac809b2638f55f211e36caf17a208c85.jpg","text":"TemporaryFile(/tmp/multipartBody2442226536606830353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082713560,"filename":"image_20022025_13_20_45_9417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5cf8d660bf67f69b3ad859dcbb7d44e6.jpg","text":"TemporaryFile(/tmp/multipartBody8276665517070863743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082713560,"filename":"image_20022025_13_21_04_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd692c6f83a2f9607598494eb733eb11.jpg","text":"TemporaryFile(/tmp/multipartBody7381192428647145098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082713560,"filename":"image_20022025_13_21_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5c32a3b96bc084edcb5f425eb800a5b3.jpg","text":"TemporaryFile(/tmp/multipartBody3256906015005290632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082713560,"filename":"image_20022025_13_20_55_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb19ce92ae112648574567778a3af97e.jpg","text":"TemporaryFile(/tmp/multipartBody3144367167593721286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082713560,"filename":"image_20022025_13_21_15_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e730ea0f4a429ba80af43287d5c21c56.jpg","text":"TemporaryFile(/tmp/multipartBody3373589973504099682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082713560,"filename":"image_20022025_13_20_35_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338669893","file1":"1338669888","file0":"1338669886","file4":"1338669898","file5":"1338669900","file3":"1338669897"},"map_files_photo_id_array":[{"photo_id":"1338669900","filename":"file5"},{"photo_id":"1338669893","filename":"file2"},{"photo_id":"1338669898","filename":"file4"},{"photo_id":"1338669888","filename":"file1"},{"photo_id":"1338669886","filename":"file0"},{"photo_id":"1338669897","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338669888":["hashtag1","hashtag2"]},{"1338669897":["hashtag1","hashtag2"]},{"1338669900":["hashtag1","hashtag2"]},{"1338669893":["hashtag1","hashtag2"]},{"1338669898":["hashtag1","hashtag2"]},{"1338669886":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338669888, 1338669897, 1338669900, 1338669893, 1338669898, 1338669886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.26281714439392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:18:32.180426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_34_9383.jpg', '/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_45_10462.jpg', '/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_54_9338.jpg', '/home/pi/Desktop/images/20022025/13/21/image_20022025_13_22_05_10401.jpg', '/home/pi/Desktop/images/20022025/13/22/image_20022025_13_22_15_10336.jpg', '/home/pi/Desktop/images/20022025/13/22/image_20022025_13_22_24_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_34_9383.jpg
/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_45_10462.jpg
/home/pi/Desktop/images/20022025/13/21/image_20022025_13_21_54_9338.jpg
/home/pi/Desktop/images/20022025/13/21/image_20022025_13_22_05_10401.jpg
/home/pi/Desktop/images/20022025/13/22/image_20022025_13_22_15_10336.jpg
/home/pi/Desktop/images/20022025/13/22/image_20022025_13_22_24_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338669942","1338669936","1338669945","1338669939","1338669947","1338669938"],"photo_ids_order":["1338669936","1338669938","1338669939","1338669942","1338669945","1338669947"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/619aabd948860eaef52d173833286e0c.jpg","text":"TemporaryFile(/tmp/multipartBody6437560867852341144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082772757,"filename":"image_20022025_13_22_05_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c54e4530ad9205e683949ab3c602b775.jpg","text":"TemporaryFile(/tmp/multipartBody3103712931578083178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082772757,"filename":"image_20022025_13_21_34_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a91537363df7ddc496a841e89c235b31.jpg","text":"TemporaryFile(/tmp/multipartBody6845839762637918010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082772757,"filename":"image_20022025_13_22_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bea2eaf2634789d0d7127c7263f97bf2.jpg","text":"TemporaryFile(/tmp/multipartBody5407412587857194198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082772757,"filename":"image_20022025_13_21_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8de253f29ef6288a556fafb3263f2fe7.jpg","text":"TemporaryFile(/tmp/multipartBody4609925784430232239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082772757,"filename":"image_20022025_13_22_24_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8ac6fe2c49e35781e5796f5a2977be48.jpg","text":"TemporaryFile(/tmp/multipartBody674371772309788125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082772757,"filename":"image_20022025_13_21_45_10462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338669939","file1":"1338669938","file0":"1338669936","file4":"1338669945","file5":"1338669947","file3":"1338669942"},"map_files_photo_id_array":[{"photo_id":"1338669947","filename":"file5"},{"photo_id":"1338669939","filename":"file2"},{"photo_id":"1338669945","filename":"file4"},{"photo_id":"1338669938","filename":"file1"},{"photo_id":"1338669936","filename":"file0"},{"photo_id":"1338669942","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338669942":["hashtag1","hashtag2"]},{"1338669936":["hashtag1","hashtag2"]},{"1338669945":["hashtag1","hashtag2"]},{"1338669939":["hashtag1","hashtag2"]},{"1338669947":["hashtag1","hashtag2"]},{"1338669938":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338669942, 1338669936, 1338669945, 1338669939, 1338669947, 1338669938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.77602982521057 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:19:32.397401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/22/image_20022025_13_22_54_9338.jpg', '/home/pi/Desktop/images/20022025/13/22/image_20022025_13_23_05_10416.jpg', '/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_15_10340.jpg', '/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_24_9333.jpg', '/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_35_10412.jpg', '/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_44_9348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/22/image_20022025_13_22_54_9338.jpg
/home/pi/Desktop/images/20022025/13/22/image_20022025_13_23_05_10416.jpg
/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_15_10340.jpg
/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_24_9333.jpg
/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_35_10412.jpg
/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_44_9348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338669993","1338669994","1338669982","1338669976","1338669985","1338669979"],"photo_ids_order":["1338669976","1338669979","1338669982","1338669985","1338669993","1338669994"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f5c45c1d02afeadcc351f59f26a76344.jpg","text":"TemporaryFile(/tmp/multipartBody4663904706854379447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082832951,"filename":"image_20022025_13_23_35_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/478421fd61331425673ce8d1193d5e7c.jpg","text":"TemporaryFile(/tmp/multipartBody4325546625739439872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082832951,"filename":"image_20022025_13_23_44_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c308e72fbe64046e71a0e283727e4a49.jpg","text":"TemporaryFile(/tmp/multipartBody1233206842984619818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082832951,"filename":"image_20022025_13_23_15_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/962d9a7502b7ce0af3ff389f6e8c1878.jpg","text":"TemporaryFile(/tmp/multipartBody2098396270521208383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082832951,"filename":"image_20022025_13_22_54_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b82343b5cb05648434a89c6eccd1198.jpg","text":"TemporaryFile(/tmp/multipartBody6928138555859856189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082832951,"filename":"image_20022025_13_23_24_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66ad1e2e116db0a15805fded401e92ac.jpg","text":"TemporaryFile(/tmp/multipartBody8992600538917972502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082832951,"filename":"image_20022025_13_23_05_10416.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338669982","file1":"1338669979","file0":"1338669976","file4":"1338669993","file5":"1338669994","file3":"1338669985"},"map_files_photo_id_array":[{"photo_id":"1338669994","filename":"file5"},{"photo_id":"1338669982","filename":"file2"},{"photo_id":"1338669993","filename":"file4"},{"photo_id":"1338669979","filename":"file1"},{"photo_id":"1338669976","filename":"file0"},{"photo_id":"1338669985","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338669993":["hashtag1","hashtag2"]},{"1338669994":["hashtag1","hashtag2"]},{"1338669982":["hashtag1","hashtag2"]},{"1338669976":["hashtag1","hashtag2"]},{"1338669985":["hashtag1","hashtag2"]},{"1338669979":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338669993, 1338669994, 1338669982, 1338669976, 1338669985, 1338669979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5445830821991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:20:32.759612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_55_10391.jpg', '/home/pi/Desktop/images/20022025/13/23/image_20022025_13_24_05_10386.jpg', '/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_14_9394.jpg', '/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_25_10339.jpg', '/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_35_10426.jpg', '/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_45_9477.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/23/image_20022025_13_23_55_10391.jpg
/home/pi/Desktop/images/20022025/13/23/image_20022025_13_24_05_10386.jpg
/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_14_9394.jpg
/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_25_10339.jpg
/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_35_10426.jpg
/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_45_9477.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670012","1338670009","1338670038","1338670017","1338670029","1338670037"],"photo_ids_order":["1338670009","1338670012","1338670017","1338670029","1338670037","1338670038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1567f79c1ccf605b5f849b5b58905f29.jpg","text":"TemporaryFile(/tmp/multipartBody4697366617310910594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082893333,"filename":"image_20022025_13_24_05_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/03370df8ab028e2b89a190cf3580dc3c.jpg","text":"TemporaryFile(/tmp/multipartBody1697207952844262430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082893333,"filename":"image_20022025_13_23_55_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34708d90f3f17f65cab39f38fb68655d.jpg","text":"TemporaryFile(/tmp/multipartBody8395014461767212988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082893333,"filename":"image_20022025_13_24_45_9477.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fef0b4029de98c3fef1073997997d7f6.jpg","text":"TemporaryFile(/tmp/multipartBody2019660052789274442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082893333,"filename":"image_20022025_13_24_14_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f67ba7da72dd959c54766ad2d72a3889.jpg","text":"TemporaryFile(/tmp/multipartBody4819657312138940890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082893333,"filename":"image_20022025_13_24_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dce55ad4be6e0b4126e7a712f6f122fc.jpg","text":"TemporaryFile(/tmp/multipartBody6367336193992132902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082893333,"filename":"image_20022025_13_24_35_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670017","file1":"1338670012","file0":"1338670009","file4":"1338670037","file5":"1338670038","file3":"1338670029"},"map_files_photo_id_array":[{"photo_id":"1338670038","filename":"file5"},{"photo_id":"1338670017","filename":"file2"},{"photo_id":"1338670037","filename":"file4"},{"photo_id":"1338670012","filename":"file1"},{"photo_id":"1338670009","filename":"file0"},{"photo_id":"1338670029","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670012":["hashtag1","hashtag2"]},{"1338670009":["hashtag1","hashtag2"]},{"1338670038":["hashtag1","hashtag2"]},{"1338670017":["hashtag1","hashtag2"]},{"1338670029":["hashtag1","hashtag2"]},{"1338670037":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670012, 1338670009, 1338670038, 1338670017, 1338670029, 1338670037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26045632362366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:21:32.805139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_55_10325.jpg', '/home/pi/Desktop/images/20022025/13/24/image_20022025_13_25_04_9336.jpg', '/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_15_10426.jpg', '/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_25_10353.jpg', '/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_34_9326.jpg', '/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_45_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/24/image_20022025_13_24_55_10325.jpg
/home/pi/Desktop/images/20022025/13/24/image_20022025_13_25_04_9336.jpg
/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_15_10426.jpg
/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_25_10353.jpg
/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_34_9326.jpg
/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_45_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670096","1338670092","1338670071","1338670089","1338670068","1338670073"],"photo_ids_order":["1338670068","1338670071","1338670073","1338670089","1338670092","1338670096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5188c5cda2fba0b60adf8474142f49d.jpg","text":"TemporaryFile(/tmp/multipartBody1239249988894906408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082953373,"filename":"image_20022025_13_25_45_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8865a1ca9b6d2eac02c48f9623fbb3a1.jpg","text":"TemporaryFile(/tmp/multipartBody6432617441521853380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082953373,"filename":"image_20022025_13_25_34_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81dd1ffe4a2e1c12379af01d48d67f37.jpg","text":"TemporaryFile(/tmp/multipartBody534494002503642832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082953373,"filename":"image_20022025_13_25_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/221f8214f7d726ca3e096a2674de381b.jpg","text":"TemporaryFile(/tmp/multipartBody6230891790829527177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082953373,"filename":"image_20022025_13_25_25_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20534e2247cb7cdb7633f141387f5167.jpg","text":"TemporaryFile(/tmp/multipartBody5309126339548221932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082953373,"filename":"image_20022025_13_24_55_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2a88040afc84874f193c1069f8e61a1.jpg","text":"TemporaryFile(/tmp/multipartBody5969273870791283333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740082953373,"filename":"image_20022025_13_25_15_10426.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670073","file1":"1338670071","file0":"1338670068","file4":"1338670092","file5":"1338670096","file3":"1338670089"},"map_files_photo_id_array":[{"photo_id":"1338670096","filename":"file5"},{"photo_id":"1338670073","filename":"file2"},{"photo_id":"1338670092","filename":"file4"},{"photo_id":"1338670071","filename":"file1"},{"photo_id":"1338670068","filename":"file0"},{"photo_id":"1338670089","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670096":["hashtag1","hashtag2"]},{"1338670092":["hashtag1","hashtag2"]},{"1338670071":["hashtag1","hashtag2"]},{"1338670089":["hashtag1","hashtag2"]},{"1338670068":["hashtag1","hashtag2"]},{"1338670073":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670096, 1338670092, 1338670071, 1338670089, 1338670068, 1338670073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69941735267639 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:22:33.046923
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_55_10333.jpg', '/home/pi/Desktop/images/20022025/13/25/image_20022025_13_26_04_9371.jpg', '/home/pi/Desktop/images/20022025/13/26/image_20022025_13_26_15_10569.jpg', '/home/pi/Desktop/images/20022025/13/26/image_20022025_13_26_24_9321.jpg', '/home/pi/Desktop/images/20022025/13/26/image_20022025_13_26_55_9451.jpg', '/home/pi/Desktop/images/20022025/13/26/image_20022025_13_27_05_10427.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/25/image_20022025_13_25_55_10333.jpg
/home/pi/Desktop/images/20022025/13/25/image_20022025_13_26_04_9371.jpg
/home/pi/Desktop/images/20022025/13/26/image_20022025_13_26_15_10569.jpg
/home/pi/Desktop/images/20022025/13/26/image_20022025_13_26_24_9321.jpg
/home/pi/Desktop/images/20022025/13/26/image_20022025_13_26_55_9451.jpg
/home/pi/Desktop/images/20022025/13/26/image_20022025_13_27_05_10427.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670185","1338670181","1338670200","1338670139","1338670202","1338670192"],"photo_ids_order":["1338670139","1338670181","1338670185","1338670192","1338670200","1338670202"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6c208117f52b05ad77b1c4cf9010dba7.jpg","text":"TemporaryFile(/tmp/multipartBody7425689128165604026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083013622,"filename":"image_20022025_13_26_15_10569.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2caac9ed99ab63146c72920ba5814351.jpg","text":"TemporaryFile(/tmp/multipartBody6626865017770453900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083013622,"filename":"image_20022025_13_26_04_9371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1677ebfa5adbcfa1811468f6b0e3a531.jpg","text":"TemporaryFile(/tmp/multipartBody3453779130809243968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083013622,"filename":"image_20022025_13_26_55_9451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f989042ef4532d271a20a2473aa6d83.jpg","text":"TemporaryFile(/tmp/multipartBody651997959305759421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083013622,"filename":"image_20022025_13_25_55_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78e03f094d483f13f28948a78935c727.jpg","text":"TemporaryFile(/tmp/multipartBody2790414252569899091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083013622,"filename":"image_20022025_13_27_05_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e010e7501a04b7c8b44f7585080aa4b4.jpg","text":"TemporaryFile(/tmp/multipartBody5831142695330129359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083013622,"filename":"image_20022025_13_26_24_9321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670185","file1":"1338670181","file0":"1338670139","file4":"1338670200","file5":"1338670202","file3":"1338670192"},"map_files_photo_id_array":[{"photo_id":"1338670202","filename":"file5"},{"photo_id":"1338670185","filename":"file2"},{"photo_id":"1338670200","filename":"file4"},{"photo_id":"1338670181","filename":"file1"},{"photo_id":"1338670139","filename":"file0"},{"photo_id":"1338670192","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670185":["hashtag1","hashtag2"]},{"1338670181":["hashtag1","hashtag2"]},{"1338670200":["hashtag1","hashtag2"]},{"1338670139":["hashtag1","hashtag2"]},{"1338670202":["hashtag1","hashtag2"]},{"1338670192":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670185, 1338670181, 1338670200, 1338670139, 1338670202, 1338670192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30348873138428 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:23:32.122304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/27/image_20022025_13_27_14_9348.jpg', '/home/pi/Desktop/images/20022025/13/27/image_20022025_13_27_25_10434.jpg', '/home/pi/Desktop/images/20022025/13/27/image_20022025_13_27_35_10338.jpg', '/home/pi/Desktop/images/20022025/13/27/image_20022025_13_27_44_9396.jpg', '/home/pi/Desktop/images/20022025/13/27/image_20022025_13_28_04_9336.jpg', '/home/pi/Desktop/images/20022025/13/28/image_20022025_13_28_15_10470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/27/image_20022025_13_27_14_9348.jpg
/home/pi/Desktop/images/20022025/13/27/image_20022025_13_27_25_10434.jpg
/home/pi/Desktop/images/20022025/13/27/image_20022025_13_27_35_10338.jpg
/home/pi/Desktop/images/20022025/13/27/image_20022025_13_27_44_9396.jpg
/home/pi/Desktop/images/20022025/13/27/image_20022025_13_28_04_9336.jpg
/home/pi/Desktop/images/20022025/13/28/image_20022025_13_28_15_10470.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670294","1338670297","1338670270","1338670296","1338670266","1338670291"],"photo_ids_order":["1338670266","1338670270","1338670291","1338670294","1338670296","1338670297"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d12bd4060e4acfee5cf969b37e9e6bdb.jpg","text":"TemporaryFile(/tmp/multipartBody5987933270653385301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083072705,"filename":"image_20022025_13_27_44_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/706a0ca52dd74693c7afdc817b38f4ee.jpg","text":"TemporaryFile(/tmp/multipartBody3848550483445840661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083072705,"filename":"image_20022025_13_28_15_10470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba57cbfe173208dff58517a44497e5d3.jpg","text":"TemporaryFile(/tmp/multipartBody2503057607815822342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083072705,"filename":"image_20022025_13_27_25_10434.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/763aa8c5931c4463ec7f7618049249b3.jpg","text":"TemporaryFile(/tmp/multipartBody1386839512875049381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083072705,"filename":"image_20022025_13_28_04_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f53e0bb2e4d14a89823cb7cf43633ef6.jpg","text":"TemporaryFile(/tmp/multipartBody5150178513141561854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083072705,"filename":"image_20022025_13_27_14_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a59aa2e68234782bd772640914b0122.jpg","text":"TemporaryFile(/tmp/multipartBody1426630657574832934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083072705,"filename":"image_20022025_13_27_35_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670291","file1":"1338670270","file0":"1338670266","file4":"1338670296","file5":"1338670297","file3":"1338670294"},"map_files_photo_id_array":[{"photo_id":"1338670297","filename":"file5"},{"photo_id":"1338670291","filename":"file2"},{"photo_id":"1338670296","filename":"file4"},{"photo_id":"1338670270","filename":"file1"},{"photo_id":"1338670266","filename":"file0"},{"photo_id":"1338670294","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670294":["hashtag1","hashtag2"]},{"1338670297":["hashtag1","hashtag2"]},{"1338670270":["hashtag1","hashtag2"]},{"1338670296":["hashtag1","hashtag2"]},{"1338670266":["hashtag1","hashtag2"]},{"1338670291":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670294, 1338670297, 1338670270, 1338670296, 1338670266, 1338670291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18161582946777 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:24:32.279697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/28/image_20022025_13_28_34_9349.jpg', '/home/pi/Desktop/images/20022025/13/28/image_20022025_13_28_45_10403.jpg', '/home/pi/Desktop/images/20022025/13/28/image_20022025_13_28_55_10325.jpg', '/home/pi/Desktop/images/20022025/13/28/image_20022025_13_29_04_9313.jpg', '/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_15_10441.jpg', '/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_24_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/28/image_20022025_13_28_34_9349.jpg
/home/pi/Desktop/images/20022025/13/28/image_20022025_13_28_45_10403.jpg
/home/pi/Desktop/images/20022025/13/28/image_20022025_13_28_55_10325.jpg
/home/pi/Desktop/images/20022025/13/28/image_20022025_13_29_04_9313.jpg
/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_15_10441.jpg
/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_24_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670348","1338670357","1338670351","1338670345","1338670377","1338670355"],"photo_ids_order":["1338670345","1338670348","1338670351","1338670355","1338670357","1338670377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a6e104517a1cb928f1dce41dc23f3cc.jpg","text":"TemporaryFile(/tmp/multipartBody1106482792461744377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083132838,"filename":"image_20022025_13_28_45_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22eddde38ede7f16f4b0f930a6a3a436.jpg","text":"TemporaryFile(/tmp/multipartBody3311692507279375178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083132838,"filename":"image_20022025_13_29_15_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f46540338a8a9b86542fb7966b428fb9.jpg","text":"TemporaryFile(/tmp/multipartBody6932324577032851744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083132838,"filename":"image_20022025_13_28_55_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/97f7207e75ff858aaa5c7238c31c3618.jpg","text":"TemporaryFile(/tmp/multipartBody8935875827244443027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083132838,"filename":"image_20022025_13_28_34_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d98c4c92206e5b407c334d265896b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3640467398274652915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083132838,"filename":"image_20022025_13_29_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6fe4d50507a913b44b87b87cb7109f3.jpg","text":"TemporaryFile(/tmp/multipartBody2867839462729238214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083132838,"filename":"image_20022025_13_29_04_9313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670351","file1":"1338670348","file0":"1338670345","file4":"1338670357","file5":"1338670377","file3":"1338670355"},"map_files_photo_id_array":[{"photo_id":"1338670377","filename":"file5"},{"photo_id":"1338670351","filename":"file2"},{"photo_id":"1338670357","filename":"file4"},{"photo_id":"1338670348","filename":"file1"},{"photo_id":"1338670345","filename":"file0"},{"photo_id":"1338670355","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670348":["hashtag1","hashtag2"]},{"1338670357":["hashtag1","hashtag2"]},{"1338670351":["hashtag1","hashtag2"]},{"1338670345":["hashtag1","hashtag2"]},{"1338670377":["hashtag1","hashtag2"]},{"1338670355":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670348, 1338670357, 1338670351, 1338670345, 1338670377, 1338670355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.949460983276367 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:25:32.587520
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_34_10202.jpg', '/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_45_10395.jpg', '/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_55_10335.jpg', '/home/pi/Desktop/images/20022025/13/29/image_20022025_13_30_04_9385.jpg', '/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_15_10365.jpg', '/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_24_9319.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_34_10202.jpg
/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_45_10395.jpg
/home/pi/Desktop/images/20022025/13/29/image_20022025_13_29_55_10335.jpg
/home/pi/Desktop/images/20022025/13/29/image_20022025_13_30_04_9385.jpg
/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_15_10365.jpg
/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_24_9319.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670528","1338670531","1338670519","1338670533","1338670413","1338670422"],"photo_ids_order":["1338670413","1338670422","1338670519","1338670528","1338670531","1338670533"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e06dc8ee51be20da397ec921f1de05b6.jpg","text":"TemporaryFile(/tmp/multipartBody5647881850670373559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083193149,"filename":"image_20022025_13_30_04_9385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b13fb58d5543e4bf78abf4ac78a0a88.jpg","text":"TemporaryFile(/tmp/multipartBody8927450300000243029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083193149,"filename":"image_20022025_13_30_15_10365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6072ba361541d0fb5625bb41ccb8caa4.jpg","text":"TemporaryFile(/tmp/multipartBody155105790712514794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083193149,"filename":"image_20022025_13_29_55_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c1eca64c5318e972a563c625b84b52cb.jpg","text":"TemporaryFile(/tmp/multipartBody4740703241418814386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083193149,"filename":"image_20022025_13_30_24_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f1bd4be818628089400c20039b3f845.jpg","text":"TemporaryFile(/tmp/multipartBody5252280564875285223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083193149,"filename":"image_20022025_13_29_34_10202.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f073926199a6eec87e98e9b0b3da9c3.jpg","text":"TemporaryFile(/tmp/multipartBody2574134407728932016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083193149,"filename":"image_20022025_13_29_45_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670519","file1":"1338670422","file0":"1338670413","file4":"1338670531","file5":"1338670533","file3":"1338670528"},"map_files_photo_id_array":[{"photo_id":"1338670533","filename":"file5"},{"photo_id":"1338670519","filename":"file2"},{"photo_id":"1338670531","filename":"file4"},{"photo_id":"1338670422","filename":"file1"},{"photo_id":"1338670413","filename":"file0"},{"photo_id":"1338670528","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670528":["hashtag1","hashtag2"]},{"1338670531":["hashtag1","hashtag2"]},{"1338670519":["hashtag1","hashtag2"]},{"1338670533":["hashtag1","hashtag2"]},{"1338670413":["hashtag1","hashtag2"]},{"1338670422":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670528, 1338670531, 1338670519, 1338670533, 1338670413, 1338670422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66915249824524 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:26:32.741940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_35_10388.jpg', '/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_45_10338.jpg', '/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_54_9433.jpg', '/home/pi/Desktop/images/20022025/13/30/image_20022025_13_31_05_10343.jpg', '/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_15_10337.jpg', '/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_24_9308.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_35_10388.jpg
/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_45_10338.jpg
/home/pi/Desktop/images/20022025/13/30/image_20022025_13_30_54_9433.jpg
/home/pi/Desktop/images/20022025/13/30/image_20022025_13_31_05_10343.jpg
/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_15_10337.jpg
/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_24_9308.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670645","1338670621","1338670618","1338670647","1338670635","1338670640"],"photo_ids_order":["1338670618","1338670621","1338670635","1338670640","1338670645","1338670647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/94071f5ed9d3bbeefd672fcaaaae3f9e.jpg","text":"TemporaryFile(/tmp/multipartBody2474042017084964278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083253331,"filename":"image_20022025_13_31_15_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/79d69db7f2b9ca1200e4deaf6880d283.jpg","text":"TemporaryFile(/tmp/multipartBody6991744762338468729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083253331,"filename":"image_20022025_13_30_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3e3f8d91d78bfa24a585c06cf6d2ac20.jpg","text":"TemporaryFile(/tmp/multipartBody6793928758829509892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083253331,"filename":"image_20022025_13_30_35_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c623781d9bf5911dca05403ea527f95c.jpg","text":"TemporaryFile(/tmp/multipartBody1235910639873855853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083253331,"filename":"image_20022025_13_31_24_9308.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2836be8ac6f37e03f8dbe698b3261fa2.jpg","text":"TemporaryFile(/tmp/multipartBody2485093977381912478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083253331,"filename":"image_20022025_13_30_54_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16bd9e0e64c93b09955b858e4ad906d7.jpg","text":"TemporaryFile(/tmp/multipartBody4339727566939054426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083253331,"filename":"image_20022025_13_31_05_10343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670635","file1":"1338670621","file0":"1338670618","file4":"1338670645","file5":"1338670647","file3":"1338670640"},"map_files_photo_id_array":[{"photo_id":"1338670647","filename":"file5"},{"photo_id":"1338670635","filename":"file2"},{"photo_id":"1338670645","filename":"file4"},{"photo_id":"1338670621","filename":"file1"},{"photo_id":"1338670618","filename":"file0"},{"photo_id":"1338670640","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670645":["hashtag1","hashtag2"]},{"1338670621":["hashtag1","hashtag2"]},{"1338670618":["hashtag1","hashtag2"]},{"1338670647":["hashtag1","hashtag2"]},{"1338670635":["hashtag1","hashtag2"]},{"1338670640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670645, 1338670621, 1338670618, 1338670647, 1338670635, 1338670640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.28640818595886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:27:32.915331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_35_10410.jpg', '/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_45_10353.jpg', '/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_54_9307.jpg', '/home/pi/Desktop/images/20022025/13/31/image_20022025_13_32_05_10404.jpg', '/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_15_10333.jpg', '/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_24_9375.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_35_10410.jpg
/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_45_10353.jpg
/home/pi/Desktop/images/20022025/13/31/image_20022025_13_31_54_9307.jpg
/home/pi/Desktop/images/20022025/13/31/image_20022025_13_32_05_10404.jpg
/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_15_10333.jpg
/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_24_9375.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670663","1338670666","1338670674","1338670668","1338670671","1338670697"],"photo_ids_order":["1338670663","1338670666","1338670668","1338670671","1338670674","1338670697"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76778b9bbb21325071d7a34b9563ce9b.jpg","text":"TemporaryFile(/tmp/multipartBody2800857192781072783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083313485,"filename":"image_20022025_13_31_35_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41097d8e420bdd945a3e4ed902d43779.jpg","text":"TemporaryFile(/tmp/multipartBody6223522860972484648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083313485,"filename":"image_20022025_13_31_45_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6d4c300b5c56c5b5fd25f87f0eb39792.jpg","text":"TemporaryFile(/tmp/multipartBody7725181897532246908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083313485,"filename":"image_20022025_13_32_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0efa2c2efc1840b5d57b59794dcd5bb2.jpg","text":"TemporaryFile(/tmp/multipartBody7545387437625317696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083313485,"filename":"image_20022025_13_31_54_9307.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/10778f97b5cc0a93b9493d8e230e8c41.jpg","text":"TemporaryFile(/tmp/multipartBody8644742383752627463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083313485,"filename":"image_20022025_13_32_05_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20a145f14c746bf00be032a6913de3c5.jpg","text":"TemporaryFile(/tmp/multipartBody8636725734246469686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083313485,"filename":"image_20022025_13_32_24_9375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670668","file1":"1338670666","file0":"1338670663","file4":"1338670674","file5":"1338670697","file3":"1338670671"},"map_files_photo_id_array":[{"photo_id":"1338670697","filename":"file5"},{"photo_id":"1338670668","filename":"file2"},{"photo_id":"1338670674","filename":"file4"},{"photo_id":"1338670666","filename":"file1"},{"photo_id":"1338670663","filename":"file0"},{"photo_id":"1338670671","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670663":["hashtag1","hashtag2"]},{"1338670666":["hashtag1","hashtag2"]},{"1338670674":["hashtag1","hashtag2"]},{"1338670668":["hashtag1","hashtag2"]},{"1338670671":["hashtag1","hashtag2"]},{"1338670697":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670663, 1338670666, 1338670674, 1338670668, 1338670671, 1338670697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82856059074402 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:28:33.155461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_35_10429.jpg', '/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_44_9395.jpg', '/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_55_10401.jpg', '/home/pi/Desktop/images/20022025/13/32/image_20022025_13_33_05_10352.jpg', '/home/pi/Desktop/images/20022025/13/33/image_20022025_13_33_25_10334.jpg', '/home/pi/Desktop/images/20022025/13/33/image_20022025_13_33_34_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_35_10429.jpg
/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_44_9395.jpg
/home/pi/Desktop/images/20022025/13/32/image_20022025_13_32_55_10401.jpg
/home/pi/Desktop/images/20022025/13/32/image_20022025_13_33_05_10352.jpg
/home/pi/Desktop/images/20022025/13/33/image_20022025_13_33_25_10334.jpg
/home/pi/Desktop/images/20022025/13/33/image_20022025_13_33_34_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670709","1338670726","1338670714","1338670722","1338670728","1338670724"],"photo_ids_order":["1338670709","1338670714","1338670722","1338670724","1338670726","1338670728"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa0f650fdd36b00bd209f7b57e0dee49.jpg","text":"TemporaryFile(/tmp/multipartBody2741761232153516633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083373710,"filename":"image_20022025_13_32_35_10429.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d32b4fb511fb459c357dc013e923f29.jpg","text":"TemporaryFile(/tmp/multipartBody7872729072934773720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083373710,"filename":"image_20022025_13_33_25_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c445830c9815ce1a2fdc5b6c7b87c3d8.jpg","text":"TemporaryFile(/tmp/multipartBody2730630485557486039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083373710,"filename":"image_20022025_13_32_44_9395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f4b9535e3069ae6b8f660d2afb46fc2.jpg","text":"TemporaryFile(/tmp/multipartBody6193882413591881074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083373710,"filename":"image_20022025_13_32_55_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6d9f18fc327c490caeb8596f0ce43dd0.jpg","text":"TemporaryFile(/tmp/multipartBody8061903665129308340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083373710,"filename":"image_20022025_13_33_34_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4b683ba5cd8226b484f31b61dc0e5ea.jpg","text":"TemporaryFile(/tmp/multipartBody1119471498200486978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083373710,"filename":"image_20022025_13_33_05_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670722","file1":"1338670714","file0":"1338670709","file4":"1338670726","file5":"1338670728","file3":"1338670724"},"map_files_photo_id_array":[{"photo_id":"1338670728","filename":"file5"},{"photo_id":"1338670722","filename":"file2"},{"photo_id":"1338670726","filename":"file4"},{"photo_id":"1338670714","filename":"file1"},{"photo_id":"1338670709","filename":"file0"},{"photo_id":"1338670724","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670709":["hashtag1","hashtag2"]},{"1338670726":["hashtag1","hashtag2"]},{"1338670714":["hashtag1","hashtag2"]},{"1338670722":["hashtag1","hashtag2"]},{"1338670728":["hashtag1","hashtag2"]},{"1338670724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670709, 1338670726, 1338670714, 1338670722, 1338670728, 1338670724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05034875869751 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:29:32.303919
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/33/image_20022025_13_33_45_10420.jpg', '/home/pi/Desktop/images/20022025/13/33/image_20022025_13_33_55_10319.jpg', '/home/pi/Desktop/images/20022025/13/33/image_20022025_13_34_04_9342.jpg', '/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_15_10403.jpg', '/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_25_10329.jpg', '/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_34_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/33/image_20022025_13_33_45_10420.jpg
/home/pi/Desktop/images/20022025/13/33/image_20022025_13_33_55_10319.jpg
/home/pi/Desktop/images/20022025/13/33/image_20022025_13_34_04_9342.jpg
/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_15_10403.jpg
/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_25_10329.jpg
/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_34_9320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670837","1338670825","1338670839","1338670833","1338670835","1338670838"],"photo_ids_order":["1338670825","1338670833","1338670835","1338670837","1338670838","1338670839"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bed6646238eec0431d7986a7a7bac8e8.jpg","text":"TemporaryFile(/tmp/multipartBody6953418635164454324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083432865,"filename":"image_20022025_13_34_15_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0429e5345d8bec31c7063dbd4e80776.jpg","text":"TemporaryFile(/tmp/multipartBody2712746940959563029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083432865,"filename":"image_20022025_13_33_45_10420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/51d76afadbf2e4ebc74155204e18768e.jpg","text":"TemporaryFile(/tmp/multipartBody3231749778589923313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083432865,"filename":"image_20022025_13_34_34_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b69ffc3f810abaaf12590c71b44e518.jpg","text":"TemporaryFile(/tmp/multipartBody236616718512965749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083432865,"filename":"image_20022025_13_33_55_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/409245a7478ff8337bd1b7bd3456020a.jpg","text":"TemporaryFile(/tmp/multipartBody1220582640909327581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083432865,"filename":"image_20022025_13_34_04_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f0c8d8a19e2b43d8dd5525520dab273.jpg","text":"TemporaryFile(/tmp/multipartBody3769913026009254780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083432865,"filename":"image_20022025_13_34_25_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670835","file1":"1338670833","file0":"1338670825","file4":"1338670838","file5":"1338670839","file3":"1338670837"},"map_files_photo_id_array":[{"photo_id":"1338670839","filename":"file5"},{"photo_id":"1338670835","filename":"file2"},{"photo_id":"1338670838","filename":"file4"},{"photo_id":"1338670833","filename":"file1"},{"photo_id":"1338670825","filename":"file0"},{"photo_id":"1338670837","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670837":["hashtag1","hashtag2"]},{"1338670825":["hashtag1","hashtag2"]},{"1338670839":["hashtag1","hashtag2"]},{"1338670833":["hashtag1","hashtag2"]},{"1338670835":["hashtag1","hashtag2"]},{"1338670838":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670837, 1338670825, 1338670839, 1338670833, 1338670835, 1338670838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54852628707886 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:30:32.593193
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_45_10394.jpg', '/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_55_10363.jpg', '/home/pi/Desktop/images/20022025/13/34/image_20022025_13_35_05_9486.jpg', '/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_15_10317.jpg', '/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_24_9356.jpg', '/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_35_10344.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_45_10394.jpg
/home/pi/Desktop/images/20022025/13/34/image_20022025_13_34_55_10363.jpg
/home/pi/Desktop/images/20022025/13/34/image_20022025_13_35_05_9486.jpg
/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_15_10317.jpg
/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_24_9356.jpg
/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_35_10344.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670879","1338670864","1338670875","1338670877","1338670871","1338670873"],"photo_ids_order":["1338670864","1338670871","1338670873","1338670875","1338670877","1338670879"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d4fafcec3d072622ac41db1148f659f9.jpg","text":"TemporaryFile(/tmp/multipartBody873688522694422768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083493150,"filename":"image_20022025_13_35_35_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40e78bccc996b4eb8246cc937c9a33fc.jpg","text":"TemporaryFile(/tmp/multipartBody8722337441693011797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083493150,"filename":"image_20022025_13_34_45_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/515ae5aa770716665e6d2662706202ef.jpg","text":"TemporaryFile(/tmp/multipartBody7656269594915702642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083493150,"filename":"image_20022025_13_35_15_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d89ccd4544687fbdc2887860c6ae1141.jpg","text":"TemporaryFile(/tmp/multipartBody6952699213938295298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083493150,"filename":"image_20022025_13_35_24_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/44f6ebb82f1764e7164660ad3e61881d.jpg","text":"TemporaryFile(/tmp/multipartBody156557841562467440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083493150,"filename":"image_20022025_13_34_55_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e6b1794c849f39c8c192dd5313134bb.jpg","text":"TemporaryFile(/tmp/multipartBody5795616984933679201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083493150,"filename":"image_20022025_13_35_05_9486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670873","file1":"1338670871","file0":"1338670864","file4":"1338670877","file5":"1338670879","file3":"1338670875"},"map_files_photo_id_array":[{"photo_id":"1338670879","filename":"file5"},{"photo_id":"1338670873","filename":"file2"},{"photo_id":"1338670877","filename":"file4"},{"photo_id":"1338670871","filename":"file1"},{"photo_id":"1338670864","filename":"file0"},{"photo_id":"1338670875","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670879":["hashtag1","hashtag2"]},{"1338670864":["hashtag1","hashtag2"]},{"1338670875":["hashtag1","hashtag2"]},{"1338670877":["hashtag1","hashtag2"]},{"1338670871":["hashtag1","hashtag2"]},{"1338670873":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670879, 1338670864, 1338670875, 1338670877, 1338670871, 1338670873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40441870689392 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:31:32.807734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_45_10339.jpg', '/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_54_9325.jpg', '/home/pi/Desktop/images/20022025/13/35/image_20022025_13_36_05_10349.jpg', '/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_15_10324.jpg', '/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_24_9357.jpg', '/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_35_10343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_45_10339.jpg
/home/pi/Desktop/images/20022025/13/35/image_20022025_13_35_54_9325.jpg
/home/pi/Desktop/images/20022025/13/35/image_20022025_13_36_05_10349.jpg
/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_15_10324.jpg
/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_24_9357.jpg
/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_35_10343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670906","1338670895","1338670898","1338670901","1338670891","1338670904"],"photo_ids_order":["1338670891","1338670895","1338670898","1338670901","1338670904","1338670906"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/69d47c8ea8af20e1737cf2e37779669d.jpg","text":"TemporaryFile(/tmp/multipartBody1660915648467604585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083553380,"filename":"image_20022025_13_36_35_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/433292483d34f3cc427f18fda30542ef.jpg","text":"TemporaryFile(/tmp/multipartBody1750371846449829336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083553380,"filename":"image_20022025_13_35_54_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a8c7e0704844277b278aad092bc9ef5a.jpg","text":"TemporaryFile(/tmp/multipartBody6845508117495560180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083553380,"filename":"image_20022025_13_36_05_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dbbc6f588a5bd07d8d6db151deed824d.jpg","text":"TemporaryFile(/tmp/multipartBody8114423175569966150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083553380,"filename":"image_20022025_13_36_15_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/86ccde538bf635285f206e6c63340fcb.jpg","text":"TemporaryFile(/tmp/multipartBody8182008703095757369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083553380,"filename":"image_20022025_13_35_45_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b5defa2ff689bd8c512a514cc29cdbdf.jpg","text":"TemporaryFile(/tmp/multipartBody5136171289261227301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083553380,"filename":"image_20022025_13_36_24_9357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670898","file1":"1338670895","file0":"1338670891","file4":"1338670904","file5":"1338670906","file3":"1338670901"},"map_files_photo_id_array":[{"photo_id":"1338670906","filename":"file5"},{"photo_id":"1338670898","filename":"file2"},{"photo_id":"1338670904","filename":"file4"},{"photo_id":"1338670895","filename":"file1"},{"photo_id":"1338670891","filename":"file0"},{"photo_id":"1338670901","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670906":["hashtag1","hashtag2"]},{"1338670895":["hashtag1","hashtag2"]},{"1338670898":["hashtag1","hashtag2"]},{"1338670901":["hashtag1","hashtag2"]},{"1338670891":["hashtag1","hashtag2"]},{"1338670904":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670906, 1338670895, 1338670898, 1338670901, 1338670891, 1338670904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.989174604415894 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:32:33.074581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_45_10338.jpg', '/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_54_9316.jpg', '/home/pi/Desktop/images/20022025/13/36/image_20022025_13_37_05_10322.jpg', '/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_14_9726.jpg', '/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_25_10336.jpg', '/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_35_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_45_10338.jpg
/home/pi/Desktop/images/20022025/13/36/image_20022025_13_36_54_9316.jpg
/home/pi/Desktop/images/20022025/13/36/image_20022025_13_37_05_10322.jpg
/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_14_9726.jpg
/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_25_10336.jpg
/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_35_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338670951","1338670965","1338670980","1338670956","1338670967","1338670990"],"photo_ids_order":["1338670951","1338670956","1338670965","1338670967","1338670980","1338670990"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/16f190ba8d935ee708f7fe7eeb2b1e8e.jpg","text":"TemporaryFile(/tmp/multipartBody1205468423639053132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083613633,"filename":"image_20022025_13_36_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57c60ef28c469f18202ef069f3036621.jpg","text":"TemporaryFile(/tmp/multipartBody5787236887489974112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083613633,"filename":"image_20022025_13_37_05_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b947cfba56f6fd3eaeb0b32e507e5468.jpg","text":"TemporaryFile(/tmp/multipartBody2432596336734333703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083613633,"filename":"image_20022025_13_37_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6be87b171de094b934868f9150ab89c3.jpg","text":"TemporaryFile(/tmp/multipartBody2396160990567943880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083613633,"filename":"image_20022025_13_36_54_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57af3c88cf1d1155749eeb7242a51e93.jpg","text":"TemporaryFile(/tmp/multipartBody1771416234191288552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083613633,"filename":"image_20022025_13_37_14_9726.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f9b8ce15ce20652df8361779dcdc679.jpg","text":"TemporaryFile(/tmp/multipartBody6360683214065467308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083613633,"filename":"image_20022025_13_37_35_10342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338670965","file1":"1338670956","file0":"1338670951","file4":"1338670980","file5":"1338670990","file3":"1338670967"},"map_files_photo_id_array":[{"photo_id":"1338670990","filename":"file5"},{"photo_id":"1338670965","filename":"file2"},{"photo_id":"1338670980","filename":"file4"},{"photo_id":"1338670956","filename":"file1"},{"photo_id":"1338670951","filename":"file0"},{"photo_id":"1338670967","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338670951":["hashtag1","hashtag2"]},{"1338670965":["hashtag1","hashtag2"]},{"1338670980":["hashtag1","hashtag2"]},{"1338670956":["hashtag1","hashtag2"]},{"1338670967":["hashtag1","hashtag2"]},{"1338670990":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338670951, 1338670965, 1338670980, 1338670956, 1338670967, 1338670990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54141187667847 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:33:33.071514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_44_9340.jpg', '/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_55_10432.jpg', '/home/pi/Desktop/images/20022025/13/37/image_20022025_13_38_04_9416.jpg', '/home/pi/Desktop/images/20022025/13/38/image_20022025_13_38_25_10328.jpg', '/home/pi/Desktop/images/20022025/13/38/image_20022025_13_38_34_9328.jpg', '/home/pi/Desktop/images/20022025/13/38/image_20022025_13_38_45_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_44_9340.jpg
/home/pi/Desktop/images/20022025/13/37/image_20022025_13_37_55_10432.jpg
/home/pi/Desktop/images/20022025/13/37/image_20022025_13_38_04_9416.jpg
/home/pi/Desktop/images/20022025/13/38/image_20022025_13_38_25_10328.jpg
/home/pi/Desktop/images/20022025/13/38/image_20022025_13_38_34_9328.jpg
/home/pi/Desktop/images/20022025/13/38/image_20022025_13_38_45_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338671038","1338671017","1338671034","1338671028","1338671022","1338671031"],"photo_ids_order":["1338671017","1338671022","1338671028","1338671031","1338671034","1338671038"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36c21876dde72c4d95756796c6d51073.jpg","text":"TemporaryFile(/tmp/multipartBody5704196456510552164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083673639,"filename":"image_20022025_13_38_45_10363.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1eb191793738ef3f5f60272ee1f229f2.jpg","text":"TemporaryFile(/tmp/multipartBody3366171096708600174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083673639,"filename":"image_20022025_13_37_44_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/203a9e0bc2c18bf7b72acb5f83108777.jpg","text":"TemporaryFile(/tmp/multipartBody8225432511151235069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083673639,"filename":"image_20022025_13_38_34_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b607234eae14df86c474414c51b242f.jpg","text":"TemporaryFile(/tmp/multipartBody3609855958366679251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083673639,"filename":"image_20022025_13_38_04_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/401c28de8a709ad83527136bef45d243.jpg","text":"TemporaryFile(/tmp/multipartBody6344876274277809984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083673639,"filename":"image_20022025_13_37_55_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/88a32ddd72865397ef52572445719d1c.jpg","text":"TemporaryFile(/tmp/multipartBody6173205485993353947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083673639,"filename":"image_20022025_13_38_25_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338671028","file1":"1338671022","file0":"1338671017","file4":"1338671034","file5":"1338671038","file3":"1338671031"},"map_files_photo_id_array":[{"photo_id":"1338671038","filename":"file5"},{"photo_id":"1338671028","filename":"file2"},{"photo_id":"1338671034","filename":"file4"},{"photo_id":"1338671022","filename":"file1"},{"photo_id":"1338671017","filename":"file0"},{"photo_id":"1338671031","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338671038":["hashtag1","hashtag2"]},{"1338671017":["hashtag1","hashtag2"]},{"1338671034":["hashtag1","hashtag2"]},{"1338671028":["hashtag1","hashtag2"]},{"1338671022":["hashtag1","hashtag2"]},{"1338671031":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338671038, 1338671017, 1338671034, 1338671028, 1338671022, 1338671031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.596527099609375 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:34:32.186157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/38/image_20022025_13_38_55_10337.jpg', '/home/pi/Desktop/images/20022025/13/38/image_20022025_13_39_04_9330.jpg', '/home/pi/Desktop/images/20022025/13/39/image_20022025_13_39_15_10333.jpg', '/home/pi/Desktop/images/20022025/13/39/image_20022025_13_39_25_10397.jpg', '/home/pi/Desktop/images/20022025/13/39/image_20022025_13_39_34_9402.jpg', '/home/pi/Desktop/images/20022025/13/39/image_20022025_13_39_45_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/38/image_20022025_13_38_55_10337.jpg
/home/pi/Desktop/images/20022025/13/38/image_20022025_13_39_04_9330.jpg
/home/pi/Desktop/images/20022025/13/39/image_20022025_13_39_15_10333.jpg
/home/pi/Desktop/images/20022025/13/39/image_20022025_13_39_25_10397.jpg
/home/pi/Desktop/images/20022025/13/39/image_20022025_13_39_34_9402.jpg
/home/pi/Desktop/images/20022025/13/39/image_20022025_13_39_45_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338671091","1338671064","1338671103","1338671081","1338671086","1338671062"],"photo_ids_order":["1338671062","1338671064","1338671081","1338671086","1338671091","1338671103"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bd4be5e3876942fa5dcacf9e1733204.jpg","text":"TemporaryFile(/tmp/multipartBody1063532032577300014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083732739,"filename":"image_20022025_13_39_34_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e7f5fd0a4280e7ce25e17add8ff8c206.jpg","text":"TemporaryFile(/tmp/multipartBody1134216660924243112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083732739,"filename":"image_20022025_13_39_04_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7d8d624dea034320414c25bdfb3f283a.jpg","text":"TemporaryFile(/tmp/multipartBody8549213074216149242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083732739,"filename":"image_20022025_13_39_45_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29a0e0d1ea52a5d4b15238208edf6c9d.jpg","text":"TemporaryFile(/tmp/multipartBody3518382944452922873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083732739,"filename":"image_20022025_13_39_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3cd29f4ea49560fd7554b57eed78c20.jpg","text":"TemporaryFile(/tmp/multipartBody7406107895287038925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083732739,"filename":"image_20022025_13_39_25_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c6e06349c54d5dd643ba38bee94d1667.jpg","text":"TemporaryFile(/tmp/multipartBody1916436802151659326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083732739,"filename":"image_20022025_13_38_55_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338671081","file1":"1338671064","file0":"1338671062","file4":"1338671091","file5":"1338671103","file3":"1338671086"},"map_files_photo_id_array":[{"photo_id":"1338671103","filename":"file5"},{"photo_id":"1338671081","filename":"file2"},{"photo_id":"1338671091","filename":"file4"},{"photo_id":"1338671064","filename":"file1"},{"photo_id":"1338671062","filename":"file0"},{"photo_id":"1338671086","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338671091":["hashtag1","hashtag2"]},{"1338671064":["hashtag1","hashtag2"]},{"1338671103":["hashtag1","hashtag2"]},{"1338671081":["hashtag1","hashtag2"]},{"1338671086":["hashtag1","hashtag2"]},{"1338671062":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338671091, 1338671064, 1338671103, 1338671081, 1338671086, 1338671062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.783467292785645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:35:32.346475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/39/image_20022025_13_40_05_9495.jpg', '/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_15_10398.jpg', '/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_24_9346.jpg', '/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_35_10433.jpg', '/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_45_10321.jpg', '/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_55_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/39/image_20022025_13_40_05_9495.jpg
/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_15_10398.jpg
/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_24_9346.jpg
/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_35_10433.jpg
/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_45_10321.jpg
/home/pi/Desktop/images/20022025/13/40/image_20022025_13_40_55_9500.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338671236","1338671244","1338671187","1338671217","1338671183","1338671185"],"photo_ids_order":["1338671183","1338671185","1338671187","1338671217","1338671236","1338671244"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2c268ff86b26ebe0c90c0363a949280.jpg","text":"TemporaryFile(/tmp/multipartBody6004801341892591428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083792895,"filename":"image_20022025_13_40_45_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/112dad7aaafc7e2171bd8a74081de7d2.jpg","text":"TemporaryFile(/tmp/multipartBody4908783568469561633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083792895,"filename":"image_20022025_13_40_55_9500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0080c4c092cb3bc034db53b3d579365.jpg","text":"TemporaryFile(/tmp/multipartBody2601000620724113805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083792895,"filename":"image_20022025_13_40_24_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e1ac8497c1c98ca6efce554631f30334.jpg","text":"TemporaryFile(/tmp/multipartBody3659837278249373475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083792895,"filename":"image_20022025_13_40_35_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d7d6d61c619e18aedf927d5d3ac928e5.jpg","text":"TemporaryFile(/tmp/multipartBody364851119575350660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083792895,"filename":"image_20022025_13_40_05_9495.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e33ca245d28265228215f2e75a1234f5.jpg","text":"TemporaryFile(/tmp/multipartBody33169244628043474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083792895,"filename":"image_20022025_13_40_15_10398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338671187","file1":"1338671185","file0":"1338671183","file4":"1338671236","file5":"1338671244","file3":"1338671217"},"map_files_photo_id_array":[{"photo_id":"1338671244","filename":"file5"},{"photo_id":"1338671187","filename":"file2"},{"photo_id":"1338671236","filename":"file4"},{"photo_id":"1338671185","filename":"file1"},{"photo_id":"1338671183","filename":"file0"},{"photo_id":"1338671217","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338671236":["hashtag1","hashtag2"]},{"1338671244":["hashtag1","hashtag2"]},{"1338671187":["hashtag1","hashtag2"]},{"1338671217":["hashtag1","hashtag2"]},{"1338671183":["hashtag1","hashtag2"]},{"1338671185":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338671236, 1338671244, 1338671187, 1338671217, 1338671183, 1338671185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.660391092300415 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:36:32.606805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/40/image_20022025_13_41_05_10353.jpg', '/home/pi/Desktop/images/20022025/13/41/image_20022025_13_41_14_9328.jpg', '/home/pi/Desktop/images/20022025/13/41/image_20022025_13_41_25_10432.jpg', '/home/pi/Desktop/images/20022025/13/41/image_20022025_13_41_35_10359.jpg', '/home/pi/Desktop/images/20022025/13/41/image_20022025_13_41_55_10359.jpg', '/home/pi/Desktop/images/20022025/13/41/image_20022025_13_42_04_9328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/40/image_20022025_13_41_05_10353.jpg
/home/pi/Desktop/images/20022025/13/41/image_20022025_13_41_14_9328.jpg
/home/pi/Desktop/images/20022025/13/41/image_20022025_13_41_25_10432.jpg
/home/pi/Desktop/images/20022025/13/41/image_20022025_13_41_35_10359.jpg
/home/pi/Desktop/images/20022025/13/41/image_20022025_13_41_55_10359.jpg
/home/pi/Desktop/images/20022025/13/41/image_20022025_13_42_04_9328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338671506","1338671570","1338671502","1338671510","1338671572","1338671566"],"photo_ids_order":["1338671502","1338671506","1338671510","1338671566","1338671570","1338671572"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6eb034316016ba26e0cba746947881d6.jpg","text":"TemporaryFile(/tmp/multipartBody5547656562485881696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083853188,"filename":"image_20022025_13_41_14_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f77b6093149e76d73ea2eb07c271e83.jpg","text":"TemporaryFile(/tmp/multipartBody8403558642044218529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083853188,"filename":"image_20022025_13_41_55_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2ed3488770034e9114ffe38a0ac43474.jpg","text":"TemporaryFile(/tmp/multipartBody1587071644409042200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083853188,"filename":"image_20022025_13_41_05_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/206d3fc61abc11db0b26642dfb9a743c.jpg","text":"TemporaryFile(/tmp/multipartBody989456746709832418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083853188,"filename":"image_20022025_13_41_25_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc39a771c252dfc8510a8eb7d6cd216c.jpg","text":"TemporaryFile(/tmp/multipartBody3486399543339485127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083853188,"filename":"image_20022025_13_42_04_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f27d24120b28ed5db5e702ce88d79ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6992105555230851868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083853188,"filename":"image_20022025_13_41_35_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338671510","file1":"1338671506","file0":"1338671502","file4":"1338671570","file5":"1338671572","file3":"1338671566"},"map_files_photo_id_array":[{"photo_id":"1338671572","filename":"file5"},{"photo_id":"1338671510","filename":"file2"},{"photo_id":"1338671570","filename":"file4"},{"photo_id":"1338671506","filename":"file1"},{"photo_id":"1338671502","filename":"file0"},{"photo_id":"1338671566","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338671506":["hashtag1","hashtag2"]},{"1338671570":["hashtag1","hashtag2"]},{"1338671502":["hashtag1","hashtag2"]},{"1338671510":["hashtag1","hashtag2"]},{"1338671572":["hashtag1","hashtag2"]},{"1338671566":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338671506, 1338671570, 1338671502, 1338671510, 1338671572, 1338671566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.84497380256653 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:37:32.854726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/42/image_20022025_13_42_25_10336.jpg', '/home/pi/Desktop/images/20022025/13/42/image_20022025_13_42_34_9432.jpg', '/home/pi/Desktop/images/20022025/13/42/image_20022025_13_42_55_10322.jpg', '/home/pi/Desktop/images/20022025/13/42/image_20022025_13_43_04_9343.jpg', '/home/pi/Desktop/images/20022025/13/43/image_20022025_13_43_25_10339.jpg', '/home/pi/Desktop/images/20022025/13/43/image_20022025_13_43_34_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/42/image_20022025_13_42_25_10336.jpg
/home/pi/Desktop/images/20022025/13/42/image_20022025_13_42_34_9432.jpg
/home/pi/Desktop/images/20022025/13/42/image_20022025_13_42_55_10322.jpg
/home/pi/Desktop/images/20022025/13/42/image_20022025_13_43_04_9343.jpg
/home/pi/Desktop/images/20022025/13/43/image_20022025_13_43_25_10339.jpg
/home/pi/Desktop/images/20022025/13/43/image_20022025_13_43_34_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338671640","1338671643","1338671645","1338671630","1338671633","1338671636"],"photo_ids_order":["1338671630","1338671633","1338671636","1338671640","1338671643","1338671645"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e371e4f5b70421ccd2839cbe478ec29d.jpg","text":"TemporaryFile(/tmp/multipartBody387967761833629285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083913411,"filename":"image_20022025_13_43_04_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fb53cf2b336c5abc484ad7ab8f96c965.jpg","text":"TemporaryFile(/tmp/multipartBody5779239464866815777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083913411,"filename":"image_20022025_13_43_25_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/54885602397744a468ea6ff8c6f51295.jpg","text":"TemporaryFile(/tmp/multipartBody1869148279167335108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083913411,"filename":"image_20022025_13_43_34_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5980e32dadf630c487e9216c2fb6b4a9.jpg","text":"TemporaryFile(/tmp/multipartBody431101659107477264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083913411,"filename":"image_20022025_13_42_25_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5cd7158e4af965203337f3939cb1d94d.jpg","text":"TemporaryFile(/tmp/multipartBody6182007880192354599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083913411,"filename":"image_20022025_13_42_34_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91e52f2b014927fa040600528587418c.jpg","text":"TemporaryFile(/tmp/multipartBody7895806831780801224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083913411,"filename":"image_20022025_13_42_55_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338671636","file1":"1338671633","file0":"1338671630","file4":"1338671643","file5":"1338671645","file3":"1338671640"},"map_files_photo_id_array":[{"photo_id":"1338671645","filename":"file5"},{"photo_id":"1338671636","filename":"file2"},{"photo_id":"1338671643","filename":"file4"},{"photo_id":"1338671633","filename":"file1"},{"photo_id":"1338671630","filename":"file0"},{"photo_id":"1338671640","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338671640":["hashtag1","hashtag2"]},{"1338671643":["hashtag1","hashtag2"]},{"1338671645":["hashtag1","hashtag2"]},{"1338671630":["hashtag1","hashtag2"]},{"1338671633":["hashtag1","hashtag2"]},{"1338671636":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338671640, 1338671643, 1338671645, 1338671630, 1338671633, 1338671636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.121827840805054 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:38:33.085381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/43/image_20022025_13_43_45_10352.jpg', '/home/pi/Desktop/images/20022025/13/43/image_20022025_13_43_55_10352.jpg', '/home/pi/Desktop/images/20022025/13/44/image_20022025_13_44_15_10339.jpg', '/home/pi/Desktop/images/20022025/13/44/image_20022025_13_44_24_9322.jpg', '/home/pi/Desktop/images/20022025/13/44/image_20022025_13_44_35_10394.jpg', '/home/pi/Desktop/images/20022025/13/44/image_20022025_13_44_54_9357.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/43/image_20022025_13_43_45_10352.jpg
/home/pi/Desktop/images/20022025/13/43/image_20022025_13_43_55_10352.jpg
/home/pi/Desktop/images/20022025/13/44/image_20022025_13_44_15_10339.jpg
/home/pi/Desktop/images/20022025/13/44/image_20022025_13_44_24_9322.jpg
/home/pi/Desktop/images/20022025/13/44/image_20022025_13_44_35_10394.jpg
/home/pi/Desktop/images/20022025/13/44/image_20022025_13_44_54_9357.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338671673","1338671681","1338671684","1338671686","1338671677","1338671671"],"photo_ids_order":["1338671671","1338671673","1338671677","1338671681","1338671684","1338671686"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/763b2c8db0d5f4d1c4d1a5c5c7901366.jpg","text":"TemporaryFile(/tmp/multipartBody823028723408531087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083973639,"filename":"image_20022025_13_43_55_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91fefd4e3af884203c6d06d20549e740.jpg","text":"TemporaryFile(/tmp/multipartBody7865310799529812906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083973639,"filename":"image_20022025_13_44_24_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/297cab223810e8d089dcbd4e6adfee77.jpg","text":"TemporaryFile(/tmp/multipartBody5347803081426224528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083973639,"filename":"image_20022025_13_44_35_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/91986236183f1435b85d361096e29199.jpg","text":"TemporaryFile(/tmp/multipartBody8811384867959974374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083973639,"filename":"image_20022025_13_44_54_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb2b89d6d02f94b561754c9d2d709028.jpg","text":"TemporaryFile(/tmp/multipartBody8165992826950867331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083973639,"filename":"image_20022025_13_44_15_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d93bf04bf02b0820441ab9117e325ca3.jpg","text":"TemporaryFile(/tmp/multipartBody1922915683135833053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740083973639,"filename":"image_20022025_13_43_45_10352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338671677","file1":"1338671673","file0":"1338671671","file4":"1338671684","file5":"1338671686","file3":"1338671681"},"map_files_photo_id_array":[{"photo_id":"1338671686","filename":"file5"},{"photo_id":"1338671677","filename":"file2"},{"photo_id":"1338671684","filename":"file4"},{"photo_id":"1338671673","filename":"file1"},{"photo_id":"1338671671","filename":"file0"},{"photo_id":"1338671681","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338671673":["hashtag1","hashtag2"]},{"1338671681":["hashtag1","hashtag2"]},{"1338671684":["hashtag1","hashtag2"]},{"1338671686":["hashtag1","hashtag2"]},{"1338671677":["hashtag1","hashtag2"]},{"1338671671":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338671673, 1338671681, 1338671684, 1338671686, 1338671677, 1338671671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5104558467865 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:39:32.186370
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/44/image_20022025_13_45_05_10355.jpg', '/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_15_10342.jpg', '/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_24_9331.jpg', '/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_35_10414.jpg', '/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_45_10358.jpg', '/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_54_9313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/44/image_20022025_13_45_05_10355.jpg
/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_15_10342.jpg
/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_24_9331.jpg
/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_35_10414.jpg
/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_45_10358.jpg
/home/pi/Desktop/images/20022025/13/45/image_20022025_13_45_54_9313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338671709","1338671712","1338671720","1338671714","1338671723","1338671717"],"photo_ids_order":["1338671709","1338671712","1338671714","1338671717","1338671720","1338671723"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e89efe25129e23c480c24f8fe3088ea0.jpg","text":"TemporaryFile(/tmp/multipartBody2627376794507226752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084032784,"filename":"image_20022025_13_45_05_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/475c2f6a538245075c553ba71ad512dd.jpg","text":"TemporaryFile(/tmp/multipartBody1991281851723391540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084032784,"filename":"image_20022025_13_45_15_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d181241bfc086f0ada6a6460c6efdee5.jpg","text":"TemporaryFile(/tmp/multipartBody8956904996795203694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084032784,"filename":"image_20022025_13_45_45_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f4d9a1496ae3a4e77f6685ea70d6a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7284112444032178048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084032784,"filename":"image_20022025_13_45_24_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c29ca48062ff3be4602583e9911146bb.jpg","text":"TemporaryFile(/tmp/multipartBody8505342540601357752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084032784,"filename":"image_20022025_13_45_54_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5a1e98356a14248716dcd366ff6759b0.jpg","text":"TemporaryFile(/tmp/multipartBody8183594458827909624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084032784,"filename":"image_20022025_13_45_35_10414.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338671714","file1":"1338671712","file0":"1338671709","file4":"1338671720","file5":"1338671723","file3":"1338671717"},"map_files_photo_id_array":[{"photo_id":"1338671723","filename":"file5"},{"photo_id":"1338671714","filename":"file2"},{"photo_id":"1338671720","filename":"file4"},{"photo_id":"1338671712","filename":"file1"},{"photo_id":"1338671709","filename":"file0"},{"photo_id":"1338671717","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338671709":["hashtag1","hashtag2"]},{"1338671712":["hashtag1","hashtag2"]},{"1338671720":["hashtag1","hashtag2"]},{"1338671714":["hashtag1","hashtag2"]},{"1338671723":["hashtag1","hashtag2"]},{"1338671717":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338671709, 1338671712, 1338671720, 1338671714, 1338671723, 1338671717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72677779197693 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:40:32.265854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/45/image_20022025_13_46_05_10412.jpg', '/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_15_10336.jpg', '/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_25_9437.jpg', '/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_35_10336.jpg', '/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_44_9382.jpg', '/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_55_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/45/image_20022025_13_46_05_10412.jpg
/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_15_10336.jpg
/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_25_9437.jpg
/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_35_10336.jpg
/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_44_9382.jpg
/home/pi/Desktop/images/20022025/13/46/image_20022025_13_46_55_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338672126","1338672650","1338672704","1338672701","1338672311","1338672475"],"photo_ids_order":["1338672126","1338672311","1338672475","1338672650","1338672701","1338672704"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd29a63851046149cf037a3f44649349.jpg","text":"TemporaryFile(/tmp/multipartBody6126826316676802633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084092834,"filename":"image_20022025_13_46_05_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5937e80786478d5ace12ad8231d099f7.jpg","text":"TemporaryFile(/tmp/multipartBody510409625854554618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084092834,"filename":"image_20022025_13_46_35_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/669e8507b823e0ec088cb223d4552398.jpg","text":"TemporaryFile(/tmp/multipartBody839513508768191264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084092834,"filename":"image_20022025_13_46_55_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5f4c730a6a5ea8b2d7c25d02ac33625d.jpg","text":"TemporaryFile(/tmp/multipartBody4307864953360288307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084092834,"filename":"image_20022025_13_46_44_9382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4fb70f4b6290df70f7bb71914f447a77.jpg","text":"TemporaryFile(/tmp/multipartBody2208896678483369802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084092834,"filename":"image_20022025_13_46_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41bf7dd49fa1285fc21a76ac39d3e4c5.jpg","text":"TemporaryFile(/tmp/multipartBody8045325701292169036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084092834,"filename":"image_20022025_13_46_25_9437.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338672475","file1":"1338672311","file0":"1338672126","file4":"1338672701","file5":"1338672704","file3":"1338672650"},"map_files_photo_id_array":[{"photo_id":"1338672704","filename":"file5"},{"photo_id":"1338672475","filename":"file2"},{"photo_id":"1338672701","filename":"file4"},{"photo_id":"1338672311","filename":"file1"},{"photo_id":"1338672126","filename":"file0"},{"photo_id":"1338672650","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338672126":["hashtag1","hashtag2"]},{"1338672650":["hashtag1","hashtag2"]},{"1338672704":["hashtag1","hashtag2"]},{"1338672701":["hashtag1","hashtag2"]},{"1338672311":["hashtag1","hashtag2"]},{"1338672475":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338672126, 1338672650, 1338672704, 1338672701, 1338672311, 1338672475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25898194313049 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:41:32.586511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/46/image_20022025_13_47_05_10324.jpg', '/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_14_9384.jpg', '/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_25_10410.jpg', '/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_35_10338.jpg', '/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_44_9420.jpg', '/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_55_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/46/image_20022025_13_47_05_10324.jpg
/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_14_9384.jpg
/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_25_10410.jpg
/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_35_10338.jpg
/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_44_9420.jpg
/home/pi/Desktop/images/20022025/13/47/image_20022025_13_47_55_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338672753","1338672751","1338672745","1338672733","1338672736","1338672739"],"photo_ids_order":["1338672733","1338672736","1338672739","1338672745","1338672751","1338672753"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/44867777e633edb5317a0a806ff7324c.jpg","text":"TemporaryFile(/tmp/multipartBody2531051134074034712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084153155,"filename":"image_20022025_13_47_55_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8cc0237af658042a1921ad652bff09a.jpg","text":"TemporaryFile(/tmp/multipartBody1336073583277987667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084153155,"filename":"image_20022025_13_47_44_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa41c42cfbdf50c5d00a747a68485591.jpg","text":"TemporaryFile(/tmp/multipartBody1260966771103323345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084153155,"filename":"image_20022025_13_47_35_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56438c46e41b58bba8b0768414f712a6.jpg","text":"TemporaryFile(/tmp/multipartBody8352804865805707041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084153155,"filename":"image_20022025_13_47_05_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/191c96e495a7bcc2f08c3fb6c0230fea.jpg","text":"TemporaryFile(/tmp/multipartBody1207600538905218073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084153155,"filename":"image_20022025_13_47_14_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f03a5d8a7076eddd90b7c9d365ab742.jpg","text":"TemporaryFile(/tmp/multipartBody5165074794913543309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084153155,"filename":"image_20022025_13_47_25_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338672739","file1":"1338672736","file0":"1338672733","file4":"1338672751","file5":"1338672753","file3":"1338672745"},"map_files_photo_id_array":[{"photo_id":"1338672753","filename":"file5"},{"photo_id":"1338672739","filename":"file2"},{"photo_id":"1338672751","filename":"file4"},{"photo_id":"1338672736","filename":"file1"},{"photo_id":"1338672733","filename":"file0"},{"photo_id":"1338672745","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338672753":["hashtag1","hashtag2"]},{"1338672751":["hashtag1","hashtag2"]},{"1338672745":["hashtag1","hashtag2"]},{"1338672733":["hashtag1","hashtag2"]},{"1338672736":["hashtag1","hashtag2"]},{"1338672739":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338672753, 1338672751, 1338672745, 1338672733, 1338672736, 1338672739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26367211341858 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:42:32.779030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/47/image_20022025_13_48_04_9337.jpg', '/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_15_10335.jpg', '/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_25_10338.jpg', '/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_34_9336.jpg', '/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_45_10338.jpg', '/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_55_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/47/image_20022025_13_48_04_9337.jpg
/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_15_10335.jpg
/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_25_10338.jpg
/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_34_9336.jpg
/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_45_10338.jpg
/home/pi/Desktop/images/20022025/13/48/image_20022025_13_48_55_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338673192","1338673186","1338673189","1338673177","1338672964","1338673135"],"photo_ids_order":["1338672964","1338673135","1338673177","1338673186","1338673189","1338673192"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b17165d0053f24335834f35b59211e99.jpg","text":"TemporaryFile(/tmp/multipartBody7405287063740571109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084213352,"filename":"image_20022025_13_48_55_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e79816765cd408df7df8152a17a14e7.jpg","text":"TemporaryFile(/tmp/multipartBody4272077745037101272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084213352,"filename":"image_20022025_13_48_34_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb8ea52119c7c6ae3faaf5f3905cb4ba.jpg","text":"TemporaryFile(/tmp/multipartBody3017089684023598723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084213352,"filename":"image_20022025_13_48_45_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d30325f752b1f0f3c03c460e1a17b4d5.jpg","text":"TemporaryFile(/tmp/multipartBody4248260424798730529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084213352,"filename":"image_20022025_13_48_25_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9631ac8312564653d062aa562ba67e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6146691624236678300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084213352,"filename":"image_20022025_13_48_04_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bf0b469cfaeee3132d6fbef496993463.jpg","text":"TemporaryFile(/tmp/multipartBody8396497058515622760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084213352,"filename":"image_20022025_13_48_15_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338673177","file1":"1338673135","file0":"1338672964","file4":"1338673189","file5":"1338673192","file3":"1338673186"},"map_files_photo_id_array":[{"photo_id":"1338673192","filename":"file5"},{"photo_id":"1338673177","filename":"file2"},{"photo_id":"1338673189","filename":"file4"},{"photo_id":"1338673135","filename":"file1"},{"photo_id":"1338672964","filename":"file0"},{"photo_id":"1338673186","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338673192":["hashtag1","hashtag2"]},{"1338673186":["hashtag1","hashtag2"]},{"1338673189":["hashtag1","hashtag2"]},{"1338673177":["hashtag1","hashtag2"]},{"1338672964":["hashtag1","hashtag2"]},{"1338673135":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338673192, 1338673186, 1338673189, 1338673177, 1338672964, 1338673135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.833067655563354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:43:32.951241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/48/image_20022025_13_49_04_9386.jpg', '/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_15_10401.jpg', '/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_25_10343.jpg', '/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_34_9320.jpg', '/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_45_10336.jpg', '/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_55_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/48/image_20022025_13_49_04_9386.jpg
/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_15_10401.jpg
/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_25_10343.jpg
/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_34_9320.jpg
/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_45_10336.jpg
/home/pi/Desktop/images/20022025/13/49/image_20022025_13_49_55_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338673329","1338673338","1338673323","1338673333","1338673336","1338673326"],"photo_ids_order":["1338673323","1338673326","1338673329","1338673333","1338673336","1338673338"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3444c7a4f2094bf9f3c8f110320ca16d.jpg","text":"TemporaryFile(/tmp/multipartBody6293978757618370076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084273505,"filename":"image_20022025_13_49_25_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f6216de54ce75205faea6be0765579d.jpg","text":"TemporaryFile(/tmp/multipartBody1972701760432386760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084273505,"filename":"image_20022025_13_49_55_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a424d350eca52a344731c50af5b44233.jpg","text":"TemporaryFile(/tmp/multipartBody6171919526378853161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084273505,"filename":"image_20022025_13_49_04_9386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5a249f0f87c3199c9dd3d587d7a647c0.jpg","text":"TemporaryFile(/tmp/multipartBody8839089533648780724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084273505,"filename":"image_20022025_13_49_34_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e71fa89f1199c71cf43a16b2aa80767d.jpg","text":"TemporaryFile(/tmp/multipartBody6602611858791813283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084273505,"filename":"image_20022025_13_49_45_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36cca4398f418ec91b36f01c7e3f94b9.jpg","text":"TemporaryFile(/tmp/multipartBody5308401417237323568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084273505,"filename":"image_20022025_13_49_15_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338673329","file1":"1338673326","file0":"1338673323","file4":"1338673336","file5":"1338673338","file3":"1338673333"},"map_files_photo_id_array":[{"photo_id":"1338673338","filename":"file5"},{"photo_id":"1338673329","filename":"file2"},{"photo_id":"1338673336","filename":"file4"},{"photo_id":"1338673326","filename":"file1"},{"photo_id":"1338673323","filename":"file0"},{"photo_id":"1338673333","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338673329":["hashtag1","hashtag2"]},{"1338673338":["hashtag1","hashtag2"]},{"1338673323":["hashtag1","hashtag2"]},{"1338673333":["hashtag1","hashtag2"]},{"1338673336":["hashtag1","hashtag2"]},{"1338673326":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338673329, 1338673338, 1338673323, 1338673333, 1338673336, 1338673326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27099108695984 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:44:33.075700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/49/image_20022025_13_50_04_9422.jpg', '/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_15_10319.jpg', '/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_25_10335.jpg', '/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_35_9454.jpg', '/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_44_9664.jpg', '/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_55_10441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/49/image_20022025_13_50_04_9422.jpg
/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_15_10319.jpg
/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_25_10335.jpg
/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_35_9454.jpg
/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_44_9664.jpg
/home/pi/Desktop/images/20022025/13/50/image_20022025_13_50_55_10441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338673661","1338673655","1338673535","1338673671","1338673668","1338673665"],"photo_ids_order":["1338673535","1338673655","1338673661","1338673665","1338673668","1338673671"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/646d54aa5d56c41bef225b924e037988.jpg","text":"TemporaryFile(/tmp/multipartBody1808794172312518496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084333633,"filename":"image_20022025_13_50_25_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c1b32fbb61cbb77a3a4afc7b6875a6a6.jpg","text":"TemporaryFile(/tmp/multipartBody7082837337671256089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084333633,"filename":"image_20022025_13_50_15_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a919766dcbd23b243377de6f45ef84fb.jpg","text":"TemporaryFile(/tmp/multipartBody1614944244837558788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084333633,"filename":"image_20022025_13_50_04_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f585afb3d6dd9c873a816625499235f.jpg","text":"TemporaryFile(/tmp/multipartBody6902663184003699392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084333633,"filename":"image_20022025_13_50_55_10441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/816d6d97d7ea76f53f481152bac160ff.jpg","text":"TemporaryFile(/tmp/multipartBody3549625964412283024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084333633,"filename":"image_20022025_13_50_44_9664.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8793b8355d55b69474e2835a612bdbf8.jpg","text":"TemporaryFile(/tmp/multipartBody8536925514293864801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084333633,"filename":"image_20022025_13_50_35_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338673661","file1":"1338673655","file0":"1338673535","file4":"1338673668","file5":"1338673671","file3":"1338673665"},"map_files_photo_id_array":[{"photo_id":"1338673671","filename":"file5"},{"photo_id":"1338673661","filename":"file2"},{"photo_id":"1338673668","filename":"file4"},{"photo_id":"1338673655","filename":"file1"},{"photo_id":"1338673535","filename":"file0"},{"photo_id":"1338673665","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338673661":["hashtag1","hashtag2"]},{"1338673655":["hashtag1","hashtag2"]},{"1338673535":["hashtag1","hashtag2"]},{"1338673671":["hashtag1","hashtag2"]},{"1338673668":["hashtag1","hashtag2"]},{"1338673665":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338673661, 1338673655, 1338673535, 1338673671, 1338673668, 1338673665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.545201539993286 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:45:32.243227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/50/image_20022025_13_51_05_10374.jpg', '/home/pi/Desktop/images/20022025/13/51/image_20022025_13_51_14_9399.jpg', '/home/pi/Desktop/images/20022025/13/51/image_20022025_13_51_34_9332.jpg', '/home/pi/Desktop/images/20022025/13/51/image_20022025_13_51_45_10438.jpg', '/home/pi/Desktop/images/20022025/13/51/image_20022025_13_51_55_10326.jpg', '/home/pi/Desktop/images/20022025/13/51/image_20022025_13_52_04_9479.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/50/image_20022025_13_51_05_10374.jpg
/home/pi/Desktop/images/20022025/13/51/image_20022025_13_51_14_9399.jpg
/home/pi/Desktop/images/20022025/13/51/image_20022025_13_51_34_9332.jpg
/home/pi/Desktop/images/20022025/13/51/image_20022025_13_51_45_10438.jpg
/home/pi/Desktop/images/20022025/13/51/image_20022025_13_51_55_10326.jpg
/home/pi/Desktop/images/20022025/13/51/image_20022025_13_52_04_9479.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338673691","1338673685","1338673681","1338673698","1338673695","1338673689"],"photo_ids_order":["1338673681","1338673685","1338673689","1338673691","1338673695","1338673698"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/77d36fb0059be346bd3d359f12b63241.jpg","text":"TemporaryFile(/tmp/multipartBody2676111548122101636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084392824,"filename":"image_20022025_13_51_45_10438.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2f72dce803682fd9b61127cbf57670be.jpg","text":"TemporaryFile(/tmp/multipartBody5991244356656159689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084392824,"filename":"image_20022025_13_51_14_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13081b3f3c9ffba81748a0be1dde188d.jpg","text":"TemporaryFile(/tmp/multipartBody4578037536646080512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084392824,"filename":"image_20022025_13_51_05_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f48faf222be600e79a9ed4a11df2fab4.jpg","text":"TemporaryFile(/tmp/multipartBody8907299203756965302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084392824,"filename":"image_20022025_13_52_04_9479.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/77a5a117ac412e7f1487b6ffd7412d1e.jpg","text":"TemporaryFile(/tmp/multipartBody2575520882235838013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084392824,"filename":"image_20022025_13_51_55_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/73649aad625c48d7d9356e9bab3a1e9c.jpg","text":"TemporaryFile(/tmp/multipartBody4778270615029161096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084392824,"filename":"image_20022025_13_51_34_9332.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338673689","file1":"1338673685","file0":"1338673681","file4":"1338673695","file5":"1338673698","file3":"1338673691"},"map_files_photo_id_array":[{"photo_id":"1338673698","filename":"file5"},{"photo_id":"1338673689","filename":"file2"},{"photo_id":"1338673695","filename":"file4"},{"photo_id":"1338673685","filename":"file1"},{"photo_id":"1338673681","filename":"file0"},{"photo_id":"1338673691","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338673691":["hashtag1","hashtag2"]},{"1338673685":["hashtag1","hashtag2"]},{"1338673681":["hashtag1","hashtag2"]},{"1338673698":["hashtag1","hashtag2"]},{"1338673695":["hashtag1","hashtag2"]},{"1338673689":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338673691, 1338673685, 1338673681, 1338673698, 1338673695, 1338673689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74404454231262 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:46:32.500935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_15_10336.jpg', '/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_24_9421.jpg', '/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_35_10452.jpg', '/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_45_10344.jpg', '/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_54_9346.jpg', '/home/pi/Desktop/images/20022025/13/52/image_20022025_13_53_05_10347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_15_10336.jpg
/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_24_9421.jpg
/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_35_10452.jpg
/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_45_10344.jpg
/home/pi/Desktop/images/20022025/13/52/image_20022025_13_52_54_9346.jpg
/home/pi/Desktop/images/20022025/13/52/image_20022025_13_53_05_10347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338673728","1338673745","1338673748","1338673742","1338673736","1338673750"],"photo_ids_order":["1338673728","1338673736","1338673742","1338673745","1338673748","1338673750"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6be1d998de8075e7b2fbeb82384c4022.jpg","text":"TemporaryFile(/tmp/multipartBody3873100951283778049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084453085,"filename":"image_20022025_13_52_15_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7312160de0ebdb7e23f03dc43f650628.jpg","text":"TemporaryFile(/tmp/multipartBody268912683730816740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084453085,"filename":"image_20022025_13_52_45_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1fa26fa9c2ed5fca5f6d0d759d26fcd0.jpg","text":"TemporaryFile(/tmp/multipartBody2692590862089680526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084453085,"filename":"image_20022025_13_52_54_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59ef2cf2e96880e49a0a983e0c435193.jpg","text":"TemporaryFile(/tmp/multipartBody5017314223574804238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084453085,"filename":"image_20022025_13_52_35_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8deea5b5478b34f7d94beaa229b72266.jpg","text":"TemporaryFile(/tmp/multipartBody1707538180751495748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084453085,"filename":"image_20022025_13_52_24_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8cd5826c8fef41ead76777c850f00849.jpg","text":"TemporaryFile(/tmp/multipartBody660586441579048676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084453085,"filename":"image_20022025_13_53_05_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338673742","file1":"1338673736","file0":"1338673728","file4":"1338673748","file5":"1338673750","file3":"1338673745"},"map_files_photo_id_array":[{"photo_id":"1338673750","filename":"file5"},{"photo_id":"1338673742","filename":"file2"},{"photo_id":"1338673748","filename":"file4"},{"photo_id":"1338673736","filename":"file1"},{"photo_id":"1338673728","filename":"file0"},{"photo_id":"1338673745","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338673728":["hashtag1","hashtag2"]},{"1338673745":["hashtag1","hashtag2"]},{"1338673748":["hashtag1","hashtag2"]},{"1338673742":["hashtag1","hashtag2"]},{"1338673736":["hashtag1","hashtag2"]},{"1338673750":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338673728, 1338673745, 1338673748, 1338673742, 1338673736, 1338673750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.437541484832764 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:47:32.694252
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/53/image_20022025_13_53_15_10326.jpg', '/home/pi/Desktop/images/20022025/13/53/image_20022025_13_53_24_9326.jpg', '/home/pi/Desktop/images/20022025/13/53/image_20022025_13_54_05_10408.jpg', '/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_14_9336.jpg', '/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_25_10360.jpg', '/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_35_10348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/53/image_20022025_13_53_15_10326.jpg
/home/pi/Desktop/images/20022025/13/53/image_20022025_13_53_24_9326.jpg
/home/pi/Desktop/images/20022025/13/53/image_20022025_13_54_05_10408.jpg
/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_14_9336.jpg
/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_25_10360.jpg
/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_35_10348.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338673806","1338673841","1338673808","1338673792","1338673789","1338673797"],"photo_ids_order":["1338673789","1338673792","1338673797","1338673806","1338673808","1338673841"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0261baf30486ae06b7fc5feb52e2ec5b.jpg","text":"TemporaryFile(/tmp/multipartBody7776909276798971228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084513252,"filename":"image_20022025_13_54_14_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b057dbc22a13fa449a5d9f2758e2f272.jpg","text":"TemporaryFile(/tmp/multipartBody5843369356800820374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084513252,"filename":"image_20022025_13_54_35_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5b1e7c9af39a2eea95db973c7fe58c0e.jpg","text":"TemporaryFile(/tmp/multipartBody4883569824815244694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084513252,"filename":"image_20022025_13_54_25_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30b8ddde0ab4a365d892e53378c160cb.jpg","text":"TemporaryFile(/tmp/multipartBody7842544513128560073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084513252,"filename":"image_20022025_13_53_24_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48e81dde1ebb2b29a6b3d7a536637a00.jpg","text":"TemporaryFile(/tmp/multipartBody1082762076153225164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084513252,"filename":"image_20022025_13_53_15_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/17a03ed9031209184847be09c8ff989b.jpg","text":"TemporaryFile(/tmp/multipartBody4209630290335348415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084513252,"filename":"image_20022025_13_54_05_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338673797","file1":"1338673792","file0":"1338673789","file4":"1338673808","file5":"1338673841","file3":"1338673806"},"map_files_photo_id_array":[{"photo_id":"1338673841","filename":"file5"},{"photo_id":"1338673797","filename":"file2"},{"photo_id":"1338673808","filename":"file4"},{"photo_id":"1338673792","filename":"file1"},{"photo_id":"1338673789","filename":"file0"},{"photo_id":"1338673806","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338673806":["hashtag1","hashtag2"]},{"1338673841":["hashtag1","hashtag2"]},{"1338673808":["hashtag1","hashtag2"]},{"1338673792":["hashtag1","hashtag2"]},{"1338673789":["hashtag1","hashtag2"]},{"1338673797":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338673806, 1338673841, 1338673808, 1338673792, 1338673789, 1338673797)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73973774909973 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:48:32.897770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_55_10341.jpg', '/home/pi/Desktop/images/20022025/13/54/image_20022025_13_55_05_10341.jpg', '/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_35_10341.jpg', '/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_45_9470.jpg', '/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_55_10342.jpg', '/home/pi/Desktop/images/20022025/13/55/image_20022025_13_56_04_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_55_10341.jpg
/home/pi/Desktop/images/20022025/13/54/image_20022025_13_55_05_10341.jpg
/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_35_10341.jpg
/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_45_9470.jpg
/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_55_10342.jpg
/home/pi/Desktop/images/20022025/13/55/image_20022025_13_56_04_9334.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4658474922180176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 21:48:42.842423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_55_10341.jpg', '/home/pi/Desktop/images/20022025/13/54/image_20022025_13_55_05_10341.jpg', '/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_35_10341.jpg', '/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_45_9470.jpg', '/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_55_10342.jpg', '/home/pi/Desktop/images/20022025/13/55/image_20022025_13_56_04_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/54/image_20022025_13_54_55_10341.jpg
/home/pi/Desktop/images/20022025/13/54/image_20022025_13_55_05_10341.jpg
/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_35_10341.jpg
/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_45_9470.jpg
/home/pi/Desktop/images/20022025/13/55/image_20022025_13_55_55_10342.jpg
/home/pi/Desktop/images/20022025/13/55/image_20022025_13_56_04_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338673905","1338673895","1338673889","1338673908","1338673897","1338673893"],"photo_ids_order":["1338673889","1338673893","1338673895","1338673897","1338673905","1338673908"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1cb951e12b8a2d0399f1e45608064a79.jpg","text":"TemporaryFile(/tmp/multipartBody9095264337152287827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084583347,"filename":"image_20022025_13_55_55_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe421926f0b7d3e5800bac3b5f320e99.jpg","text":"TemporaryFile(/tmp/multipartBody5028751944677062500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084583347,"filename":"image_20022025_13_55_35_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ac7fd1558079694fc9deb7b67af9577.jpg","text":"TemporaryFile(/tmp/multipartBody713693442367987308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084583347,"filename":"image_20022025_13_54_55_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fed846a7307bf59a5fa728189e2e8110.jpg","text":"TemporaryFile(/tmp/multipartBody4512498980824251010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084583347,"filename":"image_20022025_13_56_04_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/435b44b040a0a49df3f2bd88795543b1.jpg","text":"TemporaryFile(/tmp/multipartBody8482836946980620012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084583347,"filename":"image_20022025_13_55_45_9470.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7ba5687e9cccb8b6dfcac6c9201ca7c3.jpg","text":"TemporaryFile(/tmp/multipartBody321930235450731639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084583347,"filename":"image_20022025_13_55_05_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338673895","file1":"1338673893","file0":"1338673889","file4":"1338673905","file5":"1338673908","file3":"1338673897"},"map_files_photo_id_array":[{"photo_id":"1338673908","filename":"file5"},{"photo_id":"1338673895","filename":"file2"},{"photo_id":"1338673905","filename":"file4"},{"photo_id":"1338673893","filename":"file1"},{"photo_id":"1338673889","filename":"file0"},{"photo_id":"1338673897","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338673905":["hashtag1","hashtag2"]},{"1338673895":["hashtag1","hashtag2"]},{"1338673889":["hashtag1","hashtag2"]},{"1338673908":["hashtag1","hashtag2"]},{"1338673897":["hashtag1","hashtag2"]},{"1338673893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338673905, 1338673895, 1338673889, 1338673908, 1338673897, 1338673893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77557635307312 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:49:33.022999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/56/image_20022025_13_56_15_10425.jpg', '/home/pi/Desktop/images/20022025/13/56/image_20022025_13_56_25_10348.jpg', '/home/pi/Desktop/images/20022025/13/56/image_20022025_13_56_45_10489.jpg', '/home/pi/Desktop/images/20022025/13/56/image_20022025_13_56_54_9337.jpg', '/home/pi/Desktop/images/20022025/13/56/image_20022025_13_57_05_10389.jpg', '/home/pi/Desktop/images/20022025/13/57/image_20022025_13_57_15_10333.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/56/image_20022025_13_56_15_10425.jpg
/home/pi/Desktop/images/20022025/13/56/image_20022025_13_56_25_10348.jpg
/home/pi/Desktop/images/20022025/13/56/image_20022025_13_56_45_10489.jpg
/home/pi/Desktop/images/20022025/13/56/image_20022025_13_56_54_9337.jpg
/home/pi/Desktop/images/20022025/13/56/image_20022025_13_57_05_10389.jpg
/home/pi/Desktop/images/20022025/13/57/image_20022025_13_57_15_10333.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338674051","1338673985","1338674047","1338674064","1338674049","1338674028"],"photo_ids_order":["1338673985","1338674028","1338674047","1338674049","1338674051","1338674064"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ac7900e57c5ecfef6ce05187bdf76b1.jpg","text":"TemporaryFile(/tmp/multipartBody6292721413799160792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084633610,"filename":"image_20022025_13_57_05_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57680952e0213fd84cceb1e798d7a8ad.jpg","text":"TemporaryFile(/tmp/multipartBody8635707942344665920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084633610,"filename":"image_20022025_13_56_15_10425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/521b4051322be8fc7101beccb86f64c0.jpg","text":"TemporaryFile(/tmp/multipartBody3565844429734275170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084633610,"filename":"image_20022025_13_56_45_10489.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1b15a5c32c9096b225e69f3f7077fdca.jpg","text":"TemporaryFile(/tmp/multipartBody5160467394660576424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084633610,"filename":"image_20022025_13_57_15_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bf64480363d1e66c24234382be65f409.jpg","text":"TemporaryFile(/tmp/multipartBody4389553962459652768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084633610,"filename":"image_20022025_13_56_54_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/11b93d09ab5b62475cc9bb02c976599a.jpg","text":"TemporaryFile(/tmp/multipartBody356839218331175079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084633610,"filename":"image_20022025_13_56_25_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338674047","file1":"1338674028","file0":"1338673985","file4":"1338674051","file5":"1338674064","file3":"1338674049"},"map_files_photo_id_array":[{"photo_id":"1338674064","filename":"file5"},{"photo_id":"1338674047","filename":"file2"},{"photo_id":"1338674051","filename":"file4"},{"photo_id":"1338674028","filename":"file1"},{"photo_id":"1338673985","filename":"file0"},{"photo_id":"1338674049","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338674051":["hashtag1","hashtag2"]},{"1338673985":["hashtag1","hashtag2"]},{"1338674047":["hashtag1","hashtag2"]},{"1338674064":["hashtag1","hashtag2"]},{"1338674049":["hashtag1","hashtag2"]},{"1338674028":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338674051, 1338673985, 1338674047, 1338674064, 1338674049, 1338674028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.370420932769775 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:50:32.221746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/57/image_20022025_13_57_24_9323.jpg', '/home/pi/Desktop/images/20022025/13/57/image_20022025_13_57_35_10424.jpg', '/home/pi/Desktop/images/20022025/13/58/image_20022025_13_58_25_10394.jpg', '/home/pi/Desktop/images/20022025/13/58/image_20022025_13_58_35_10358.jpg', '/home/pi/Desktop/images/20022025/13/58/image_20022025_13_58_44_9325.jpg', '/home/pi/Desktop/images/20022025/13/58/image_20022025_13_58_55_10451.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/57/image_20022025_13_57_24_9323.jpg
/home/pi/Desktop/images/20022025/13/57/image_20022025_13_57_35_10424.jpg
/home/pi/Desktop/images/20022025/13/58/image_20022025_13_58_25_10394.jpg
/home/pi/Desktop/images/20022025/13/58/image_20022025_13_58_35_10358.jpg
/home/pi/Desktop/images/20022025/13/58/image_20022025_13_58_44_9325.jpg
/home/pi/Desktop/images/20022025/13/58/image_20022025_13_58_55_10451.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338674240","1338674258","1338674237","1338674251","1338674260","1338674256"],"photo_ids_order":["1338674237","1338674240","1338674251","1338674256","1338674258","1338674260"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ce7f61b31cb36d311b0f8bbbde8b4d3.jpg","text":"TemporaryFile(/tmp/multipartBody6778551099145894307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084692816,"filename":"image_20022025_13_57_35_10424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c4ddca2499657ce762d092cc700cd2a7.jpg","text":"TemporaryFile(/tmp/multipartBody7632487293253143301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084692816,"filename":"image_20022025_13_58_44_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/935006b8988a97d1aee55d0989d2b36a.jpg","text":"TemporaryFile(/tmp/multipartBody2089588613555522706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084692816,"filename":"image_20022025_13_57_24_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1e36a89ea763bd43551e2f4a97c7318.jpg","text":"TemporaryFile(/tmp/multipartBody5708329557184516997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084692816,"filename":"image_20022025_13_58_25_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4abe47da8746bf8efd4db18a38aa1859.jpg","text":"TemporaryFile(/tmp/multipartBody8306380355581621107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084692816,"filename":"image_20022025_13_58_55_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f13d291790bf324dc8c617db1799f294.jpg","text":"TemporaryFile(/tmp/multipartBody6549448572302708938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084692816,"filename":"image_20022025_13_58_35_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338674251","file1":"1338674240","file0":"1338674237","file4":"1338674258","file5":"1338674260","file3":"1338674256"},"map_files_photo_id_array":[{"photo_id":"1338674260","filename":"file5"},{"photo_id":"1338674251","filename":"file2"},{"photo_id":"1338674258","filename":"file4"},{"photo_id":"1338674240","filename":"file1"},{"photo_id":"1338674237","filename":"file0"},{"photo_id":"1338674256","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338674240":["hashtag1","hashtag2"]},{"1338674258":["hashtag1","hashtag2"]},{"1338674237":["hashtag1","hashtag2"]},{"1338674251":["hashtag1","hashtag2"]},{"1338674260":["hashtag1","hashtag2"]},{"1338674256":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338674240, 1338674258, 1338674237, 1338674251, 1338674260, 1338674256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.459336280822754 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:51:32.280282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/13/58/image_20022025_13_59_05_10329.jpg', '/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_14_9312.jpg', '/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_25_10410.jpg', '/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_35_10353.jpg', '/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_44_9388.jpg', '/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_55_10338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/13/58/image_20022025_13_59_05_10329.jpg
/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_14_9312.jpg
/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_25_10410.jpg
/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_35_10353.jpg
/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_44_9388.jpg
/home/pi/Desktop/images/20022025/13/59/image_20022025_13_59_55_10338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338674294","1338674296","1338674299","1338674302","1338674292","1338674304"],"photo_ids_order":["1338674292","1338674294","1338674296","1338674299","1338674302","1338674304"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d923b15c7e9cea5d4207dbea547e83e0.jpg","text":"TemporaryFile(/tmp/multipartBody705288925263049181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084752851,"filename":"image_20022025_13_59_14_9312.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/40824702ef68a34d26b61e00bcffd6d1.jpg","text":"TemporaryFile(/tmp/multipartBody4424140133575438793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084752851,"filename":"image_20022025_13_59_25_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd995d3adf6292a6311a21132ff6926b.jpg","text":"TemporaryFile(/tmp/multipartBody2219858967912662437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084752851,"filename":"image_20022025_13_59_35_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4fec7add5a1fae6f9f785d42192fbaf.jpg","text":"TemporaryFile(/tmp/multipartBody2925094079899046876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084752851,"filename":"image_20022025_13_59_44_9388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/753191e3f7cdee8d05085bda02481ac3.jpg","text":"TemporaryFile(/tmp/multipartBody6904052916479840074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084752851,"filename":"image_20022025_13_59_05_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/419f22d9c93812c5fea1bd7d467b5d64.jpg","text":"TemporaryFile(/tmp/multipartBody1314680255914722942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084752851,"filename":"image_20022025_13_59_55_10338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338674296","file1":"1338674294","file0":"1338674292","file4":"1338674302","file5":"1338674304","file3":"1338674299"},"map_files_photo_id_array":[{"photo_id":"1338674304","filename":"file5"},{"photo_id":"1338674296","filename":"file2"},{"photo_id":"1338674302","filename":"file4"},{"photo_id":"1338674294","filename":"file1"},{"photo_id":"1338674292","filename":"file0"},{"photo_id":"1338674299","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338674294":["hashtag1","hashtag2"]},{"1338674296":["hashtag1","hashtag2"]},{"1338674299":["hashtag1","hashtag2"]},{"1338674302":["hashtag1","hashtag2"]},{"1338674292":["hashtag1","hashtag2"]},{"1338674304":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338674294, 1338674296, 1338674299, 1338674302, 1338674292, 1338674304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.325461626052856 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:52:32.557925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/00/image_20022025_14_00_16_10075.jpg', '/home/pi/Desktop/images/20022025/14/00/image_20022025_14_00_26_10357.jpg', '/home/pi/Desktop/images/20022025/14/00/image_20022025_14_00_37_10430.jpg', '/home/pi/Desktop/images/20022025/14/00/image_20022025_14_00_46_9406.jpg', '/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_16_10328.jpg', '/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_27_10454.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/00/image_20022025_14_00_16_10075.jpg
/home/pi/Desktop/images/20022025/14/00/image_20022025_14_00_26_10357.jpg
/home/pi/Desktop/images/20022025/14/00/image_20022025_14_00_37_10430.jpg
/home/pi/Desktop/images/20022025/14/00/image_20022025_14_00_46_9406.jpg
/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_16_10328.jpg
/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_27_10454.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338674363","1338674359","1338674361","1338674355","1338674364","1338674352"],"photo_ids_order":["1338674352","1338674355","1338674359","1338674361","1338674363","1338674364"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f42535841b6fbd3648c636bd78a683f3.jpg","text":"TemporaryFile(/tmp/multipartBody6260761911191100902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084813149,"filename":"image_20022025_14_01_16_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1da3f8fdc4be6e45ea19a61f7f055c55.jpg","text":"TemporaryFile(/tmp/multipartBody8332395367118095721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084813149,"filename":"image_20022025_14_00_37_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f9ae2138f31bff7770b2b32db937761.jpg","text":"TemporaryFile(/tmp/multipartBody5578445545453541625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084813149,"filename":"image_20022025_14_00_46_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d7655cd991984a1d48b3309f8c05a656.jpg","text":"TemporaryFile(/tmp/multipartBody634245285576683534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084813149,"filename":"image_20022025_14_00_26_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d4bf2adce0deb55e8538008b7128fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1578743610905551843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084813149,"filename":"image_20022025_14_01_27_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f02957452c4390df6d3749e73e392d7c.jpg","text":"TemporaryFile(/tmp/multipartBody6956496317866551042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084813149,"filename":"image_20022025_14_00_16_10075.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338674359","file1":"1338674355","file0":"1338674352","file4":"1338674363","file5":"1338674364","file3":"1338674361"},"map_files_photo_id_array":[{"photo_id":"1338674364","filename":"file5"},{"photo_id":"1338674359","filename":"file2"},{"photo_id":"1338674363","filename":"file4"},{"photo_id":"1338674355","filename":"file1"},{"photo_id":"1338674352","filename":"file0"},{"photo_id":"1338674361","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338674363":["hashtag1","hashtag2"]},{"1338674359":["hashtag1","hashtag2"]},{"1338674361":["hashtag1","hashtag2"]},{"1338674355":["hashtag1","hashtag2"]},{"1338674364":["hashtag1","hashtag2"]},{"1338674352":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338674363, 1338674359, 1338674361, 1338674355, 1338674364, 1338674352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90271019935608 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:53:32.824103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_36_9384.jpg', '/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_47_10485.jpg', '/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_56_9340.jpg', '/home/pi/Desktop/images/20022025/14/01/image_20022025_14_02_06_10395.jpg', '/home/pi/Desktop/images/20022025/14/02/image_20022025_14_02_17_10334.jpg', '/home/pi/Desktop/images/20022025/14/02/image_20022025_14_02_26_9449.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_36_9384.jpg
/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_47_10485.jpg
/home/pi/Desktop/images/20022025/14/01/image_20022025_14_01_56_9340.jpg
/home/pi/Desktop/images/20022025/14/01/image_20022025_14_02_06_10395.jpg
/home/pi/Desktop/images/20022025/14/02/image_20022025_14_02_17_10334.jpg
/home/pi/Desktop/images/20022025/14/02/image_20022025_14_02_26_9449.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338674474","1338674381","1338674818","1338674988","1338674703","1338674619"],"photo_ids_order":["1338674381","1338674474","1338674619","1338674703","1338674818","1338674988"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/912d1acbe0e0c6b72d1d78913015fe52.jpg","text":"TemporaryFile(/tmp/multipartBody2610944867741502471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084873398,"filename":"image_20022025_14_01_47_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1998306a954ba6467f39495dbd3a8e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8081095203542440875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084873398,"filename":"image_20022025_14_01_36_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d3cb2634e03c6484b1e6c61ddc6b7f6.jpg","text":"TemporaryFile(/tmp/multipartBody4208427719397025843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084873398,"filename":"image_20022025_14_02_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a9779846f95a2f826688261369b52fb.jpg","text":"TemporaryFile(/tmp/multipartBody1619565409699295636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084873398,"filename":"image_20022025_14_02_26_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4df51bf9aa682627484c337f58f2c5fe.jpg","text":"TemporaryFile(/tmp/multipartBody4414612422566648338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084873398,"filename":"image_20022025_14_02_06_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/062640037c0a62d993b345accf4a892d.jpg","text":"TemporaryFile(/tmp/multipartBody6648052840255181489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084873398,"filename":"image_20022025_14_01_56_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338674619","file1":"1338674474","file0":"1338674381","file4":"1338674818","file5":"1338674988","file3":"1338674703"},"map_files_photo_id_array":[{"photo_id":"1338674988","filename":"file5"},{"photo_id":"1338674619","filename":"file2"},{"photo_id":"1338674818","filename":"file4"},{"photo_id":"1338674474","filename":"file1"},{"photo_id":"1338674381","filename":"file0"},{"photo_id":"1338674703","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338674474":["hashtag1","hashtag2"]},{"1338674381":["hashtag1","hashtag2"]},{"1338674818":["hashtag1","hashtag2"]},{"1338674988":["hashtag1","hashtag2"]},{"1338674703":["hashtag1","hashtag2"]},{"1338674619":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338674474, 1338674381, 1338674818, 1338674988, 1338674703, 1338674619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.10152983665466 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:54:33.072376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/02/image_20022025_14_02_37_10483.jpg', '/home/pi/Desktop/images/20022025/14/02/image_20022025_14_03_07_10427.jpg', '/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_16_9335.jpg', '/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_27_10490.jpg', '/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_36_9324.jpg', '/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_46_10321.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/02/image_20022025_14_02_37_10483.jpg
/home/pi/Desktop/images/20022025/14/02/image_20022025_14_03_07_10427.jpg
/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_16_9335.jpg
/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_27_10490.jpg
/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_36_9324.jpg
/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_46_10321.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338675492","1338675531","1338675534","1338675522","1338675491","1338675488"],"photo_ids_order":["1338675488","1338675491","1338675492","1338675522","1338675531","1338675534"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed5b4c6c7cf712a61d70d7beaada200c.jpg","text":"TemporaryFile(/tmp/multipartBody3725327536125241960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084933644,"filename":"image_20022025_14_03_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8dd799be4d325ca1943bffbb3cf19a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6351550015643669709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084933644,"filename":"image_20022025_14_03_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2945594d981fa5a787fed992d61c6877.jpg","text":"TemporaryFile(/tmp/multipartBody3426641334899363434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084933644,"filename":"image_20022025_14_03_46_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/723dda1e7a5fef4a8309b95fff381992.jpg","text":"TemporaryFile(/tmp/multipartBody2584423584290859731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084933644,"filename":"image_20022025_14_03_27_10490.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d69135eb279cf54d51b68670db490c2d.jpg","text":"TemporaryFile(/tmp/multipartBody8253802350551445692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084933644,"filename":"image_20022025_14_03_07_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f496c037b5be9b7bb13d75dad4b1bf1b.jpg","text":"TemporaryFile(/tmp/multipartBody8690166155654714879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084933644,"filename":"image_20022025_14_02_37_10483.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338675492","file1":"1338675491","file0":"1338675488","file4":"1338675531","file5":"1338675534","file3":"1338675522"},"map_files_photo_id_array":[{"photo_id":"1338675534","filename":"file5"},{"photo_id":"1338675492","filename":"file2"},{"photo_id":"1338675531","filename":"file4"},{"photo_id":"1338675491","filename":"file1"},{"photo_id":"1338675488","filename":"file0"},{"photo_id":"1338675522","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338675492":["hashtag1","hashtag2"]},{"1338675531":["hashtag1","hashtag2"]},{"1338675534":["hashtag1","hashtag2"]},{"1338675522":["hashtag1","hashtag2"]},{"1338675491":["hashtag1","hashtag2"]},{"1338675488":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338675492, 1338675531, 1338675534, 1338675522, 1338675491, 1338675488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.345659255981445 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:55:32.193832
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_57_10451.jpg', '/home/pi/Desktop/images/20022025/14/03/image_20022025_14_04_06_9315.jpg', '/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_17_10468.jpg', '/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_26_9467.jpg', '/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_36_10397.jpg', '/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_47_10326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/03/image_20022025_14_03_57_10451.jpg
/home/pi/Desktop/images/20022025/14/03/image_20022025_14_04_06_9315.jpg
/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_17_10468.jpg
/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_26_9467.jpg
/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_36_10397.jpg
/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_47_10326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338676083","1338676086","1338676080","1338676068","1338675888","1338676082"],"photo_ids_order":["1338675888","1338676068","1338676080","1338676082","1338676083","1338676086"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/74f8277674e27eca7bdd8b8bd1b6f33b.jpg","text":"TemporaryFile(/tmp/multipartBody8497828151031072520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084992762,"filename":"image_20022025_14_04_36_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d2cf8500281179c8eaaa502ecc40c1ce.jpg","text":"TemporaryFile(/tmp/multipartBody8031571169769527790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084992762,"filename":"image_20022025_14_04_47_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa744e3c0f9573689e1d3e698bc52f63.jpg","text":"TemporaryFile(/tmp/multipartBody1946712968683929254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084992762,"filename":"image_20022025_14_04_17_10468.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24f6cf7d1eecab2204269aa4ed003360.jpg","text":"TemporaryFile(/tmp/multipartBody9020799470186611192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084992762,"filename":"image_20022025_14_04_06_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/89db79ee1822640925994d01b79785df.jpg","text":"TemporaryFile(/tmp/multipartBody7223351103124327795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084992762,"filename":"image_20022025_14_03_57_10451.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04985930c1b4bafe6242d0d38c43b5c6.jpg","text":"TemporaryFile(/tmp/multipartBody981973195100962374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740084992762,"filename":"image_20022025_14_04_26_9467.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676080","file1":"1338676068","file0":"1338675888","file4":"1338676083","file5":"1338676086","file3":"1338676082"},"map_files_photo_id_array":[{"photo_id":"1338676086","filename":"file5"},{"photo_id":"1338676080","filename":"file2"},{"photo_id":"1338676083","filename":"file4"},{"photo_id":"1338676068","filename":"file1"},{"photo_id":"1338675888","filename":"file0"},{"photo_id":"1338676082","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338676083":["hashtag1","hashtag2"]},{"1338676086":["hashtag1","hashtag2"]},{"1338676080":["hashtag1","hashtag2"]},{"1338676068":["hashtag1","hashtag2"]},{"1338675888":["hashtag1","hashtag2"]},{"1338676082":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338676083, 1338676086, 1338676080, 1338676068, 1338675888, 1338676082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.686768293380737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:56:32.436570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_56_9326.jpg', '/home/pi/Desktop/images/20022025/14/04/image_20022025_14_05_06_10397.jpg', '/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_17_10407.jpg', '/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_26_9430.jpg', '/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_37_10450.jpg', '/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_46_9345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/04/image_20022025_14_04_56_9326.jpg
/home/pi/Desktop/images/20022025/14/04/image_20022025_14_05_06_10397.jpg
/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_17_10407.jpg
/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_26_9430.jpg
/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_37_10450.jpg
/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_46_9345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338676245","1338676239","1338676233","1338676236","1338676241","1338676250"],"photo_ids_order":["1338676233","1338676236","1338676239","1338676241","1338676245","1338676250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c294658bccc69bcbcdae27202c4a3d95.jpg","text":"TemporaryFile(/tmp/multipartBody2561743866107963405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085053009,"filename":"image_20022025_14_05_37_10450.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9f7e9ab9a34d13dbb3f3f04a4b9b49c6.jpg","text":"TemporaryFile(/tmp/multipartBody4188519233579730096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085053009,"filename":"image_20022025_14_05_17_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/efdef7ac1555bbfa8d2c41322bbda275.jpg","text":"TemporaryFile(/tmp/multipartBody8300544547506812988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085053009,"filename":"image_20022025_14_04_56_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/980e4d6584516c292dde0f9f7aa931d9.jpg","text":"TemporaryFile(/tmp/multipartBody6929867312417358403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085053009,"filename":"image_20022025_14_05_06_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3414465af829acde0be285020a4c77db.jpg","text":"TemporaryFile(/tmp/multipartBody7677758873519910730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085053009,"filename":"image_20022025_14_05_26_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a36f6b9c3fe0a0e7a34adb08ac89a9b7.jpg","text":"TemporaryFile(/tmp/multipartBody1868082806468594980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085053009,"filename":"image_20022025_14_05_46_9345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676239","file1":"1338676236","file0":"1338676233","file4":"1338676245","file5":"1338676250","file3":"1338676241"},"map_files_photo_id_array":[{"photo_id":"1338676250","filename":"file5"},{"photo_id":"1338676239","filename":"file2"},{"photo_id":"1338676245","filename":"file4"},{"photo_id":"1338676236","filename":"file1"},{"photo_id":"1338676233","filename":"file0"},{"photo_id":"1338676241","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338676245":["hashtag1","hashtag2"]},{"1338676239":["hashtag1","hashtag2"]},{"1338676233":["hashtag1","hashtag2"]},{"1338676236":["hashtag1","hashtag2"]},{"1338676241":["hashtag1","hashtag2"]},{"1338676250":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338676245, 1338676239, 1338676233, 1338676236, 1338676241, 1338676250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44060754776001 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 21:57:32.754050
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_57_10455.jpg', '/home/pi/Desktop/images/20022025/14/05/image_20022025_14_06_07_10343.jpg', '/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_16_9403.jpg', '/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_36_9328.jpg', '/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_46_10315.jpg', '/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_57_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_57_10455.jpg
/home/pi/Desktop/images/20022025/14/05/image_20022025_14_06_07_10343.jpg
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_16_9403.jpg
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_36_9328.jpg
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_46_10315.jpg
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_57_10351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 21:59:04.372540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_57_10455.jpg', '/home/pi/Desktop/images/20022025/14/05/image_20022025_14_06_07_10343.jpg', '/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_16_9403.jpg', '/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_36_9328.jpg', '/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_46_10315.jpg', '/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_57_10351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/05/image_20022025_14_05_57_10455.jpg
/home/pi/Desktop/images/20022025/14/05/image_20022025_14_06_07_10343.jpg
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_16_9403.jpg
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_36_9328.jpg
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_46_10315.jpg
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_06_57_10351.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338676537","1338676542","1338676548","1338676529","1338676532","1338676526"],"photo_ids_order":["1338676526","1338676529","1338676532","1338676537","1338676542","1338676548"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/24a0624a786924950f43947bd68856ec.jpg","text":"TemporaryFile(/tmp/multipartBody5453415342735871795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085204970,"filename":"image_20022025_14_06_36_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/45e53342f82e8ed6a677cf70dcf9b574.jpg","text":"TemporaryFile(/tmp/multipartBody5814985330234983103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085204970,"filename":"image_20022025_14_06_46_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1066fa27a265ae4acd5ee823c9987aa.jpg","text":"TemporaryFile(/tmp/multipartBody1386733111813382093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085204970,"filename":"image_20022025_14_06_57_10351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/168b1e08b4c00e0ab8929be928e774b7.jpg","text":"TemporaryFile(/tmp/multipartBody5333326564813938052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085204970,"filename":"image_20022025_14_06_07_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af433b45444d15ead0587a0da557de09.jpg","text":"TemporaryFile(/tmp/multipartBody6324748858241471323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085204970,"filename":"image_20022025_14_06_16_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c450931b9f99cf93b0f3bf5307d59e43.jpg","text":"TemporaryFile(/tmp/multipartBody2589232290273748389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085204970,"filename":"image_20022025_14_05_57_10455.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676532","file1":"1338676529","file0":"1338676526","file4":"1338676542","file5":"1338676548","file3":"1338676537"},"map_files_photo_id_array":[{"photo_id":"1338676548","filename":"file5"},{"photo_id":"1338676532","filename":"file2"},{"photo_id":"1338676542","filename":"file4"},{"photo_id":"1338676529","filename":"file1"},{"photo_id":"1338676526","filename":"file0"},{"photo_id":"1338676537","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338676537":["hashtag1","hashtag2"]},{"1338676542":["hashtag1","hashtag2"]},{"1338676548":["hashtag1","hashtag2"]},{"1338676529":["hashtag1","hashtag2"]},{"1338676532":["hashtag1","hashtag2"]},{"1338676526":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338676537, 1338676542, 1338676548, 1338676529, 1338676532, 1338676526)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.482388734817505 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 21:59:43.017475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/06/image_20022025_14_07_06_9324.jpg', '/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_16_10440.jpg', '/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_27_10415.jpg', '/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_36_9338.jpg', '/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_47_10383.jpg', '/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_57_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/06/image_20022025_14_07_06_9324.jpg
/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_16_10440.jpg
/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_27_10415.jpg
/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_36_9338.jpg
/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_47_10383.jpg
/home/pi/Desktop/images/20022025/14/07/image_20022025_14_07_57_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338676570","1338676578","1338676557","1338676566","1338676574","1338676562"],"photo_ids_order":["1338676557","1338676562","1338676566","1338676570","1338676574","1338676578"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd0e7ec743df8e22ff2a7b4d56a7e447.jpg","text":"TemporaryFile(/tmp/multipartBody5396569503237949948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085243608,"filename":"image_20022025_14_07_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55f581a557cb0d54a74a248296283aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4976007204982954152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085243608,"filename":"image_20022025_14_07_57_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6adb0391b290d3aa5017acf78ab089c.jpg","text":"TemporaryFile(/tmp/multipartBody8962175124993335328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085243608,"filename":"image_20022025_14_07_06_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/879a55e11c8f3ea8b3b3694bef39c321.jpg","text":"TemporaryFile(/tmp/multipartBody1630537566850282490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085243608,"filename":"image_20022025_14_07_27_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/72428b91d11d3aac958f4742396de3fd.jpg","text":"TemporaryFile(/tmp/multipartBody7397053105448475781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085243608,"filename":"image_20022025_14_07_47_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/100381eaef83e501b9322a7961634cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2832718781859199598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085243608,"filename":"image_20022025_14_07_16_10440.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676566","file1":"1338676562","file0":"1338676557","file4":"1338676574","file5":"1338676578","file3":"1338676570"},"map_files_photo_id_array":[{"photo_id":"1338676578","filename":"file5"},{"photo_id":"1338676566","filename":"file2"},{"photo_id":"1338676574","filename":"file4"},{"photo_id":"1338676562","filename":"file1"},{"photo_id":"1338676557","filename":"file0"},{"photo_id":"1338676570","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338676570":["hashtag1","hashtag2"]},{"1338676578":["hashtag1","hashtag2"]},{"1338676557":["hashtag1","hashtag2"]},{"1338676566":["hashtag1","hashtag2"]},{"1338676574":["hashtag1","hashtag2"]},{"1338676562":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338676570, 1338676578, 1338676557, 1338676566, 1338676574, 1338676562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.424493074417114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:00:32.166124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/07/image_20022025_14_08_06_9322.jpg', '/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_17_10334.jpg', '/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_27_10341.jpg', '/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_36_9319.jpg', '/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_47_10337.jpg', '/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_56_9400.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/07/image_20022025_14_08_06_9322.jpg
/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_17_10334.jpg
/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_27_10341.jpg
/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_36_9319.jpg
/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_47_10337.jpg
/home/pi/Desktop/images/20022025/14/08/image_20022025_14_08_56_9400.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338676609","1338676602","1338676592","1338676588","1338676607","1338676597"],"photo_ids_order":["1338676588","1338676592","1338676597","1338676602","1338676607","1338676609"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ac300a459294dbf470ed298e13ab119.jpg","text":"TemporaryFile(/tmp/multipartBody7633008252358662581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085292729,"filename":"image_20022025_14_08_56_9400.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9947d39b6206891fa38be3a81d1e2b92.jpg","text":"TemporaryFile(/tmp/multipartBody4944475636163157936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085292729,"filename":"image_20022025_14_08_36_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e113431875db811a541616d9f5c3210.jpg","text":"TemporaryFile(/tmp/multipartBody4946683005341939676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085292729,"filename":"image_20022025_14_08_17_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a811f79efe289015b286acc91ee31cb1.jpg","text":"TemporaryFile(/tmp/multipartBody5721432885110687648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085292729,"filename":"image_20022025_14_08_06_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66a07a8b3690a8854c3a150ed26c93dd.jpg","text":"TemporaryFile(/tmp/multipartBody7273898906968861705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085292729,"filename":"image_20022025_14_08_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b893de534be50dbdf73d6007363afa3.jpg","text":"TemporaryFile(/tmp/multipartBody2913590369194577406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085292729,"filename":"image_20022025_14_08_27_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676597","file1":"1338676592","file0":"1338676588","file4":"1338676607","file5":"1338676609","file3":"1338676602"},"map_files_photo_id_array":[{"photo_id":"1338676609","filename":"file5"},{"photo_id":"1338676597","filename":"file2"},{"photo_id":"1338676607","filename":"file4"},{"photo_id":"1338676592","filename":"file1"},{"photo_id":"1338676588","filename":"file0"},{"photo_id":"1338676602","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338676609":["hashtag1","hashtag2"]},{"1338676602":["hashtag1","hashtag2"]},{"1338676592":["hashtag1","hashtag2"]},{"1338676588":["hashtag1","hashtag2"]},{"1338676607":["hashtag1","hashtag2"]},{"1338676597":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338676609, 1338676602, 1338676592, 1338676588, 1338676607, 1338676597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47281813621521 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:01:32.515521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/08/image_20022025_14_09_06_10403.jpg', '/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_17_10443.jpg', '/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_26_9327.jpg', '/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_37_10443.jpg', '/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_47_10331.jpg', '/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_56_9336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/08/image_20022025_14_09_06_10403.jpg
/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_17_10443.jpg
/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_26_9327.jpg
/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_37_10443.jpg
/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_47_10331.jpg
/home/pi/Desktop/images/20022025/14/09/image_20022025_14_09_56_9336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338676633","1338676653","1338676635","1338676629","1338676650","1338676640"],"photo_ids_order":["1338676629","1338676633","1338676635","1338676640","1338676650","1338676653"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a6afe48526a7dedfb1a4ea61da1323f7.jpg","text":"TemporaryFile(/tmp/multipartBody3294841071172980863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085353080,"filename":"image_20022025_14_09_17_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e8dc8ebe04b0ce412171941c8b808120.jpg","text":"TemporaryFile(/tmp/multipartBody4904678188837483918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085353080,"filename":"image_20022025_14_09_56_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5a90ca6b0efb8e03325032b5c17376c8.jpg","text":"TemporaryFile(/tmp/multipartBody5576901288976801035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085353080,"filename":"image_20022025_14_09_26_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56aa0920f8579ea6ca3be5fcfe67bca6.jpg","text":"TemporaryFile(/tmp/multipartBody7129114831060135224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085353080,"filename":"image_20022025_14_09_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d32ffeaea7e2773bc207daf1262eb2a.jpg","text":"TemporaryFile(/tmp/multipartBody3510470982342595992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085353080,"filename":"image_20022025_14_09_47_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9fd6c78e21c0a14188da7e8bda21ed26.jpg","text":"TemporaryFile(/tmp/multipartBody4530592666294698470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085353080,"filename":"image_20022025_14_09_37_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676635","file1":"1338676633","file0":"1338676629","file4":"1338676650","file5":"1338676653","file3":"1338676640"},"map_files_photo_id_array":[{"photo_id":"1338676653","filename":"file5"},{"photo_id":"1338676635","filename":"file2"},{"photo_id":"1338676650","filename":"file4"},{"photo_id":"1338676633","filename":"file1"},{"photo_id":"1338676629","filename":"file0"},{"photo_id":"1338676640","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338676633":["hashtag1","hashtag2"]},{"1338676653":["hashtag1","hashtag2"]},{"1338676635":["hashtag1","hashtag2"]},{"1338676629":["hashtag1","hashtag2"]},{"1338676650":["hashtag1","hashtag2"]},{"1338676640":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338676633, 1338676653, 1338676635, 1338676629, 1338676650, 1338676640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.405001163482666 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:02:32.589898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/09/image_20022025_14_10_07_10345.jpg', '/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_17_10343.jpg', '/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_26_9343.jpg', '/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_37_10410.jpg', '/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_46_9321.jpg', '/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_56_10353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/09/image_20022025_14_10_07_10345.jpg
/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_17_10343.jpg
/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_26_9343.jpg
/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_37_10410.jpg
/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_46_9321.jpg
/home/pi/Desktop/images/20022025/14/10/image_20022025_14_10_56_10353.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338676690","1338676672","1338676686","1338676676","1338676691","1338676681"],"photo_ids_order":["1338676672","1338676676","1338676681","1338676686","1338676690","1338676691"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1756532cb700d0f9b9de23a6f829a02f.jpg","text":"TemporaryFile(/tmp/multipartBody4263779070252270670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085413140,"filename":"image_20022025_14_10_46_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6d77a8a917c84f9e626f35a7630fe3df.jpg","text":"TemporaryFile(/tmp/multipartBody2714092733733591581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085413140,"filename":"image_20022025_14_10_07_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/39462509501f69ae5efb695a65eb7f77.jpg","text":"TemporaryFile(/tmp/multipartBody2924214494297848620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085413140,"filename":"image_20022025_14_10_37_10410.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a35fe128f9da43d2bc2541749bb20c3.jpg","text":"TemporaryFile(/tmp/multipartBody1035599169487296202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085413140,"filename":"image_20022025_14_10_17_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/993bae7882b9e9ca7370670f759cbc81.jpg","text":"TemporaryFile(/tmp/multipartBody5064680780294160391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085413140,"filename":"image_20022025_14_10_56_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90897e04abe18b20dad8ab2752a67bdf.jpg","text":"TemporaryFile(/tmp/multipartBody6217539437902468237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085413140,"filename":"image_20022025_14_10_26_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676681","file1":"1338676676","file0":"1338676672","file4":"1338676690","file5":"1338676691","file3":"1338676686"},"map_files_photo_id_array":[{"photo_id":"1338676691","filename":"file5"},{"photo_id":"1338676681","filename":"file2"},{"photo_id":"1338676690","filename":"file4"},{"photo_id":"1338676676","filename":"file1"},{"photo_id":"1338676672","filename":"file0"},{"photo_id":"1338676686","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338676690":["hashtag1","hashtag2"]},{"1338676672":["hashtag1","hashtag2"]},{"1338676686":["hashtag1","hashtag2"]},{"1338676676":["hashtag1","hashtag2"]},{"1338676691":["hashtag1","hashtag2"]},{"1338676681":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338676690, 1338676672, 1338676686, 1338676676, 1338676691, 1338676681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.006343841552734 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:03:32.745731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/10/image_20022025_14_11_07_10359.jpg', '/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_16_9330.jpg', '/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_26_10342.jpg', '/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_37_10330.jpg', '/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_46_9346.jpg', '/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_57_10510.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/10/image_20022025_14_11_07_10359.jpg
/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_16_9330.jpg
/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_26_10342.jpg
/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_37_10330.jpg
/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_46_9346.jpg
/home/pi/Desktop/images/20022025/14/11/image_20022025_14_11_57_10510.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338676735","1338676728","1338676737","1338676730","1338676733","1338676724"],"photo_ids_order":["1338676724","1338676728","1338676730","1338676733","1338676735","1338676737"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/21e1371f188cd0fe4bd3c5a37173851f.jpg","text":"TemporaryFile(/tmp/multipartBody1997757023810852855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085473308,"filename":"image_20022025_14_11_46_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1f8974f55a44993eeb67404fea43eadf.jpg","text":"TemporaryFile(/tmp/multipartBody1915982543945315809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085473308,"filename":"image_20022025_14_11_16_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/29454e1fd124d98804fb64371b680ef3.jpg","text":"TemporaryFile(/tmp/multipartBody5329481943539117234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085473308,"filename":"image_20022025_14_11_57_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95a74de77d18242319ada3bd2a243c2a.jpg","text":"TemporaryFile(/tmp/multipartBody3039963713633942963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085473308,"filename":"image_20022025_14_11_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2503bd42b21c420bcfc7fdca2c67d4cb.jpg","text":"TemporaryFile(/tmp/multipartBody5227058573554095673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085473308,"filename":"image_20022025_14_11_37_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/93529ca7a4da2413e31f6e2b95d52eb6.jpg","text":"TemporaryFile(/tmp/multipartBody6923726332756825644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085473308,"filename":"image_20022025_14_11_07_10359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676730","file1":"1338676728","file0":"1338676724","file4":"1338676735","file5":"1338676737","file3":"1338676733"},"map_files_photo_id_array":[{"photo_id":"1338676737","filename":"file5"},{"photo_id":"1338676730","filename":"file2"},{"photo_id":"1338676735","filename":"file4"},{"photo_id":"1338676728","filename":"file1"},{"photo_id":"1338676724","filename":"file0"},{"photo_id":"1338676733","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338676735":["hashtag1","hashtag2"]},{"1338676728":["hashtag1","hashtag2"]},{"1338676737":["hashtag1","hashtag2"]},{"1338676730":["hashtag1","hashtag2"]},{"1338676733":["hashtag1","hashtag2"]},{"1338676724":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338676735, 1338676728, 1338676737, 1338676730, 1338676733, 1338676724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03230810165405 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:04:32.963270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/11/image_20022025_14_12_06_9422.jpg', '/home/pi/Desktop/images/20022025/14/12/image_20022025_14_12_16_10343.jpg', '/home/pi/Desktop/images/20022025/14/12/image_20022025_14_12_27_10460.jpg', '/home/pi/Desktop/images/20022025/14/12/image_20022025_14_12_36_9321.jpg', '/home/pi/Desktop/images/20022025/14/12/image_20022025_14_12_47_10446.jpg', '/home/pi/Desktop/images/20022025/14/12/image_20022025_14_13_06_9408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/11/image_20022025_14_12_06_9422.jpg
/home/pi/Desktop/images/20022025/14/12/image_20022025_14_12_16_10343.jpg
/home/pi/Desktop/images/20022025/14/12/image_20022025_14_12_27_10460.jpg
/home/pi/Desktop/images/20022025/14/12/image_20022025_14_12_36_9321.jpg
/home/pi/Desktop/images/20022025/14/12/image_20022025_14_12_47_10446.jpg
/home/pi/Desktop/images/20022025/14/12/image_20022025_14_13_06_9408.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677058","1338676899","1338677156","1338676781","1338676754","1338677161"],"photo_ids_order":["1338676754","1338676781","1338676899","1338677058","1338677156","1338677161"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4e6e89e2210dade81fb0ec364783346a.jpg","text":"TemporaryFile(/tmp/multipartBody8069569391682580871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085533530,"filename":"image_20022025_14_12_36_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d3cf226799cddaefbb60e4e0b51e049c.jpg","text":"TemporaryFile(/tmp/multipartBody5388784174018255322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085533530,"filename":"image_20022025_14_12_27_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8af4cca4608d74334a4ffe9b6c3130b9.jpg","text":"TemporaryFile(/tmp/multipartBody745792329164078285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085533530,"filename":"image_20022025_14_12_47_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bb6ed7ec5e3f5d3b820e894887d65256.jpg","text":"TemporaryFile(/tmp/multipartBody2233807342876038012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085533530,"filename":"image_20022025_14_12_16_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dfb095e3d105afd838593a0491f4da7c.jpg","text":"TemporaryFile(/tmp/multipartBody4542485758005378353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085533530,"filename":"image_20022025_14_12_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4feacfdf31786dda35af2ab2349a3f56.jpg","text":"TemporaryFile(/tmp/multipartBody2633745242224388131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085533530,"filename":"image_20022025_14_13_06_9408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338676899","file1":"1338676781","file0":"1338676754","file4":"1338677156","file5":"1338677161","file3":"1338677058"},"map_files_photo_id_array":[{"photo_id":"1338677161","filename":"file5"},{"photo_id":"1338676899","filename":"file2"},{"photo_id":"1338677156","filename":"file4"},{"photo_id":"1338676781","filename":"file1"},{"photo_id":"1338676754","filename":"file0"},{"photo_id":"1338677058","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677058":["hashtag1","hashtag2"]},{"1338676899":["hashtag1","hashtag2"]},{"1338677156":["hashtag1","hashtag2"]},{"1338676781":["hashtag1","hashtag2"]},{"1338676754":["hashtag1","hashtag2"]},{"1338677161":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677058, 1338676899, 1338677156, 1338676781, 1338676754, 1338677161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.560594081878662 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:05:33.107706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/13/image_20022025_14_13_17_10318.jpg', '/home/pi/Desktop/images/20022025/14/13/image_20022025_14_13_36_10486.jpg', '/home/pi/Desktop/images/20022025/14/13/image_20022025_14_13_47_10334.jpg', '/home/pi/Desktop/images/20022025/14/13/image_20022025_14_13_56_9362.jpg', '/home/pi/Desktop/images/20022025/14/13/image_20022025_14_14_07_10347.jpg', '/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_17_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/13/image_20022025_14_13_17_10318.jpg
/home/pi/Desktop/images/20022025/14/13/image_20022025_14_13_36_10486.jpg
/home/pi/Desktop/images/20022025/14/13/image_20022025_14_13_47_10334.jpg
/home/pi/Desktop/images/20022025/14/13/image_20022025_14_13_56_9362.jpg
/home/pi/Desktop/images/20022025/14/13/image_20022025_14_14_07_10347.jpg
/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_17_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677379","1338677382","1338677376","1338677372","1338677357","1338677365"],"photo_ids_order":["1338677357","1338677365","1338677372","1338677376","1338677379","1338677382"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7da7f558a18cef25e57b5c7d58d2b6c0.jpg","text":"TemporaryFile(/tmp/multipartBody3451658012734021096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085593681,"filename":"image_20022025_14_14_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b53e8b9d42a6cdb93a3025dc4472dce.jpg","text":"TemporaryFile(/tmp/multipartBody6188470487686412233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085593681,"filename":"image_20022025_14_14_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1633a21448beea06ff4d1a00af19a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody5993275321814500390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085593681,"filename":"image_20022025_14_13_56_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/495b8ac5778d06dc3fd0de84ae4bdabd.jpg","text":"TemporaryFile(/tmp/multipartBody2463124783447963121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085593681,"filename":"image_20022025_14_13_47_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cdc3c067ffe9457bfb3d64bd3de49834.jpg","text":"TemporaryFile(/tmp/multipartBody5559537947544774309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085593681,"filename":"image_20022025_14_13_17_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c54ea60c174a93ded081b1b6a009b8f8.jpg","text":"TemporaryFile(/tmp/multipartBody8309775792386421626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085593681,"filename":"image_20022025_14_13_36_10486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677372","file1":"1338677365","file0":"1338677357","file4":"1338677379","file5":"1338677382","file3":"1338677376"},"map_files_photo_id_array":[{"photo_id":"1338677382","filename":"file5"},{"photo_id":"1338677372","filename":"file2"},{"photo_id":"1338677379","filename":"file4"},{"photo_id":"1338677365","filename":"file1"},{"photo_id":"1338677357","filename":"file0"},{"photo_id":"1338677376","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677379":["hashtag1","hashtag2"]},{"1338677382":["hashtag1","hashtag2"]},{"1338677376":["hashtag1","hashtag2"]},{"1338677372":["hashtag1","hashtag2"]},{"1338677357":["hashtag1","hashtag2"]},{"1338677365":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677379, 1338677382, 1338677376, 1338677372, 1338677357, 1338677365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01792788505554 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:06:35.137800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_26_9408.jpg', '/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_37_10340.jpg', '/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_46_9327.jpg', '/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_56_10343.jpg', '/home/pi/Desktop/images/20022025/14/14/image_20022025_14_15_07_10481.jpg', '/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_16_9524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_26_9408.jpg
/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_37_10340.jpg
/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_46_9327.jpg
/home/pi/Desktop/images/20022025/14/14/image_20022025_14_14_56_10343.jpg
/home/pi/Desktop/images/20022025/14/14/image_20022025_14_15_07_10481.jpg
/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_16_9524.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677413","1338677403","1338677406","1338677409","1338677399","1338677411"],"photo_ids_order":["1338677399","1338677403","1338677406","1338677409","1338677411","1338677413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b599d588fdfdebfc0c1c656a6af39297.jpg","text":"TemporaryFile(/tmp/multipartBody8487023731988667078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085655698,"filename":"image_20022025_14_15_16_9524.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef86f8db0e38af22c0f61094240d9b15.jpg","text":"TemporaryFile(/tmp/multipartBody680627223767712115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085655698,"filename":"image_20022025_14_14_37_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9eac539f8ebfc74fb8e42ebd8220f17.jpg","text":"TemporaryFile(/tmp/multipartBody3793017061012669840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085655698,"filename":"image_20022025_14_14_46_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83866831a9bf72952889d084935ef91a.jpg","text":"TemporaryFile(/tmp/multipartBody8978213762852317271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085655698,"filename":"image_20022025_14_14_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9c80fa9ea1956facc3b952381e0ce7f.jpg","text":"TemporaryFile(/tmp/multipartBody8019468562526592204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085655698,"filename":"image_20022025_14_14_26_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2a3a9e552042bc6588dbbe51e760a9f1.jpg","text":"TemporaryFile(/tmp/multipartBody4016027554242516261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085655698,"filename":"image_20022025_14_15_07_10481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677406","file1":"1338677403","file0":"1338677399","file4":"1338677411","file5":"1338677413","file3":"1338677409"},"map_files_photo_id_array":[{"photo_id":"1338677413","filename":"file5"},{"photo_id":"1338677406","filename":"file2"},{"photo_id":"1338677411","filename":"file4"},{"photo_id":"1338677403","filename":"file1"},{"photo_id":"1338677399","filename":"file0"},{"photo_id":"1338677409","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677413":["hashtag1","hashtag2"]},{"1338677403":["hashtag1","hashtag2"]},{"1338677406":["hashtag1","hashtag2"]},{"1338677409":["hashtag1","hashtag2"]},{"1338677399":["hashtag1","hashtag2"]},{"1338677411":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677413, 1338677403, 1338677406, 1338677409, 1338677399, 1338677411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36277914047241 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:07:32.573915
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_27_10428.jpg', '/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_36_9343.jpg', '/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_46_10321.jpg', '/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_57_10360.jpg', '/home/pi/Desktop/images/20022025/14/15/image_20022025_14_16_06_9336.jpg', '/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_17_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_27_10428.jpg
/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_36_9343.jpg
/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_46_10321.jpg
/home/pi/Desktop/images/20022025/14/15/image_20022025_14_15_57_10360.jpg
/home/pi/Desktop/images/20022025/14/15/image_20022025_14_16_06_9336.jpg
/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_17_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677449","1338677462","1338677465","1338677459","1338677453","1338677456"],"photo_ids_order":["1338677449","1338677453","1338677456","1338677459","1338677462","1338677465"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b26577aa16afe9607b910b71aaf37ece.jpg","text":"TemporaryFile(/tmp/multipartBody1871381355849551074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085713166,"filename":"image_20022025_14_15_27_10428.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/348b5a5c336dc9a4db06fb5f49ab077e.jpg","text":"TemporaryFile(/tmp/multipartBody8663764471407579677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085713166,"filename":"image_20022025_14_16_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f369f124e25a56b99a20a13c763af5b.jpg","text":"TemporaryFile(/tmp/multipartBody7948703829050759415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085713166,"filename":"image_20022025_14_16_17_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/26385b98ef203d82057cb54f8a8a6bea.jpg","text":"TemporaryFile(/tmp/multipartBody2703173421779177300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085713166,"filename":"image_20022025_14_15_57_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/61d0836fc00bd1518e8f2b207e8d9ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4606772090677977146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085713166,"filename":"image_20022025_14_15_36_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/381e723915adca2fbed8522cffbe3f45.jpg","text":"TemporaryFile(/tmp/multipartBody1071292798280200225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085713166,"filename":"image_20022025_14_15_46_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677456","file1":"1338677453","file0":"1338677449","file4":"1338677462","file5":"1338677465","file3":"1338677459"},"map_files_photo_id_array":[{"photo_id":"1338677465","filename":"file5"},{"photo_id":"1338677456","filename":"file2"},{"photo_id":"1338677462","filename":"file4"},{"photo_id":"1338677453","filename":"file1"},{"photo_id":"1338677449","filename":"file0"},{"photo_id":"1338677459","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677449":["hashtag1","hashtag2"]},{"1338677462":["hashtag1","hashtag2"]},{"1338677465":["hashtag1","hashtag2"]},{"1338677459":["hashtag1","hashtag2"]},{"1338677453":["hashtag1","hashtag2"]},{"1338677456":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677449, 1338677462, 1338677465, 1338677459, 1338677453, 1338677456)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.55256247520447 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:08:32.759696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_27_10336.jpg', '/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_36_9316.jpg', '/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_47_10386.jpg', '/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_57_10330.jpg', '/home/pi/Desktop/images/20022025/14/16/image_20022025_14_17_06_9440.jpg', '/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_17_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_27_10336.jpg
/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_36_9316.jpg
/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_47_10386.jpg
/home/pi/Desktop/images/20022025/14/16/image_20022025_14_16_57_10330.jpg
/home/pi/Desktop/images/20022025/14/16/image_20022025_14_17_06_9440.jpg
/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_17_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677500","1338677487","1338677502","1338677491","1338677494","1338677497"],"photo_ids_order":["1338677487","1338677491","1338677494","1338677497","1338677500","1338677502"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a1ba2388a601d58d0f691f9d12dc833b.jpg","text":"TemporaryFile(/tmp/multipartBody6459318403819052423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085773351,"filename":"image_20022025_14_17_06_9440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66d5fda96ecb7eb098a05be92c45114c.jpg","text":"TemporaryFile(/tmp/multipartBody833847991336938925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085773351,"filename":"image_20022025_14_16_27_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6020d359593a2d08406e444b20dea51a.jpg","text":"TemporaryFile(/tmp/multipartBody5244783654399727890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085773351,"filename":"image_20022025_14_17_17_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3124b02450954f3eadb7654969fd4396.jpg","text":"TemporaryFile(/tmp/multipartBody2306060430906044613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085773351,"filename":"image_20022025_14_16_36_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/888bef222d5f5e24ce97eb43f8ad3dba.jpg","text":"TemporaryFile(/tmp/multipartBody2558606421305346059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085773351,"filename":"image_20022025_14_16_47_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c875476e80158709c9e53dc577312f46.jpg","text":"TemporaryFile(/tmp/multipartBody7575260281640856009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085773351,"filename":"image_20022025_14_16_57_10330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677494","file1":"1338677491","file0":"1338677487","file4":"1338677500","file5":"1338677502","file3":"1338677497"},"map_files_photo_id_array":[{"photo_id":"1338677502","filename":"file5"},{"photo_id":"1338677494","filename":"file2"},{"photo_id":"1338677500","filename":"file4"},{"photo_id":"1338677491","filename":"file1"},{"photo_id":"1338677487","filename":"file0"},{"photo_id":"1338677497","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677500":["hashtag1","hashtag2"]},{"1338677487":["hashtag1","hashtag2"]},{"1338677502":["hashtag1","hashtag2"]},{"1338677491":["hashtag1","hashtag2"]},{"1338677494":["hashtag1","hashtag2"]},{"1338677497":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677500, 1338677487, 1338677502, 1338677491, 1338677494, 1338677497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8540358543396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:09:33.081275
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_26_9339.jpg', '/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_36_10333.jpg', '/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_47_10344.jpg', '/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_56_9338.jpg', '/home/pi/Desktop/images/20022025/14/17/image_20022025_14_18_06_10401.jpg', '/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_17_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_26_9339.jpg
/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_36_10333.jpg
/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_47_10344.jpg
/home/pi/Desktop/images/20022025/14/17/image_20022025_14_17_56_9338.jpg
/home/pi/Desktop/images/20022025/14/17/image_20022025_14_18_06_10401.jpg
/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_17_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677527","1338677532","1338677541","1338677529","1338677536","1338677539"],"photo_ids_order":["1338677527","1338677529","1338677532","1338677536","1338677539","1338677541"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac13a47b6aa30ea00406fdc620184a77.jpg","text":"TemporaryFile(/tmp/multipartBody4763753126386475083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085833648,"filename":"image_20022025_14_17_26_9339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7be527782ebb8a8840b5cab11a96b1d.jpg","text":"TemporaryFile(/tmp/multipartBody8520645409834706214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085833648,"filename":"image_20022025_14_17_47_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe6e9987d960502effc749f02707594b.jpg","text":"TemporaryFile(/tmp/multipartBody6772416033410486672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085833648,"filename":"image_20022025_14_18_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a8cb10996db5bd1247aee0d824662588.jpg","text":"TemporaryFile(/tmp/multipartBody3180970391745110984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085833648,"filename":"image_20022025_14_17_36_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f7301a73899d1ff0bcb5d862dcae8748.jpg","text":"TemporaryFile(/tmp/multipartBody860915932362714595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085833648,"filename":"image_20022025_14_17_56_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc7bae64bdf72e20c9e550929ec58190.jpg","text":"TemporaryFile(/tmp/multipartBody4075365404687344846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085833648,"filename":"image_20022025_14_18_06_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677532","file1":"1338677529","file0":"1338677527","file4":"1338677539","file5":"1338677541","file3":"1338677536"},"map_files_photo_id_array":[{"photo_id":"1338677541","filename":"file5"},{"photo_id":"1338677532","filename":"file2"},{"photo_id":"1338677539","filename":"file4"},{"photo_id":"1338677529","filename":"file1"},{"photo_id":"1338677527","filename":"file0"},{"photo_id":"1338677536","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677527":["hashtag1","hashtag2"]},{"1338677532":["hashtag1","hashtag2"]},{"1338677541":["hashtag1","hashtag2"]},{"1338677529":["hashtag1","hashtag2"]},{"1338677536":["hashtag1","hashtag2"]},{"1338677539":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677527, 1338677532, 1338677541, 1338677529, 1338677536, 1338677539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.373430252075195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:10:32.236020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_26_9331.jpg', '/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_37_10395.jpg', '/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_47_10317.jpg', '/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_56_9442.jpg', '/home/pi/Desktop/images/20022025/14/18/image_20022025_14_19_07_10404.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_16_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_26_9331.jpg
/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_37_10395.jpg
/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_47_10317.jpg
/home/pi/Desktop/images/20022025/14/18/image_20022025_14_18_56_9442.jpg
/home/pi/Desktop/images/20022025/14/18/image_20022025_14_19_07_10404.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_16_9320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677614","1338677602","1338677622","1338677599","1338677590","1338677596"],"photo_ids_order":["1338677590","1338677596","1338677599","1338677602","1338677614","1338677622"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/44f542b556bb2bd81c3506f736df5825.jpg","text":"TemporaryFile(/tmp/multipartBody1939560213831403099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085892809,"filename":"image_20022025_14_19_07_10404.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/251668effb7d4e5e6780adf46709e4e8.jpg","text":"TemporaryFile(/tmp/multipartBody9065759066188674582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085892809,"filename":"image_20022025_14_18_56_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/68bb4f6d16a0f8c7b0ccab120ddf9f01.jpg","text":"TemporaryFile(/tmp/multipartBody4144676188657747397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085892809,"filename":"image_20022025_14_19_16_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6112d068a6279b71d61155a7daa6e50f.jpg","text":"TemporaryFile(/tmp/multipartBody3122522353000990421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085892809,"filename":"image_20022025_14_18_47_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1521f850ab92b5013f558500e82be78a.jpg","text":"TemporaryFile(/tmp/multipartBody8678097329161583240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085892809,"filename":"image_20022025_14_18_26_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/96723dfbf89d6197ac6b3c39b942efdb.jpg","text":"TemporaryFile(/tmp/multipartBody7018068724959343583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085892809,"filename":"image_20022025_14_18_37_10395.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677599","file1":"1338677596","file0":"1338677590","file4":"1338677614","file5":"1338677622","file3":"1338677602"},"map_files_photo_id_array":[{"photo_id":"1338677622","filename":"file5"},{"photo_id":"1338677599","filename":"file2"},{"photo_id":"1338677614","filename":"file4"},{"photo_id":"1338677596","filename":"file1"},{"photo_id":"1338677590","filename":"file0"},{"photo_id":"1338677602","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677614":["hashtag1","hashtag2"]},{"1338677602":["hashtag1","hashtag2"]},{"1338677622":["hashtag1","hashtag2"]},{"1338677599":["hashtag1","hashtag2"]},{"1338677590":["hashtag1","hashtag2"]},{"1338677596":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677614, 1338677602, 1338677622, 1338677599, 1338677590, 1338677596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18690204620361 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:11:32.354181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_26_10343.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_37_10433.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_46_9475.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_57_10421.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_20_06_9317.jpg', '/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_16_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_26_10343.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_37_10433.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_46_9475.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_57_10421.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_20_06_9317.jpg
/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_16_10393.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.455812931060791 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 22:11:42.413942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_26_10343.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_37_10433.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_46_9475.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_57_10421.jpg', '/home/pi/Desktop/images/20022025/14/19/image_20022025_14_20_06_9317.jpg', '/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_16_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_26_10343.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_37_10433.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_46_9475.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_19_57_10421.jpg
/home/pi/Desktop/images/20022025/14/19/image_20022025_14_20_06_9317.jpg
/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_16_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677646","1338677642","1338677654","1338677656","1338677659","1338677650"],"photo_ids_order":["1338677642","1338677646","1338677650","1338677654","1338677656","1338677659"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e26726a2dbb20759ad822938e098004.jpg","text":"TemporaryFile(/tmp/multipartBody6835550274169596459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085962896,"filename":"image_20022025_14_19_37_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c69325af5e1c0746cdfcf563a9e9e8a5.jpg","text":"TemporaryFile(/tmp/multipartBody419745827239880094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085962896,"filename":"image_20022025_14_19_26_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7be0abc69d0f7acd9d7c68404db058fa.jpg","text":"TemporaryFile(/tmp/multipartBody7630270239033803574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085962896,"filename":"image_20022025_14_19_57_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5921e7b8a54d56e42409d87bddeb26aa.jpg","text":"TemporaryFile(/tmp/multipartBody5984624928178750216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085962896,"filename":"image_20022025_14_20_06_9317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ddcb52763df91b8e60fa82cfcc4568f0.jpg","text":"TemporaryFile(/tmp/multipartBody4069884712671933535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085962896,"filename":"image_20022025_14_20_16_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/667cc35b16182fc293209127c05245f8.jpg","text":"TemporaryFile(/tmp/multipartBody8705034010227509861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740085962896,"filename":"image_20022025_14_19_46_9475.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677650","file1":"1338677646","file0":"1338677642","file4":"1338677656","file5":"1338677659","file3":"1338677654"},"map_files_photo_id_array":[{"photo_id":"1338677659","filename":"file5"},{"photo_id":"1338677650","filename":"file2"},{"photo_id":"1338677656","filename":"file4"},{"photo_id":"1338677646","filename":"file1"},{"photo_id":"1338677642","filename":"file0"},{"photo_id":"1338677654","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677646":["hashtag1","hashtag2"]},{"1338677642":["hashtag1","hashtag2"]},{"1338677654":["hashtag1","hashtag2"]},{"1338677656":["hashtag1","hashtag2"]},{"1338677659":["hashtag1","hashtag2"]},{"1338677650":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677646, 1338677642, 1338677654, 1338677656, 1338677659, 1338677650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76459860801697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:12:32.653987
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_27_10378.jpg', '/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_36_9420.jpg', '/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_47_10438.jpg', '/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_56_9344.jpg', '/home/pi/Desktop/images/20022025/14/20/image_20022025_14_21_06_10403.jpg', '/home/pi/Desktop/images/20022025/14/21/image_20022025_14_21_17_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_27_10378.jpg
/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_36_9420.jpg
/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_47_10438.jpg
/home/pi/Desktop/images/20022025/14/20/image_20022025_14_20_56_9344.jpg
/home/pi/Desktop/images/20022025/14/20/image_20022025_14_21_06_10403.jpg
/home/pi/Desktop/images/20022025/14/21/image_20022025_14_21_17_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677704","1338677713","1338677706","1338677696","1338677698","1338677701"],"photo_ids_order":["1338677696","1338677698","1338677701","1338677704","1338677706","1338677713"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e361cfe791899fa20c3d70b025711e7e.jpg","text":"TemporaryFile(/tmp/multipartBody5066792787775847949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086013242,"filename":"image_20022025_14_20_56_9344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/485bf60fec91262864162fc2997b8e77.jpg","text":"TemporaryFile(/tmp/multipartBody1980304743525674428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086013242,"filename":"image_20022025_14_21_17_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e08527ba2b4688909068e6400f9c66f6.jpg","text":"TemporaryFile(/tmp/multipartBody4382718141755453059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086013242,"filename":"image_20022025_14_21_06_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4ac98b4b322ad8c023a3210d18d5cdba.jpg","text":"TemporaryFile(/tmp/multipartBody5647493551656312934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086013242,"filename":"image_20022025_14_20_27_10378.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c02c6798e6fc82950dabe19d58ac61d2.jpg","text":"TemporaryFile(/tmp/multipartBody5879612508259457941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086013242,"filename":"image_20022025_14_20_36_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d308861789fed0744ff4fd4b12063d7a.jpg","text":"TemporaryFile(/tmp/multipartBody7130220653544049507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086013242,"filename":"image_20022025_14_20_47_10438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677701","file1":"1338677698","file0":"1338677696","file4":"1338677706","file5":"1338677713","file3":"1338677704"},"map_files_photo_id_array":[{"photo_id":"1338677713","filename":"file5"},{"photo_id":"1338677701","filename":"file2"},{"photo_id":"1338677706","filename":"file4"},{"photo_id":"1338677698","filename":"file1"},{"photo_id":"1338677696","filename":"file0"},{"photo_id":"1338677704","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677704":["hashtag1","hashtag2"]},{"1338677713":["hashtag1","hashtag2"]},{"1338677706":["hashtag1","hashtag2"]},{"1338677696":["hashtag1","hashtag2"]},{"1338677698":["hashtag1","hashtag2"]},{"1338677701":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677704, 1338677713, 1338677706, 1338677696, 1338677698, 1338677701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.22072434425354 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:13:32.871793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/21/image_20022025_14_21_37_10454.jpg', '/home/pi/Desktop/images/20022025/14/21/image_20022025_14_21_47_10341.jpg', '/home/pi/Desktop/images/20022025/14/21/image_20022025_14_21_56_9412.jpg', '/home/pi/Desktop/images/20022025/14/21/image_20022025_14_22_07_10366.jpg', '/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_16_9340.jpg', '/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_26_10355.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/21/image_20022025_14_21_37_10454.jpg
/home/pi/Desktop/images/20022025/14/21/image_20022025_14_21_47_10341.jpg
/home/pi/Desktop/images/20022025/14/21/image_20022025_14_21_56_9412.jpg
/home/pi/Desktop/images/20022025/14/21/image_20022025_14_22_07_10366.jpg
/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_16_9340.jpg
/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_26_10355.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677775","1338677760","1338677771","1338677783","1338677765","1338677773"],"photo_ids_order":["1338677760","1338677765","1338677771","1338677773","1338677775","1338677783"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/de035731c5435edf79ed0a41fdeb77a1.jpg","text":"TemporaryFile(/tmp/multipartBody6994709360422858340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086073507,"filename":"image_20022025_14_22_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c091040c11db07ab511ec19d02063be4.jpg","text":"TemporaryFile(/tmp/multipartBody8647684812248078884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086073507,"filename":"image_20022025_14_21_37_10454.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c9b56eef1d6c10aec2b2824065fb60de.jpg","text":"TemporaryFile(/tmp/multipartBody4699662697899525056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086073507,"filename":"image_20022025_14_21_56_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1189bfd76f033f8277870b31494fb77.jpg","text":"TemporaryFile(/tmp/multipartBody8718670345622630379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086073507,"filename":"image_20022025_14_22_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60d6c22536f4d29e64562b6da3f4b9e7.jpg","text":"TemporaryFile(/tmp/multipartBody2760993792104420326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086073507,"filename":"image_20022025_14_21_47_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cb439d2024a5f9b6cd1b8cfde3761e34.jpg","text":"TemporaryFile(/tmp/multipartBody7015879617029156841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086073507,"filename":"image_20022025_14_22_07_10366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677771","file1":"1338677765","file0":"1338677760","file4":"1338677775","file5":"1338677783","file3":"1338677773"},"map_files_photo_id_array":[{"photo_id":"1338677783","filename":"file5"},{"photo_id":"1338677771","filename":"file2"},{"photo_id":"1338677775","filename":"file4"},{"photo_id":"1338677765","filename":"file1"},{"photo_id":"1338677760","filename":"file0"},{"photo_id":"1338677773","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677775":["hashtag1","hashtag2"]},{"1338677760":["hashtag1","hashtag2"]},{"1338677771":["hashtag1","hashtag2"]},{"1338677783":["hashtag1","hashtag2"]},{"1338677765":["hashtag1","hashtag2"]},{"1338677773":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677775, 1338677760, 1338677771, 1338677783, 1338677765, 1338677773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53972387313843 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:14:32.981366
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_37_10336.jpg', '/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_46_9369.jpg', '/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_57_10500.jpg', '/home/pi/Desktop/images/20022025/14/22/image_20022025_14_23_07_10322.jpg', '/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_16_9335.jpg', '/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_27_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_37_10336.jpg
/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_46_9369.jpg
/home/pi/Desktop/images/20022025/14/22/image_20022025_14_22_57_10500.jpg
/home/pi/Desktop/images/20022025/14/22/image_20022025_14_23_07_10322.jpg
/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_16_9335.jpg
/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_27_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677824","1338677803","1338677826","1338677817","1338677825","1338677821"],"photo_ids_order":["1338677803","1338677817","1338677821","1338677824","1338677825","1338677826"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/99d3001ccdeae86e413d79da3c034182.jpg","text":"TemporaryFile(/tmp/multipartBody5070518389565473472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086133540,"filename":"image_20022025_14_23_07_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0bcc9168213792da9141fa208ff8b661.jpg","text":"TemporaryFile(/tmp/multipartBody2720411046825611627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086133540,"filename":"image_20022025_14_22_37_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a8e285c5999b321cf3abf88826fbb86.jpg","text":"TemporaryFile(/tmp/multipartBody2615284857582071807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086133540,"filename":"image_20022025_14_23_27_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f5cefaf143e06d28be6ad6494b6c6577.jpg","text":"TemporaryFile(/tmp/multipartBody8654879719523904366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086133540,"filename":"image_20022025_14_22_46_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1d525509e4dd5f36ecb978a7e476dc03.jpg","text":"TemporaryFile(/tmp/multipartBody2994153380402816707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086133540,"filename":"image_20022025_14_23_16_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7959e57c2704e75ebcd5dd9afe7db31.jpg","text":"TemporaryFile(/tmp/multipartBody6907003586838517555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086133540,"filename":"image_20022025_14_22_57_10500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677821","file1":"1338677817","file0":"1338677803","file4":"1338677825","file5":"1338677826","file3":"1338677824"},"map_files_photo_id_array":[{"photo_id":"1338677826","filename":"file5"},{"photo_id":"1338677821","filename":"file2"},{"photo_id":"1338677825","filename":"file4"},{"photo_id":"1338677817","filename":"file1"},{"photo_id":"1338677803","filename":"file0"},{"photo_id":"1338677824","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677824":["hashtag1","hashtag2"]},{"1338677803":["hashtag1","hashtag2"]},{"1338677826":["hashtag1","hashtag2"]},{"1338677817":["hashtag1","hashtag2"]},{"1338677825":["hashtag1","hashtag2"]},{"1338677821":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677824, 1338677803, 1338677826, 1338677817, 1338677825, 1338677821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50478768348694 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:15:33.134788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_36_9330.jpg', '/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_46_10368.jpg', '/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_57_10394.jpg', '/home/pi/Desktop/images/20022025/14/23/image_20022025_14_24_06_9320.jpg', '/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_16_10315.jpg', '/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_27_10340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_36_9330.jpg
/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_46_10368.jpg
/home/pi/Desktop/images/20022025/14/23/image_20022025_14_23_57_10394.jpg
/home/pi/Desktop/images/20022025/14/23/image_20022025_14_24_06_9320.jpg
/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_16_10315.jpg
/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_27_10340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338677868","1338677877","1338677862","1338677876","1338677855","1338677875"],"photo_ids_order":["1338677855","1338677862","1338677868","1338677875","1338677876","1338677877"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/80c8b60a2229facad3e7aaad8d0793f1.jpg","text":"TemporaryFile(/tmp/multipartBody3848426841268564405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086193782,"filename":"image_20022025_14_23_57_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/758a7008eaf767be1382ca92af319ab4.jpg","text":"TemporaryFile(/tmp/multipartBody2224945725684402966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086193782,"filename":"image_20022025_14_24_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/847dbe12b3ea56c83d575b3824d4ae98.jpg","text":"TemporaryFile(/tmp/multipartBody7750582042101269427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086193782,"filename":"image_20022025_14_23_46_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f552f1195c4360a18c36c21e112a97ae.jpg","text":"TemporaryFile(/tmp/multipartBody6958277925498432080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086193782,"filename":"image_20022025_14_24_16_10315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7cd27903b55a7b692c15a198c190b32a.jpg","text":"TemporaryFile(/tmp/multipartBody4185459243702804344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086193782,"filename":"image_20022025_14_23_36_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ccd3b3d52ad8def21f89251c128d77e9.jpg","text":"TemporaryFile(/tmp/multipartBody8402177763801972272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086193782,"filename":"image_20022025_14_24_06_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338677868","file1":"1338677862","file0":"1338677855","file4":"1338677876","file5":"1338677877","file3":"1338677875"},"map_files_photo_id_array":[{"photo_id":"1338677877","filename":"file5"},{"photo_id":"1338677868","filename":"file2"},{"photo_id":"1338677876","filename":"file4"},{"photo_id":"1338677862","filename":"file1"},{"photo_id":"1338677855","filename":"file0"},{"photo_id":"1338677875","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338677868":["hashtag1","hashtag2"]},{"1338677877":["hashtag1","hashtag2"]},{"1338677862":["hashtag1","hashtag2"]},{"1338677876":["hashtag1","hashtag2"]},{"1338677855":["hashtag1","hashtag2"]},{"1338677875":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338677868, 1338677877, 1338677862, 1338677876, 1338677855, 1338677875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.55950307846069 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:16:32.305174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_36_9348.jpg', '/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_46_10436.jpg', '/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_57_10333.jpg', '/home/pi/Desktop/images/20022025/14/24/image_20022025_14_25_06_9309.jpg', '/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_17_10452.jpg', '/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_27_10362.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_36_9348.jpg
/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_46_10436.jpg
/home/pi/Desktop/images/20022025/14/24/image_20022025_14_24_57_10333.jpg
/home/pi/Desktop/images/20022025/14/24/image_20022025_14_25_06_9309.jpg
/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_17_10452.jpg
/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_27_10362.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338678111","1338678185","1338678212","1338678101","1338678119","1338678196"],"photo_ids_order":["1338678101","1338678111","1338678119","1338678185","1338678196","1338678212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f86b78cda63301c5faad02c67573e4ba.jpg","text":"TemporaryFile(/tmp/multipartBody695270094367020699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086252891,"filename":"image_20022025_14_24_46_10436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ce03b18d674d79842e7427ed801f006.jpg","text":"TemporaryFile(/tmp/multipartBody2082339069115655977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086252891,"filename":"image_20022025_14_25_06_9309.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22c94f547f01bf6c5e9a77bf0d1eb846.jpg","text":"TemporaryFile(/tmp/multipartBody5313813855535375852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086252891,"filename":"image_20022025_14_25_27_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c137ddf1ca94c97ea9c86494fa2c059a.jpg","text":"TemporaryFile(/tmp/multipartBody3178190797873362478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086252891,"filename":"image_20022025_14_24_36_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20c37c268a29e19d39bc1201e73361ee.jpg","text":"TemporaryFile(/tmp/multipartBody4387907381229085179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086252891,"filename":"image_20022025_14_24_57_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12574517163e45b27be9e6aa7ea6b6e5.jpg","text":"TemporaryFile(/tmp/multipartBody68621616600037008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086252891,"filename":"image_20022025_14_25_17_10452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338678119","file1":"1338678111","file0":"1338678101","file4":"1338678196","file5":"1338678212","file3":"1338678185"},"map_files_photo_id_array":[{"photo_id":"1338678212","filename":"file5"},{"photo_id":"1338678119","filename":"file2"},{"photo_id":"1338678196","filename":"file4"},{"photo_id":"1338678111","filename":"file1"},{"photo_id":"1338678101","filename":"file0"},{"photo_id":"1338678185","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338678111":["hashtag1","hashtag2"]},{"1338678185":["hashtag1","hashtag2"]},{"1338678212":["hashtag1","hashtag2"]},{"1338678101":["hashtag1","hashtag2"]},{"1338678119":["hashtag1","hashtag2"]},{"1338678196":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338678111, 1338678185, 1338678212, 1338678101, 1338678119, 1338678196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.290451765060425 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:17:32.441326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_36_9356.jpg', '/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_47_10433.jpg', '/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_56_9327.jpg', '/home/pi/Desktop/images/20022025/14/25/image_20022025_14_26_06_10336.jpg', '/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_17_10320.jpg', '/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_26_9349.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_36_9356.jpg
/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_47_10433.jpg
/home/pi/Desktop/images/20022025/14/25/image_20022025_14_25_56_9327.jpg
/home/pi/Desktop/images/20022025/14/25/image_20022025_14_26_06_10336.jpg
/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_17_10320.jpg
/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_26_9349.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338678849","1338678762","1338678845","1338678895","1338678897","1338678829"],"photo_ids_order":["1338678762","1338678829","1338678845","1338678849","1338678895","1338678897"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8aa1a8820045f0586f1ed59ba76799b6.jpg","text":"TemporaryFile(/tmp/multipartBody7186670752082711953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086313030,"filename":"image_20022025_14_26_06_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2da9c333f0bbb1b7d73dac38baec2039.jpg","text":"TemporaryFile(/tmp/multipartBody1278681509189172558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086313030,"filename":"image_20022025_14_25_36_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/afbe1938cd5453c0a4c5db4f718a2653.jpg","text":"TemporaryFile(/tmp/multipartBody244777412388322917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086313030,"filename":"image_20022025_14_25_56_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/840aca53c96fb5747b882858c9658d18.jpg","text":"TemporaryFile(/tmp/multipartBody3980742214149299890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086313030,"filename":"image_20022025_14_26_17_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3273293f1f5748b257eabe29aa83861a.jpg","text":"TemporaryFile(/tmp/multipartBody5303916841791894944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086313030,"filename":"image_20022025_14_26_26_9349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a338e3b5bb9856823ba751981c051222.jpg","text":"TemporaryFile(/tmp/multipartBody1090483627034508571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086313030,"filename":"image_20022025_14_25_47_10433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338678845","file1":"1338678829","file0":"1338678762","file4":"1338678895","file5":"1338678897","file3":"1338678849"},"map_files_photo_id_array":[{"photo_id":"1338678897","filename":"file5"},{"photo_id":"1338678845","filename":"file2"},{"photo_id":"1338678895","filename":"file4"},{"photo_id":"1338678829","filename":"file1"},{"photo_id":"1338678762","filename":"file0"},{"photo_id":"1338678849","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338678849":["hashtag1","hashtag2"]},{"1338678762":["hashtag1","hashtag2"]},{"1338678845":["hashtag1","hashtag2"]},{"1338678895":["hashtag1","hashtag2"]},{"1338678897":["hashtag1","hashtag2"]},{"1338678829":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338678849, 1338678762, 1338678845, 1338678895, 1338678897, 1338678829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.101338386535645 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:18:32.575585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_37_10507.jpg', '/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_46_9666.jpg', '/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_57_10384.jpg', '/home/pi/Desktop/images/20022025/14/26/image_20022025_14_27_06_9339.jpg', '/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_16_10342.jpg', '/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_27_10447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_37_10507.jpg
/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_46_9666.jpg
/home/pi/Desktop/images/20022025/14/26/image_20022025_14_26_57_10384.jpg
/home/pi/Desktop/images/20022025/14/26/image_20022025_14_27_06_9339.jpg
/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_16_10342.jpg
/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_27_10447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338678933","1338678918","1338678922","1338678931","1338678925","1338678928"],"photo_ids_order":["1338678918","1338678922","1338678925","1338678928","1338678931","1338678933"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f03328e1fd3001b1b5f8fc3ea4f1a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody7800196117721676240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086373140,"filename":"image_20022025_14_27_27_10447.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/350e1f5b3689ede0057465786f68ca70.jpg","text":"TemporaryFile(/tmp/multipartBody1440512545950126640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086373140,"filename":"image_20022025_14_26_37_10507.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7bcf8ccdace464f17cf8ce339efc392.jpg","text":"TemporaryFile(/tmp/multipartBody2245605855712536916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086373140,"filename":"image_20022025_14_26_46_9666.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0de12e4a1342aa02367401cc1dfb8a5b.jpg","text":"TemporaryFile(/tmp/multipartBody8229901948486839624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086373140,"filename":"image_20022025_14_27_16_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/86a2ae53b5945c8c19179d81b12f3771.jpg","text":"TemporaryFile(/tmp/multipartBody7299156008091580997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086373140,"filename":"image_20022025_14_26_57_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b85c8ea1aa18899e32a2dbc2bf55a74c.jpg","text":"TemporaryFile(/tmp/multipartBody677619543702746691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086373140,"filename":"image_20022025_14_27_06_9339.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338678925","file1":"1338678922","file0":"1338678918","file4":"1338678931","file5":"1338678933","file3":"1338678928"},"map_files_photo_id_array":[{"photo_id":"1338678933","filename":"file5"},{"photo_id":"1338678925","filename":"file2"},{"photo_id":"1338678931","filename":"file4"},{"photo_id":"1338678922","filename":"file1"},{"photo_id":"1338678918","filename":"file0"},{"photo_id":"1338678928","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338678933":["hashtag1","hashtag2"]},{"1338678918":["hashtag1","hashtag2"]},{"1338678922":["hashtag1","hashtag2"]},{"1338678931":["hashtag1","hashtag2"]},{"1338678925":["hashtag1","hashtag2"]},{"1338678928":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338678933, 1338678918, 1338678922, 1338678931, 1338678925, 1338678928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.125706911087036 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:19:32.921352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_36_9341.jpg', '/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_46_10389.jpg', '/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_57_10418.jpg', '/home/pi/Desktop/images/20022025/14/27/image_20022025_14_28_06_9324.jpg', '/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_17_10346.jpg', '/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_27_10368.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_36_9341.jpg
/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_46_10389.jpg
/home/pi/Desktop/images/20022025/14/27/image_20022025_14_27_57_10418.jpg
/home/pi/Desktop/images/20022025/14/27/image_20022025_14_28_06_9324.jpg
/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_17_10346.jpg
/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_27_10368.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338678965","1338678968","1338678985","1338678982","1338678976","1338678979"],"photo_ids_order":["1338678965","1338678968","1338678976","1338678979","1338678982","1338678985"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ba65dd661962c551db5dc16856ff318.jpg","text":"TemporaryFile(/tmp/multipartBody8615311641027730046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086433481,"filename":"image_20022025_14_27_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30e60a690840b410b69d038a5a3b4b12.jpg","text":"TemporaryFile(/tmp/multipartBody5187203118201439174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086433481,"filename":"image_20022025_14_27_46_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bff74bf6f0f318b8cb6d83f2159360e.jpg","text":"TemporaryFile(/tmp/multipartBody5752877099356415155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086433481,"filename":"image_20022025_14_28_27_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6d71422a2066f121abbe4f0d53b0b87e.jpg","text":"TemporaryFile(/tmp/multipartBody6964619273628857465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086433481,"filename":"image_20022025_14_28_17_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b8deeef004ab3eab3ff441ce85ab0176.jpg","text":"TemporaryFile(/tmp/multipartBody2373572963610349240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086433481,"filename":"image_20022025_14_27_57_10418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1e3e1f6c84ba74ecaccce4f36d53cc6.jpg","text":"TemporaryFile(/tmp/multipartBody1970128930266156306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086433481,"filename":"image_20022025_14_28_06_9324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338678976","file1":"1338678968","file0":"1338678965","file4":"1338678982","file5":"1338678985","file3":"1338678979"},"map_files_photo_id_array":[{"photo_id":"1338678985","filename":"file5"},{"photo_id":"1338678976","filename":"file2"},{"photo_id":"1338678982","filename":"file4"},{"photo_id":"1338678968","filename":"file1"},{"photo_id":"1338678965","filename":"file0"},{"photo_id":"1338678979","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338678965":["hashtag1","hashtag2"]},{"1338678968":["hashtag1","hashtag2"]},{"1338678985":["hashtag1","hashtag2"]},{"1338678982":["hashtag1","hashtag2"]},{"1338678976":["hashtag1","hashtag2"]},{"1338678979":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338678965, 1338678968, 1338678985, 1338678982, 1338678976, 1338678979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.216052770614624 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:20:33.007458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_36_9365.jpg', '/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_47_10431.jpg', '/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_56_9328.jpg', '/home/pi/Desktop/images/20022025/14/28/image_20022025_14_29_07_10460.jpg', '/home/pi/Desktop/images/20022025/14/29/image_20022025_14_29_17_10406.jpg', '/home/pi/Desktop/images/20022025/14/29/image_20022025_14_29_26_9351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_36_9365.jpg
/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_47_10431.jpg
/home/pi/Desktop/images/20022025/14/28/image_20022025_14_28_56_9328.jpg
/home/pi/Desktop/images/20022025/14/28/image_20022025_14_29_07_10460.jpg
/home/pi/Desktop/images/20022025/14/29/image_20022025_14_29_17_10406.jpg
/home/pi/Desktop/images/20022025/14/29/image_20022025_14_29_26_9351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338679017","1338679031","1338679013","1338679037","1338679024","1338679020"],"photo_ids_order":["1338679013","1338679017","1338679020","1338679024","1338679031","1338679037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e52cb7f2fb3d81a1d7a38a5f2d241fb4.jpg","text":"TemporaryFile(/tmp/multipartBody317092426993112352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086493587,"filename":"image_20022025_14_28_47_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b3d1c0365f784a15e9a8eb29309f72f8.jpg","text":"TemporaryFile(/tmp/multipartBody8110061005401799272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086493587,"filename":"image_20022025_14_29_17_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75e1cde8a482ccfe089e4639e7d4da22.jpg","text":"TemporaryFile(/tmp/multipartBody650219725895880112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086493587,"filename":"image_20022025_14_28_36_9365.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/170c4a17f5231468f70d1396c31a29a6.jpg","text":"TemporaryFile(/tmp/multipartBody58237099135835091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086493587,"filename":"image_20022025_14_29_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bfa4f8255ae06c10adfc8ed6e0c73e40.jpg","text":"TemporaryFile(/tmp/multipartBody2071014911193679309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086493587,"filename":"image_20022025_14_29_07_10460.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd1d65bcf2874a8e437b23b8ccf435df.jpg","text":"TemporaryFile(/tmp/multipartBody6231266010311790844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086493587,"filename":"image_20022025_14_28_56_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338679020","file1":"1338679017","file0":"1338679013","file4":"1338679031","file5":"1338679037","file3":"1338679024"},"map_files_photo_id_array":[{"photo_id":"1338679037","filename":"file5"},{"photo_id":"1338679020","filename":"file2"},{"photo_id":"1338679031","filename":"file4"},{"photo_id":"1338679017","filename":"file1"},{"photo_id":"1338679013","filename":"file0"},{"photo_id":"1338679024","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338679017":["hashtag1","hashtag2"]},{"1338679031":["hashtag1","hashtag2"]},{"1338679013":["hashtag1","hashtag2"]},{"1338679037":["hashtag1","hashtag2"]},{"1338679024":["hashtag1","hashtag2"]},{"1338679020":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338679017, 1338679031, 1338679013, 1338679037, 1338679024, 1338679020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02469778060913 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:21:32.180476
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/29/image_20022025_14_29_47_10311.jpg', '/home/pi/Desktop/images/20022025/14/29/image_20022025_14_29_56_9325.jpg', '/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_16_9328.jpg', '/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_27_10500.jpg', '/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_37_10359.jpg', '/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_46_9325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/29/image_20022025_14_29_47_10311.jpg
/home/pi/Desktop/images/20022025/14/29/image_20022025_14_29_56_9325.jpg
/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_16_9328.jpg
/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_27_10500.jpg
/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_37_10359.jpg
/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_46_9325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338679052","1338679055","1338679090","1338679078","1338679083","1338679068"],"photo_ids_order":["1338679052","1338679055","1338679068","1338679078","1338679083","1338679090"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/79e5bfd1b5293d791b3df32849afe633.jpg","text":"TemporaryFile(/tmp/multipartBody1845922373925005081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086552775,"filename":"image_20022025_14_29_47_10311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/489e6abb5369fbc355863ee5f658dd3c.jpg","text":"TemporaryFile(/tmp/multipartBody2794537926377138585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086552775,"filename":"image_20022025_14_29_56_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ef39a757e4480164dd676b5566e0510.jpg","text":"TemporaryFile(/tmp/multipartBody1959309061707878644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086552775,"filename":"image_20022025_14_30_46_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d043c4c9af75ada59239ccef65776cb9.jpg","text":"TemporaryFile(/tmp/multipartBody7467833600222473222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086552775,"filename":"image_20022025_14_30_27_10500.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3eee950c57e0f0943b3977deabccb9b4.jpg","text":"TemporaryFile(/tmp/multipartBody5482561035151619595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086552775,"filename":"image_20022025_14_30_37_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/074ffaa8ae1e34a753af405bb865ebdb.jpg","text":"TemporaryFile(/tmp/multipartBody580552080585046283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086552775,"filename":"image_20022025_14_30_16_9328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338679068","file1":"1338679055","file0":"1338679052","file4":"1338679083","file5":"1338679090","file3":"1338679078"},"map_files_photo_id_array":[{"photo_id":"1338679090","filename":"file5"},{"photo_id":"1338679068","filename":"file2"},{"photo_id":"1338679083","filename":"file4"},{"photo_id":"1338679055","filename":"file1"},{"photo_id":"1338679052","filename":"file0"},{"photo_id":"1338679078","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338679052":["hashtag1","hashtag2"]},{"1338679055":["hashtag1","hashtag2"]},{"1338679090":["hashtag1","hashtag2"]},{"1338679078":["hashtag1","hashtag2"]},{"1338679083":["hashtag1","hashtag2"]},{"1338679068":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338679052, 1338679055, 1338679090, 1338679078, 1338679083, 1338679068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85071611404419 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:22:32.444749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_57_10373.jpg', '/home/pi/Desktop/images/20022025/14/30/image_20022025_14_31_06_9427.jpg', '/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_16_10331.jpg', '/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_27_10446.jpg', '/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_36_9419.jpg', '/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_47_10354.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/30/image_20022025_14_30_57_10373.jpg
/home/pi/Desktop/images/20022025/14/30/image_20022025_14_31_06_9427.jpg
/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_16_10331.jpg
/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_27_10446.jpg
/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_36_9419.jpg
/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_47_10354.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338679125","1338679133","1338679121","1338679117","1338679131","1338679128"],"photo_ids_order":["1338679117","1338679121","1338679125","1338679128","1338679131","1338679133"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a21319161cc17b3a797d3a6b0aba1df4.jpg","text":"TemporaryFile(/tmp/multipartBody6091095759938235765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086613010,"filename":"image_20022025_14_31_16_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c90056aa1ef62b5e1f682815a6c92175.jpg","text":"TemporaryFile(/tmp/multipartBody3471680890774802679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086613010,"filename":"image_20022025_14_31_47_10354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b3de343901e235ce5afa373d09b3e64d.jpg","text":"TemporaryFile(/tmp/multipartBody389829093923060124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086613010,"filename":"image_20022025_14_31_06_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5b95a8dce25d2a550eba1a2ea3e462c6.jpg","text":"TemporaryFile(/tmp/multipartBody245249500010144782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086613010,"filename":"image_20022025_14_30_57_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a000a621963e362b8929a5a4b10fe4f2.jpg","text":"TemporaryFile(/tmp/multipartBody6478554636278246366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086613010,"filename":"image_20022025_14_31_36_9419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ab0d08aeab20fe702efa3144b8493b2.jpg","text":"TemporaryFile(/tmp/multipartBody6057811238365030421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086613010,"filename":"image_20022025_14_31_27_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338679125","file1":"1338679121","file0":"1338679117","file4":"1338679131","file5":"1338679133","file3":"1338679128"},"map_files_photo_id_array":[{"photo_id":"1338679133","filename":"file5"},{"photo_id":"1338679125","filename":"file2"},{"photo_id":"1338679131","filename":"file4"},{"photo_id":"1338679121","filename":"file1"},{"photo_id":"1338679117","filename":"file0"},{"photo_id":"1338679128","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338679125":["hashtag1","hashtag2"]},{"1338679133":["hashtag1","hashtag2"]},{"1338679121":["hashtag1","hashtag2"]},{"1338679117":["hashtag1","hashtag2"]},{"1338679131":["hashtag1","hashtag2"]},{"1338679128":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338679125, 1338679133, 1338679121, 1338679117, 1338679131, 1338679128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53819465637207 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:23:32.559870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_57_10383.jpg', '/home/pi/Desktop/images/20022025/14/31/image_20022025_14_32_06_9359.jpg', '/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_17_10454.jpg', '/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_26_9351.jpg', '/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_37_10606.jpg', '/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_46_9332.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/31/image_20022025_14_31_57_10383.jpg
/home/pi/Desktop/images/20022025/14/31/image_20022025_14_32_06_9359.jpg
/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_17_10454.jpg
/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_26_9351.jpg
/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_37_10606.jpg
/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_46_9332.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338679165","1338679162","1338679159","1338679150","1338679152","1338679155"],"photo_ids_order":["1338679150","1338679152","1338679155","1338679159","1338679162","1338679165"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/35898111eaab2ee45becdd636c5c97d3.jpg","text":"TemporaryFile(/tmp/multipartBody7353335965727835823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086673116,"filename":"image_20022025_14_32_46_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c3ccef63caa29462e60b11027502dd6b.jpg","text":"TemporaryFile(/tmp/multipartBody8473457001649862212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086673116,"filename":"image_20022025_14_32_37_10606.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/200795288c2293fb93821a8f733925da.jpg","text":"TemporaryFile(/tmp/multipartBody1515796522823826324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086673116,"filename":"image_20022025_14_32_26_9351.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f574c593346abd4de95e097f003d459c.jpg","text":"TemporaryFile(/tmp/multipartBody4922086352749425046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086673116,"filename":"image_20022025_14_31_57_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc35074fb228d8bed775336804c21914.jpg","text":"TemporaryFile(/tmp/multipartBody7788196033770818650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086673116,"filename":"image_20022025_14_32_06_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cdae05a0d0789db225f63ffaebbd2dea.jpg","text":"TemporaryFile(/tmp/multipartBody3464228807348993920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086673116,"filename":"image_20022025_14_32_17_10454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338679155","file1":"1338679152","file0":"1338679150","file4":"1338679162","file5":"1338679165","file3":"1338679159"},"map_files_photo_id_array":[{"photo_id":"1338679165","filename":"file5"},{"photo_id":"1338679155","filename":"file2"},{"photo_id":"1338679162","filename":"file4"},{"photo_id":"1338679152","filename":"file1"},{"photo_id":"1338679150","filename":"file0"},{"photo_id":"1338679159","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338679165":["hashtag1","hashtag2"]},{"1338679162":["hashtag1","hashtag2"]},{"1338679159":["hashtag1","hashtag2"]},{"1338679150":["hashtag1","hashtag2"]},{"1338679152":["hashtag1","hashtag2"]},{"1338679155":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338679165, 1338679162, 1338679159, 1338679150, 1338679152, 1338679155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14427828788757 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:24:32.739579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_56_10442.jpg', '/home/pi/Desktop/images/20022025/14/32/image_20022025_14_33_07_10326.jpg', '/home/pi/Desktop/images/20022025/14/33/image_20022025_14_33_16_9412.jpg', '/home/pi/Desktop/images/20022025/14/33/image_20022025_14_33_27_10358.jpg', '/home/pi/Desktop/images/20022025/14/33/image_20022025_14_33_46_10393.jpg', '/home/pi/Desktop/images/20022025/14/33/image_20022025_14_33_57_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/32/image_20022025_14_32_56_10442.jpg
/home/pi/Desktop/images/20022025/14/32/image_20022025_14_33_07_10326.jpg
/home/pi/Desktop/images/20022025/14/33/image_20022025_14_33_16_9412.jpg
/home/pi/Desktop/images/20022025/14/33/image_20022025_14_33_27_10358.jpg
/home/pi/Desktop/images/20022025/14/33/image_20022025_14_33_46_10393.jpg
/home/pi/Desktop/images/20022025/14/33/image_20022025_14_33_57_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338679196","1338679183","1338679186","1338679189","1338679180","1338679212"],"photo_ids_order":["1338679180","1338679183","1338679186","1338679189","1338679196","1338679212"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac0aacad66bc95f47b4718864ee8b34d.jpg","text":"TemporaryFile(/tmp/multipartBody3622688979844777582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086733306,"filename":"image_20022025_14_33_46_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a9cdd5f26f9436e4c56d8d39da30e67.jpg","text":"TemporaryFile(/tmp/multipartBody3979534504067093389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086733306,"filename":"image_20022025_14_33_07_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f799683135042bf8f9ec2fad3834ba5.jpg","text":"TemporaryFile(/tmp/multipartBody128817168544369726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086733306,"filename":"image_20022025_14_33_16_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d8dcbdb68f7db76bde8e73e2f0aa7e53.jpg","text":"TemporaryFile(/tmp/multipartBody4404852667984583808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086733306,"filename":"image_20022025_14_33_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14792aee002e186acaf2b04fede415f3.jpg","text":"TemporaryFile(/tmp/multipartBody1239221239303350389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086733306,"filename":"image_20022025_14_32_56_10442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/25321f784ac3d805c7334329614772ad.jpg","text":"TemporaryFile(/tmp/multipartBody450427471750158098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086733306,"filename":"image_20022025_14_33_57_10419.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338679186","file1":"1338679183","file0":"1338679180","file4":"1338679196","file5":"1338679212","file3":"1338679189"},"map_files_photo_id_array":[{"photo_id":"1338679212","filename":"file5"},{"photo_id":"1338679186","filename":"file2"},{"photo_id":"1338679196","filename":"file4"},{"photo_id":"1338679183","filename":"file1"},{"photo_id":"1338679180","filename":"file0"},{"photo_id":"1338679189","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338679196":["hashtag1","hashtag2"]},{"1338679183":["hashtag1","hashtag2"]},{"1338679186":["hashtag1","hashtag2"]},{"1338679189":["hashtag1","hashtag2"]},{"1338679180":["hashtag1","hashtag2"]},{"1338679212":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338679196, 1338679183, 1338679186, 1338679189, 1338679180, 1338679212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08979392051697 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:25:32.990392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/33/image_20022025_14_34_06_9342.jpg', '/home/pi/Desktop/images/20022025/14/34/image_20022025_14_34_17_10440.jpg', '/home/pi/Desktop/images/20022025/14/34/image_20022025_14_34_27_10358.jpg', '/home/pi/Desktop/images/20022025/14/34/image_20022025_14_34_36_9319.jpg', '/home/pi/Desktop/images/20022025/14/34/image_20022025_14_34_57_10342.jpg', '/home/pi/Desktop/images/20022025/14/34/image_20022025_14_35_06_9330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/33/image_20022025_14_34_06_9342.jpg
/home/pi/Desktop/images/20022025/14/34/image_20022025_14_34_17_10440.jpg
/home/pi/Desktop/images/20022025/14/34/image_20022025_14_34_27_10358.jpg
/home/pi/Desktop/images/20022025/14/34/image_20022025_14_34_36_9319.jpg
/home/pi/Desktop/images/20022025/14/34/image_20022025_14_34_57_10342.jpg
/home/pi/Desktop/images/20022025/14/34/image_20022025_14_35_06_9330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338679305","1338679361","1338679442","1338679483","1338679564","1338679239"],"photo_ids_order":["1338679239","1338679305","1338679361","1338679442","1338679483","1338679564"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b6fd9da90e3914023eaf3aa91b5bdbf9.jpg","text":"TemporaryFile(/tmp/multipartBody9031068409589752013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086793607,"filename":"image_20022025_14_34_17_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bdd9380b7d1882e5dd54f74c05fe667c.jpg","text":"TemporaryFile(/tmp/multipartBody7386111085183052059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086793607,"filename":"image_20022025_14_34_27_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f9972f9be54b94b37a3b7438251ed23.jpg","text":"TemporaryFile(/tmp/multipartBody7105732738045220262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086793607,"filename":"image_20022025_14_34_36_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e6ae8664435bc92c344e5a380407d66.jpg","text":"TemporaryFile(/tmp/multipartBody6474245623483216465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086793607,"filename":"image_20022025_14_34_57_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/80d52e018f8dd87bdc88d2fdaaba1320.jpg","text":"TemporaryFile(/tmp/multipartBody1489740258314736378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086793607,"filename":"image_20022025_14_35_06_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d30619b588fdbec7b6e5490b41a83ae.jpg","text":"TemporaryFile(/tmp/multipartBody253523584901803646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086793607,"filename":"image_20022025_14_34_06_9342.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338679361","file1":"1338679305","file0":"1338679239","file4":"1338679483","file5":"1338679564","file3":"1338679442"},"map_files_photo_id_array":[{"photo_id":"1338679564","filename":"file5"},{"photo_id":"1338679361","filename":"file2"},{"photo_id":"1338679483","filename":"file4"},{"photo_id":"1338679305","filename":"file1"},{"photo_id":"1338679239","filename":"file0"},{"photo_id":"1338679442","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338679305":["hashtag1","hashtag2"]},{"1338679361":["hashtag1","hashtag2"]},{"1338679442":["hashtag1","hashtag2"]},{"1338679483":["hashtag1","hashtag2"]},{"1338679564":["hashtag1","hashtag2"]},{"1338679239":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338679305, 1338679361, 1338679442, 1338679483, 1338679564, 1338679239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66233539581299 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:26:32.124024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_17_10456.jpg', '/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_26_9346.jpg', '/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_37_10485.jpg', '/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_47_10362.jpg', '/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_56_9427.jpg', '/home/pi/Desktop/images/20022025/14/36/image_20022025_14_36_26_10336.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_17_10456.jpg
/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_26_9346.jpg
/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_37_10485.jpg
/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_47_10362.jpg
/home/pi/Desktop/images/20022025/14/35/image_20022025_14_35_56_9427.jpg
/home/pi/Desktop/images/20022025/14/36/image_20022025_14_36_26_10336.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338679990","1338679984","1338679978","1338679987","1338679981","1338679992"],"photo_ids_order":["1338679978","1338679981","1338679984","1338679987","1338679990","1338679992"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a73ffc21b8f4b46b6e142d306c2a705b.jpg","text":"TemporaryFile(/tmp/multipartBody4210117255586579258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086852681,"filename":"image_20022025_14_35_56_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7180f47049f8d6671a3f7c2081e693e7.jpg","text":"TemporaryFile(/tmp/multipartBody2372035690328016582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086852681,"filename":"image_20022025_14_35_37_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f614bdfc43826a4620b30aa1f4a7bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4438059298495398118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086852681,"filename":"image_20022025_14_35_17_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4579fa509b897e5fba5805a5411b955c.jpg","text":"TemporaryFile(/tmp/multipartBody4859633750386803429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086852681,"filename":"image_20022025_14_35_47_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3383c3728688f10a6f4299718a74fcfa.jpg","text":"TemporaryFile(/tmp/multipartBody7696572061152478957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086852681,"filename":"image_20022025_14_35_26_9346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/519883ac2b4e4eb07687036b083011f6.jpg","text":"TemporaryFile(/tmp/multipartBody579028610326417606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086852681,"filename":"image_20022025_14_36_26_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338679984","file1":"1338679981","file0":"1338679978","file4":"1338679990","file5":"1338679992","file3":"1338679987"},"map_files_photo_id_array":[{"photo_id":"1338679992","filename":"file5"},{"photo_id":"1338679984","filename":"file2"},{"photo_id":"1338679990","filename":"file4"},{"photo_id":"1338679981","filename":"file1"},{"photo_id":"1338679978","filename":"file0"},{"photo_id":"1338679987","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338679990":["hashtag1","hashtag2"]},{"1338679984":["hashtag1","hashtag2"]},{"1338679978":["hashtag1","hashtag2"]},{"1338679987":["hashtag1","hashtag2"]},{"1338679981":["hashtag1","hashtag2"]},{"1338679992":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338679990, 1338679984, 1338679978, 1338679987, 1338679981, 1338679992)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84952759742737 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:27:32.273606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/36/image_20022025_14_36_46_9367.jpg', '/home/pi/Desktop/images/20022025/14/36/image_20022025_14_36_57_10483.jpg', '/home/pi/Desktop/images/20022025/14/36/image_20022025_14_37_07_10337.jpg', '/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_16_9350.jpg', '/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_27_10408.jpg', '/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_46_10339.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/36/image_20022025_14_36_46_9367.jpg
/home/pi/Desktop/images/20022025/14/36/image_20022025_14_36_57_10483.jpg
/home/pi/Desktop/images/20022025/14/36/image_20022025_14_37_07_10337.jpg
/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_16_9350.jpg
/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_27_10408.jpg
/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_46_10339.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338680421","1338680430","1338680253","1338680395","1338680383","1338680428"],"photo_ids_order":["1338680253","1338680383","1338680395","1338680421","1338680428","1338680430"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bb339ce94685b342596afb45dad7d260.jpg","text":"TemporaryFile(/tmp/multipartBody1894644036828758614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086912822,"filename":"image_20022025_14_37_16_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a032cebc34c4a0864648a118dfe9d12e.jpg","text":"TemporaryFile(/tmp/multipartBody1796783973658987611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086912822,"filename":"image_20022025_14_37_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/810696f483fe81580f43e87285b73867.jpg","text":"TemporaryFile(/tmp/multipartBody3131175696127213960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086912822,"filename":"image_20022025_14_36_46_9367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1f6492fc25a74ffc9648c5358d7846b.jpg","text":"TemporaryFile(/tmp/multipartBody215256594586396969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086912822,"filename":"image_20022025_14_37_07_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/67bf0f11f53a2930233e91c59f4d54dd.jpg","text":"TemporaryFile(/tmp/multipartBody3403133067143707042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086912822,"filename":"image_20022025_14_36_57_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9bfc2332fd49d2781e345b83e4e50f35.jpg","text":"TemporaryFile(/tmp/multipartBody365298163721210169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086912822,"filename":"image_20022025_14_37_27_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338680395","file1":"1338680383","file0":"1338680253","file4":"1338680428","file5":"1338680430","file3":"1338680421"},"map_files_photo_id_array":[{"photo_id":"1338680430","filename":"file5"},{"photo_id":"1338680395","filename":"file2"},{"photo_id":"1338680428","filename":"file4"},{"photo_id":"1338680383","filename":"file1"},{"photo_id":"1338680253","filename":"file0"},{"photo_id":"1338680421","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338680421":["hashtag1","hashtag2"]},{"1338680430":["hashtag1","hashtag2"]},{"1338680253":["hashtag1","hashtag2"]},{"1338680395":["hashtag1","hashtag2"]},{"1338680383":["hashtag1","hashtag2"]},{"1338680428":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338680421, 1338680430, 1338680253, 1338680395, 1338680383, 1338680428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2271466255188 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:28:32.644300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_57_10347.jpg', '/home/pi/Desktop/images/20022025/14/37/image_20022025_14_38_06_9367.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_17_10476.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_27_10347.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_36_9380.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_47_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_57_10347.jpg
/home/pi/Desktop/images/20022025/14/37/image_20022025_14_38_06_9367.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_17_10476.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_27_10347.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_36_9380.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_47_10421.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4633159637451172 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 22:28:42.628470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_57_10347.jpg', '/home/pi/Desktop/images/20022025/14/37/image_20022025_14_38_06_9367.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_17_10476.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_27_10347.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_36_9380.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_47_10421.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/37/image_20022025_14_37_57_10347.jpg
/home/pi/Desktop/images/20022025/14/37/image_20022025_14_38_06_9367.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_17_10476.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_27_10347.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_36_9380.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_47_10421.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338680457","1338680459","1338680453","1338680461","1338680446","1338680449"],"photo_ids_order":["1338680446","1338680449","1338680453","1338680457","1338680459","1338680461"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13a0ac496abb45dc59ee662e8edb9e72.jpg","text":"TemporaryFile(/tmp/multipartBody1901516029467555843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086983104,"filename":"image_20022025_14_38_27_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59d831212b3afb2eb48aff749c97babb.jpg","text":"TemporaryFile(/tmp/multipartBody310855519294817385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086983104,"filename":"image_20022025_14_38_36_9380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95477758dba08f591b7d4e183f41b577.jpg","text":"TemporaryFile(/tmp/multipartBody7667553746785198011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086983104,"filename":"image_20022025_14_38_17_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09e345bc357b612531ee1364b0fc42c7.jpg","text":"TemporaryFile(/tmp/multipartBody4120678657515267629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086983104,"filename":"image_20022025_14_38_47_10421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/11717b4d6a3ac34fbecbe971f12f9cbb.jpg","text":"TemporaryFile(/tmp/multipartBody7691002082482853507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086983104,"filename":"image_20022025_14_37_57_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e60bb17dd358fe5bd2e3e1cdf85ea7c.jpg","text":"TemporaryFile(/tmp/multipartBody6039593415008693950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740086983104,"filename":"image_20022025_14_38_06_9367.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338680453","file1":"1338680449","file0":"1338680446","file4":"1338680459","file5":"1338680461","file3":"1338680457"},"map_files_photo_id_array":[{"photo_id":"1338680461","filename":"file5"},{"photo_id":"1338680453","filename":"file2"},{"photo_id":"1338680459","filename":"file4"},{"photo_id":"1338680449","filename":"file1"},{"photo_id":"1338680446","filename":"file0"},{"photo_id":"1338680457","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338680457":["hashtag1","hashtag2"]},{"1338680459":["hashtag1","hashtag2"]},{"1338680453":["hashtag1","hashtag2"]},{"1338680461":["hashtag1","hashtag2"]},{"1338680446":["hashtag1","hashtag2"]},{"1338680449":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338680457, 1338680459, 1338680453, 1338680461, 1338680446, 1338680449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47061467170715 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:29:32.774316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_56_9343.jpg', '/home/pi/Desktop/images/20022025/14/38/image_20022025_14_39_07_10462.jpg', '/home/pi/Desktop/images/20022025/14/39/image_20022025_14_39_26_9333.jpg', '/home/pi/Desktop/images/20022025/14/39/image_20022025_14_39_37_10374.jpg', '/home/pi/Desktop/images/20022025/14/39/image_20022025_14_39_47_10337.jpg', '/home/pi/Desktop/images/20022025/14/39/image_20022025_14_39_56_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_38_56_9343.jpg
/home/pi/Desktop/images/20022025/14/38/image_20022025_14_39_07_10462.jpg
/home/pi/Desktop/images/20022025/14/39/image_20022025_14_39_26_9333.jpg
/home/pi/Desktop/images/20022025/14/39/image_20022025_14_39_37_10374.jpg
/home/pi/Desktop/images/20022025/14/39/image_20022025_14_39_47_10337.jpg
/home/pi/Desktop/images/20022025/14/39/image_20022025_14_39_56_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338680643","1338680543","1338680630","1338680647","1338680638","1338680472"],"photo_ids_order":["1338680472","1338680543","1338680630","1338680638","1338680643","1338680647"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e460448b2a5e34386c34381adcff9d15.jpg","text":"TemporaryFile(/tmp/multipartBody1940251665385650452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087033342,"filename":"image_20022025_14_39_47_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f6d5ecd3692027dd68c5350aa63d489.jpg","text":"TemporaryFile(/tmp/multipartBody3722607413531719214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087033342,"filename":"image_20022025_14_39_07_10462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a062d5996bf5f1243765a8277bea34b.jpg","text":"TemporaryFile(/tmp/multipartBody2284223604000734787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087033342,"filename":"image_20022025_14_39_26_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f5844cacf79be8ee8c0c6a53e8c67a1b.jpg","text":"TemporaryFile(/tmp/multipartBody6405599221281285266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087033342,"filename":"image_20022025_14_39_56_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/37257dbba58f85c3c7e8426325bdc656.jpg","text":"TemporaryFile(/tmp/multipartBody6915475955906798019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087033342,"filename":"image_20022025_14_39_37_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bff847a19d6c756691842e36c7534287.jpg","text":"TemporaryFile(/tmp/multipartBody6272309691672482225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087033342,"filename":"image_20022025_14_38_56_9343.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338680630","file1":"1338680543","file0":"1338680472","file4":"1338680643","file5":"1338680647","file3":"1338680638"},"map_files_photo_id_array":[{"photo_id":"1338680647","filename":"file5"},{"photo_id":"1338680630","filename":"file2"},{"photo_id":"1338680643","filename":"file4"},{"photo_id":"1338680543","filename":"file1"},{"photo_id":"1338680472","filename":"file0"},{"photo_id":"1338680638","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338680643":["hashtag1","hashtag2"]},{"1338680543":["hashtag1","hashtag2"]},{"1338680630":["hashtag1","hashtag2"]},{"1338680647":["hashtag1","hashtag2"]},{"1338680638":["hashtag1","hashtag2"]},{"1338680472":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338680643, 1338680543, 1338680630, 1338680647, 1338680638, 1338680472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70764422416687 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:30:32.928067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_16_9331.jpg', '/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_26_10390.jpg', '/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_37_10337.jpg', '/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_46_9331.jpg', '/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_57_10476.jpg', '/home/pi/Desktop/images/20022025/14/40/image_20022025_14_41_07_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_16_9331.jpg
/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_26_10390.jpg
/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_37_10337.jpg
/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_46_9331.jpg
/home/pi/Desktop/images/20022025/14/40/image_20022025_14_40_57_10476.jpg
/home/pi/Desktop/images/20022025/14/40/image_20022025_14_41_07_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338680699","1338680693","1338680687","1338680706","1338680684","1338680685"],"photo_ids_order":["1338680684","1338680685","1338680687","1338680693","1338680699","1338680706"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1d237cf1bc7bf866dc8659b104efb83.jpg","text":"TemporaryFile(/tmp/multipartBody4084739806088247788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087093499,"filename":"image_20022025_14_40_57_10476.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/71dfc0d902cd0adc2da53f63c6dcd9fb.jpg","text":"TemporaryFile(/tmp/multipartBody3215013353631550688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087093499,"filename":"image_20022025_14_40_46_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc7c3ecbaafd35dd4823eab351b21b39.jpg","text":"TemporaryFile(/tmp/multipartBody5960779537026097863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087093499,"filename":"image_20022025_14_40_37_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5237a4625ead205e207b610d26b7841c.jpg","text":"TemporaryFile(/tmp/multipartBody8647595189676570616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087093499,"filename":"image_20022025_14_41_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d603c4cbc43c03fd522740de8b031dda.jpg","text":"TemporaryFile(/tmp/multipartBody2111371580817193758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087093499,"filename":"image_20022025_14_40_16_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/08e52a03e5193b6d1e226c4241a89df7.jpg","text":"TemporaryFile(/tmp/multipartBody8870618967149941015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087093499,"filename":"image_20022025_14_40_26_10390.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338680687","file1":"1338680685","file0":"1338680684","file4":"1338680699","file5":"1338680706","file3":"1338680693"},"map_files_photo_id_array":[{"photo_id":"1338680706","filename":"file5"},{"photo_id":"1338680687","filename":"file2"},{"photo_id":"1338680699","filename":"file4"},{"photo_id":"1338680685","filename":"file1"},{"photo_id":"1338680684","filename":"file0"},{"photo_id":"1338680693","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338680699":["hashtag1","hashtag2"]},{"1338680693":["hashtag1","hashtag2"]},{"1338680687":["hashtag1","hashtag2"]},{"1338680706":["hashtag1","hashtag2"]},{"1338680684":["hashtag1","hashtag2"]},{"1338680685":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338680699, 1338680693, 1338680687, 1338680706, 1338680684, 1338680685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60080170631409 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:31:33.064615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_16_9396.jpg', '/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_27_10435.jpg', '/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_36_9319.jpg', '/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_46_10339.jpg', '/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_57_10446.jpg', '/home/pi/Desktop/images/20022025/14/41/image_20022025_14_42_06_9340.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_16_9396.jpg
/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_27_10435.jpg
/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_36_9319.jpg
/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_46_10339.jpg
/home/pi/Desktop/images/20022025/14/41/image_20022025_14_41_57_10446.jpg
/home/pi/Desktop/images/20022025/14/41/image_20022025_14_42_06_9340.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338680759","1338680732","1338680761","1338680755","1338680740","1338680763"],"photo_ids_order":["1338680732","1338680740","1338680755","1338680759","1338680761","1338680763"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/298bcd147c92a439c8b28bb5333071c2.jpg","text":"TemporaryFile(/tmp/multipartBody8209183553777710214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087153642,"filename":"image_20022025_14_41_46_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7c927f3756f960ff36997ca7fdca53ef.jpg","text":"TemporaryFile(/tmp/multipartBody5903741381310317461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087153642,"filename":"image_20022025_14_41_16_9396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c6ac21aca172b3917910707a8842790f.jpg","text":"TemporaryFile(/tmp/multipartBody1987712448890678392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087153642,"filename":"image_20022025_14_41_57_10446.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e12f76bcb8ed4071e71af2ae971e781e.jpg","text":"TemporaryFile(/tmp/multipartBody6397239285002475653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087153642,"filename":"image_20022025_14_41_36_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ed38896368f278d779f06900c4b8b7d2.jpg","text":"TemporaryFile(/tmp/multipartBody3387982617151703373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087153642,"filename":"image_20022025_14_41_27_10435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/600bf7d2ac58c285eaa6f9533813f87b.jpg","text":"TemporaryFile(/tmp/multipartBody6478835840260853328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087153642,"filename":"image_20022025_14_42_06_9340.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338680755","file1":"1338680740","file0":"1338680732","file4":"1338680761","file5":"1338680763","file3":"1338680759"},"map_files_photo_id_array":[{"photo_id":"1338680763","filename":"file5"},{"photo_id":"1338680755","filename":"file2"},{"photo_id":"1338680761","filename":"file4"},{"photo_id":"1338680740","filename":"file1"},{"photo_id":"1338680732","filename":"file0"},{"photo_id":"1338680759","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338680759":["hashtag1","hashtag2"]},{"1338680732":["hashtag1","hashtag2"]},{"1338680761":["hashtag1","hashtag2"]},{"1338680755":["hashtag1","hashtag2"]},{"1338680740":["hashtag1","hashtag2"]},{"1338680763":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338680759, 1338680732, 1338680761, 1338680755, 1338680740, 1338680763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.53391122817993 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:32:32.190446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_17_10428.jpg', '/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_27_10352.jpg', '/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_36_9319.jpg', '/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_47_10353.jpg', '/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_56_9431.jpg', '/home/pi/Desktop/images/20022025/14/42/image_20022025_14_43_06_10475.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_17_10428.jpg
/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_27_10352.jpg
/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_36_9319.jpg
/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_47_10353.jpg
/home/pi/Desktop/images/20022025/14/42/image_20022025_14_42_56_9431.jpg
/home/pi/Desktop/images/20022025/14/42/image_20022025_14_43_06_10475.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338680777","1338680957","1338680915","1338680872","1338680824","1338680775"],"photo_ids_order":["1338680775","1338680777","1338680824","1338680872","1338680915","1338680957"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c74d85ef1a83352471565c7aa5ba43a0.jpg","text":"TemporaryFile(/tmp/multipartBody1586804062543335552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087213072,"filename":"image_20022025_14_42_27_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9718f7029b6200b3dc8b16d536932449.jpg","text":"TemporaryFile(/tmp/multipartBody1507717674329444241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087213072,"filename":"image_20022025_14_43_06_10475.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cdd37636a52a757f8961dd90b778823c.jpg","text":"TemporaryFile(/tmp/multipartBody7060580071106546444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087213072,"filename":"image_20022025_14_42_56_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ad18e3588f6f55bc5ee285363851892e.jpg","text":"TemporaryFile(/tmp/multipartBody3702586346030237684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087213072,"filename":"image_20022025_14_42_47_10353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/184bf30062ca42af5af88a82aefda2cd.jpg","text":"TemporaryFile(/tmp/multipartBody6004352830762721439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087213072,"filename":"image_20022025_14_42_36_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6724db740b3de590d48ec541b4c9592.jpg","text":"TemporaryFile(/tmp/multipartBody5049193762106423978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087213072,"filename":"image_20022025_14_42_17_10428.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338680824","file1":"1338680777","file0":"1338680775","file4":"1338680915","file5":"1338680957","file3":"1338680872"},"map_files_photo_id_array":[{"photo_id":"1338680957","filename":"file5"},{"photo_id":"1338680824","filename":"file2"},{"photo_id":"1338680915","filename":"file4"},{"photo_id":"1338680777","filename":"file1"},{"photo_id":"1338680775","filename":"file0"},{"photo_id":"1338680872","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338680777":["hashtag1","hashtag2"]},{"1338680957":["hashtag1","hashtag2"]},{"1338680915":["hashtag1","hashtag2"]},{"1338680872":["hashtag1","hashtag2"]},{"1338680824":["hashtag1","hashtag2"]},{"1338680775":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338680777, 1338680957, 1338680915, 1338680872, 1338680824, 1338680775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73801851272583 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:33:32.383565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/43/image_20022025_14_43_17_10345.jpg', '/home/pi/Desktop/images/20022025/14/43/image_20022025_14_43_26_9322.jpg', '/home/pi/Desktop/images/20022025/14/43/image_20022025_14_43_37_10415.jpg', '/home/pi/Desktop/images/20022025/14/43/image_20022025_14_43_46_9817.jpg', '/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_17_10431.jpg', '/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_26_9370.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/43/image_20022025_14_43_17_10345.jpg
/home/pi/Desktop/images/20022025/14/43/image_20022025_14_43_26_9322.jpg
/home/pi/Desktop/images/20022025/14/43/image_20022025_14_43_37_10415.jpg
/home/pi/Desktop/images/20022025/14/43/image_20022025_14_43_46_9817.jpg
/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_17_10431.jpg
/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_26_9370.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338681029","1338681031","1338681025","1338681034","1338681037","1338681018"],"photo_ids_order":["1338681018","1338681025","1338681029","1338681031","1338681034","1338681037"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd0e987fbfe4ab6db4dbcfa1058276b8.jpg","text":"TemporaryFile(/tmp/multipartBody8270981781762902137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087272947,"filename":"image_20022025_14_43_37_10415.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7cc8cc83ebda984adb9afe606ce6578.jpg","text":"TemporaryFile(/tmp/multipartBody4366432127333139535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087272947,"filename":"image_20022025_14_43_46_9817.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30a5d23f4d5b77f04d99f5c9b98008d7.jpg","text":"TemporaryFile(/tmp/multipartBody6796134309113929985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087272947,"filename":"image_20022025_14_43_26_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/02aea19c2c5d486dbc2457bb428b9ca4.jpg","text":"TemporaryFile(/tmp/multipartBody2514142211843639433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087272947,"filename":"image_20022025_14_44_17_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e48c6bc403ffbd2e5327684473388cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8803655411885271420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087272947,"filename":"image_20022025_14_44_26_9370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/432d8299be768b3a4de4e7e410e6d1bf.jpg","text":"TemporaryFile(/tmp/multipartBody2064552222335853474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087272947,"filename":"image_20022025_14_43_17_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338681029","file1":"1338681025","file0":"1338681018","file4":"1338681034","file5":"1338681037","file3":"1338681031"},"map_files_photo_id_array":[{"photo_id":"1338681037","filename":"file5"},{"photo_id":"1338681029","filename":"file2"},{"photo_id":"1338681034","filename":"file4"},{"photo_id":"1338681025","filename":"file1"},{"photo_id":"1338681018","filename":"file0"},{"photo_id":"1338681031","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338681029":["hashtag1","hashtag2"]},{"1338681031":["hashtag1","hashtag2"]},{"1338681025":["hashtag1","hashtag2"]},{"1338681034":["hashtag1","hashtag2"]},{"1338681037":["hashtag1","hashtag2"]},{"1338681018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338681029, 1338681031, 1338681025, 1338681034, 1338681037, 1338681018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.27294325828552 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:34:32.638702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_36_10350.jpg', '/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_47_10329.jpg', '/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_56_9449.jpg', '/home/pi/Desktop/images/20022025/14/44/image_20022025_14_45_07_10467.jpg', '/home/pi/Desktop/images/20022025/14/45/image_20022025_14_45_17_10328.jpg', '/home/pi/Desktop/images/20022025/14/45/image_20022025_14_45_26_9343.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_36_10350.jpg
/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_47_10329.jpg
/home/pi/Desktop/images/20022025/14/44/image_20022025_14_44_56_9449.jpg
/home/pi/Desktop/images/20022025/14/44/image_20022025_14_45_07_10467.jpg
/home/pi/Desktop/images/20022025/14/45/image_20022025_14_45_17_10328.jpg
/home/pi/Desktop/images/20022025/14/45/image_20022025_14_45_26_9343.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338681061","1338681064","1338681058","1338681067","1338681072","1338681069"],"photo_ids_order":["1338681058","1338681061","1338681064","1338681067","1338681069","1338681072"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a8a11a256fed9df8d7c6cd848e5ce2c.jpg","text":"TemporaryFile(/tmp/multipartBody1058700410317539188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087333196,"filename":"image_20022025_14_44_47_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/763985596adf4b37e04845d0e958d84f.jpg","text":"TemporaryFile(/tmp/multipartBody3288071082305005755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087333196,"filename":"image_20022025_14_44_56_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca375524847636280b81f73411731296.jpg","text":"TemporaryFile(/tmp/multipartBody9119027920832347816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087333196,"filename":"image_20022025_14_44_36_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9ca369a7c5bb1257130e0f49299c51d2.jpg","text":"TemporaryFile(/tmp/multipartBody433516128724772140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087333196,"filename":"image_20022025_14_45_07_10467.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1cf22f207c4c9e4f462335b1b6d70427.jpg","text":"TemporaryFile(/tmp/multipartBody724001353239395193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087333196,"filename":"image_20022025_14_45_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/27bf52e45144fe9eb329c6de34e95ece.jpg","text":"TemporaryFile(/tmp/multipartBody1970539649550211769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087333196,"filename":"image_20022025_14_45_17_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338681064","file1":"1338681061","file0":"1338681058","file4":"1338681069","file5":"1338681072","file3":"1338681067"},"map_files_photo_id_array":[{"photo_id":"1338681072","filename":"file5"},{"photo_id":"1338681064","filename":"file2"},{"photo_id":"1338681069","filename":"file4"},{"photo_id":"1338681061","filename":"file1"},{"photo_id":"1338681058","filename":"file0"},{"photo_id":"1338681067","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338681061":["hashtag1","hashtag2"]},{"1338681064":["hashtag1","hashtag2"]},{"1338681058":["hashtag1","hashtag2"]},{"1338681067":["hashtag1","hashtag2"]},{"1338681072":["hashtag1","hashtag2"]},{"1338681069":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338681061, 1338681064, 1338681058, 1338681067, 1338681072, 1338681069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.940802812576294 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:35:32.739806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/45/image_20022025_14_45_46_9316.jpg', '/home/pi/Desktop/images/20022025/14/45/image_20022025_14_45_56_10459.jpg', '/home/pi/Desktop/images/20022025/14/45/image_20022025_14_46_07_10342.jpg', '/home/pi/Desktop/images/20022025/14/46/image_20022025_14_46_16_9340.jpg', '/home/pi/Desktop/images/20022025/14/46/image_20022025_14_46_37_10329.jpg', '/home/pi/Desktop/images/20022025/14/46/image_20022025_14_46_46_9313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/45/image_20022025_14_45_46_9316.jpg
/home/pi/Desktop/images/20022025/14/45/image_20022025_14_45_56_10459.jpg
/home/pi/Desktop/images/20022025/14/45/image_20022025_14_46_07_10342.jpg
/home/pi/Desktop/images/20022025/14/46/image_20022025_14_46_16_9340.jpg
/home/pi/Desktop/images/20022025/14/46/image_20022025_14_46_37_10329.jpg
/home/pi/Desktop/images/20022025/14/46/image_20022025_14_46_46_9313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338681618","1338681218","1338681547","1338681462","1338681315","1338681123"],"photo_ids_order":["1338681123","1338681218","1338681315","1338681462","1338681547","1338681618"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d8b92039e5aba85d000a8ec7d71ec48c.jpg","text":"TemporaryFile(/tmp/multipartBody6116774514160166508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087393327,"filename":"image_20022025_14_46_46_9313.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/612f1e628a37d6f46140c10542e4a6c7.jpg","text":"TemporaryFile(/tmp/multipartBody3317688958463655622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087393327,"filename":"image_20022025_14_45_56_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac69806d24d8ed46d99c92a625bac1a4.jpg","text":"TemporaryFile(/tmp/multipartBody4081825811892930014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087393327,"filename":"image_20022025_14_46_37_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/33b56fc33505d7ce35dbccb3ef8434a0.jpg","text":"TemporaryFile(/tmp/multipartBody1727517247575763190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087393327,"filename":"image_20022025_14_46_16_9340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0db8bb927096215fb526502541556847.jpg","text":"TemporaryFile(/tmp/multipartBody8229488394524072807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087393327,"filename":"image_20022025_14_46_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9506feb43cac12ba57d71eb69932830f.jpg","text":"TemporaryFile(/tmp/multipartBody8087825864610284089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087393327,"filename":"image_20022025_14_45_46_9316.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338681315","file1":"1338681218","file0":"1338681123","file4":"1338681547","file5":"1338681618","file3":"1338681462"},"map_files_photo_id_array":[{"photo_id":"1338681618","filename":"file5"},{"photo_id":"1338681315","filename":"file2"},{"photo_id":"1338681547","filename":"file4"},{"photo_id":"1338681218","filename":"file1"},{"photo_id":"1338681123","filename":"file0"},{"photo_id":"1338681462","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338681618":["hashtag1","hashtag2"]},{"1338681218":["hashtag1","hashtag2"]},{"1338681547":["hashtag1","hashtag2"]},{"1338681462":["hashtag1","hashtag2"]},{"1338681315":["hashtag1","hashtag2"]},{"1338681123":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338681618, 1338681218, 1338681547, 1338681462, 1338681315, 1338681123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40628528594971 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:36:32.905747
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/46/image_20022025_14_46_57_10472.jpg', '/home/pi/Desktop/images/20022025/14/46/image_20022025_14_47_06_9333.jpg', '/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_16_10356.jpg', '/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_27_10375.jpg', '/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_36_9326.jpg', '/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_47_10430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/46/image_20022025_14_46_57_10472.jpg
/home/pi/Desktop/images/20022025/14/46/image_20022025_14_47_06_9333.jpg
/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_16_10356.jpg
/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_27_10375.jpg
/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_36_9326.jpg
/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_47_10430.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338681769","1338681772","1338681766","1338681921","1338681918","1338681903"],"photo_ids_order":["1338681766","1338681769","1338681772","1338681903","1338681918","1338681921"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a5cf2fb2122602d988ad1b3124a01a79.jpg","text":"TemporaryFile(/tmp/multipartBody3198351652871385721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087453471,"filename":"image_20022025_14_47_06_9333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9205257e4bfea84470779f14d8e0dda8.jpg","text":"TemporaryFile(/tmp/multipartBody5414652792902037771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087453471,"filename":"image_20022025_14_47_16_10356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/815ed6abf5eb67ab5a5ef53d08e35a17.jpg","text":"TemporaryFile(/tmp/multipartBody7956441243291444482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087453471,"filename":"image_20022025_14_46_57_10472.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba3b6e14f5a9112e53dcefce7f848718.jpg","text":"TemporaryFile(/tmp/multipartBody4138975989569002084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087453471,"filename":"image_20022025_14_47_47_10430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/431a79e7ff258fdb56738f5867f7a498.jpg","text":"TemporaryFile(/tmp/multipartBody2405572626994477313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087453471,"filename":"image_20022025_14_47_36_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f233343a68b54d03666102a6044c895b.jpg","text":"TemporaryFile(/tmp/multipartBody5416333903015937698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087453471,"filename":"image_20022025_14_47_27_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338681772","file1":"1338681769","file0":"1338681766","file4":"1338681918","file5":"1338681921","file3":"1338681903"},"map_files_photo_id_array":[{"photo_id":"1338681921","filename":"file5"},{"photo_id":"1338681772","filename":"file2"},{"photo_id":"1338681918","filename":"file4"},{"photo_id":"1338681769","filename":"file1"},{"photo_id":"1338681766","filename":"file0"},{"photo_id":"1338681903","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338681769":["hashtag1","hashtag2"]},{"1338681772":["hashtag1","hashtag2"]},{"1338681766":["hashtag1","hashtag2"]},{"1338681921":["hashtag1","hashtag2"]},{"1338681918":["hashtag1","hashtag2"]},{"1338681903":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338681769, 1338681772, 1338681766, 1338681921, 1338681918, 1338681903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06677174568176 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:37:33.156391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_57_10401.jpg', '/home/pi/Desktop/images/20022025/14/47/image_20022025_14_48_06_9354.jpg', '/home/pi/Desktop/images/20022025/14/48/image_20022025_14_48_36_10396.jpg', '/home/pi/Desktop/images/20022025/14/48/image_20022025_14_48_47_10327.jpg', '/home/pi/Desktop/images/20022025/14/48/image_20022025_14_48_56_9356.jpg', '/home/pi/Desktop/images/20022025/14/48/image_20022025_14_49_07_10382.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/47/image_20022025_14_47_57_10401.jpg
/home/pi/Desktop/images/20022025/14/47/image_20022025_14_48_06_9354.jpg
/home/pi/Desktop/images/20022025/14/48/image_20022025_14_48_36_10396.jpg
/home/pi/Desktop/images/20022025/14/48/image_20022025_14_48_47_10327.jpg
/home/pi/Desktop/images/20022025/14/48/image_20022025_14_48_56_9356.jpg
/home/pi/Desktop/images/20022025/14/48/image_20022025_14_49_07_10382.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682043","1338682046","1338682049","1338682037","1338682024","1338682018"],"photo_ids_order":["1338682018","1338682024","1338682037","1338682043","1338682046","1338682049"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8257646dff604a87f304c639bc8670cc.jpg","text":"TemporaryFile(/tmp/multipartBody4039066482570196300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087513719,"filename":"image_20022025_14_48_47_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f62d9b32f7ff4785be76a5991b5d2be.jpg","text":"TemporaryFile(/tmp/multipartBody7790464670771794811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087513719,"filename":"image_20022025_14_48_56_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/efc8577bfee4fa760fc2be3ce4210e77.jpg","text":"TemporaryFile(/tmp/multipartBody4330283276584384698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087513719,"filename":"image_20022025_14_49_07_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9afb65a0f27226222b903f4ef5cc68a6.jpg","text":"TemporaryFile(/tmp/multipartBody4737028850893544049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087513719,"filename":"image_20022025_14_48_36_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bde36bd5255201f9a433cad6c6f416ab.jpg","text":"TemporaryFile(/tmp/multipartBody8709433335654132185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087513719,"filename":"image_20022025_14_48_06_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/02e75a041ffe7c7c804de8f3831513f6.jpg","text":"TemporaryFile(/tmp/multipartBody1493517970179021731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087513719,"filename":"image_20022025_14_47_57_10401.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682037","file1":"1338682024","file0":"1338682018","file4":"1338682046","file5":"1338682049","file3":"1338682043"},"map_files_photo_id_array":[{"photo_id":"1338682049","filename":"file5"},{"photo_id":"1338682037","filename":"file2"},{"photo_id":"1338682046","filename":"file4"},{"photo_id":"1338682024","filename":"file1"},{"photo_id":"1338682018","filename":"file0"},{"photo_id":"1338682043","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682043":["hashtag1","hashtag2"]},{"1338682046":["hashtag1","hashtag2"]},{"1338682049":["hashtag1","hashtag2"]},{"1338682037":["hashtag1","hashtag2"]},{"1338682024":["hashtag1","hashtag2"]},{"1338682018":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682043, 1338682046, 1338682049, 1338682037, 1338682024, 1338682018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.346704959869385 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:38:32.279269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/49/image_20022025_14_49_17_10321.jpg', '/home/pi/Desktop/images/20022025/14/49/image_20022025_14_49_37_10452.jpg', '/home/pi/Desktop/images/20022025/14/49/image_20022025_14_49_46_9427.jpg', '/home/pi/Desktop/images/20022025/14/49/image_20022025_14_49_57_10419.jpg', '/home/pi/Desktop/images/20022025/14/49/image_20022025_14_50_07_10319.jpg', '/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_16_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/49/image_20022025_14_49_17_10321.jpg
/home/pi/Desktop/images/20022025/14/49/image_20022025_14_49_37_10452.jpg
/home/pi/Desktop/images/20022025/14/49/image_20022025_14_49_46_9427.jpg
/home/pi/Desktop/images/20022025/14/49/image_20022025_14_49_57_10419.jpg
/home/pi/Desktop/images/20022025/14/49/image_20022025_14_50_07_10319.jpg
/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_16_9320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682085","1338682070","1338682075","1338682083","1338682086","1338682089"],"photo_ids_order":["1338682070","1338682075","1338682083","1338682085","1338682086","1338682089"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3cb8322eb52679bf12435ac87c4281bc.jpg","text":"TemporaryFile(/tmp/multipartBody2680336095683114717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087572851,"filename":"image_20022025_14_49_57_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e18a85e7a1c3d9d699fa1ff5fe0a7119.jpg","text":"TemporaryFile(/tmp/multipartBody4871701927161988638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087572851,"filename":"image_20022025_14_49_17_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da790d424076dd05058c2201476a3778.jpg","text":"TemporaryFile(/tmp/multipartBody5190034391335655474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087572851,"filename":"image_20022025_14_49_37_10452.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7acb3ace0680ea030bf0df97125d3600.jpg","text":"TemporaryFile(/tmp/multipartBody8920722725263498773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087572851,"filename":"image_20022025_14_49_46_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6f2a20aa6c1b97023eae54ac687d4c0f.jpg","text":"TemporaryFile(/tmp/multipartBody5316566539861160714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087572851,"filename":"image_20022025_14_50_07_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ad83a0d5753833e09e7f20d9a9fb11f8.jpg","text":"TemporaryFile(/tmp/multipartBody2064920735625082845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087572851,"filename":"image_20022025_14_50_16_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682083","file1":"1338682075","file0":"1338682070","file4":"1338682086","file5":"1338682089","file3":"1338682085"},"map_files_photo_id_array":[{"photo_id":"1338682089","filename":"file5"},{"photo_id":"1338682083","filename":"file2"},{"photo_id":"1338682086","filename":"file4"},{"photo_id":"1338682075","filename":"file1"},{"photo_id":"1338682070","filename":"file0"},{"photo_id":"1338682085","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682085":["hashtag1","hashtag2"]},{"1338682070":["hashtag1","hashtag2"]},{"1338682075":["hashtag1","hashtag2"]},{"1338682083":["hashtag1","hashtag2"]},{"1338682086":["hashtag1","hashtag2"]},{"1338682089":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682085, 1338682070, 1338682075, 1338682083, 1338682086, 1338682089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.64895009994507 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:39:32.358466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_27_10453.jpg', '/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_36_9341.jpg', '/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_46_10416.jpg', '/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_57_10453.jpg', '/home/pi/Desktop/images/20022025/14/50/image_20022025_14_51_06_9324.jpg', '/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_17_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_27_10453.jpg
/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_36_9341.jpg
/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_46_10416.jpg
/home/pi/Desktop/images/20022025/14/50/image_20022025_14_50_57_10453.jpg
/home/pi/Desktop/images/20022025/14/50/image_20022025_14_51_06_9324.jpg
/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_17_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682109","1338682111","1338682113","1338682122","1338682125","1338682119"],"photo_ids_order":["1338682109","1338682111","1338682113","1338682119","1338682122","1338682125"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/76f7e7c50ce3e650357c096e5dd50006.jpg","text":"TemporaryFile(/tmp/multipartBody1664622728261418700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087632919,"filename":"image_20022025_14_50_27_10453.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/18e7805da14d393dffef1032437370c2.jpg","text":"TemporaryFile(/tmp/multipartBody991045941974319155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087632919,"filename":"image_20022025_14_50_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ae07fa21d3d730173a32768311a8c817.jpg","text":"TemporaryFile(/tmp/multipartBody2344413812422549640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087632919,"filename":"image_20022025_14_50_46_10416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f7ceb92fffa3ec965f36c4a46d02fd6.jpg","text":"TemporaryFile(/tmp/multipartBody2453067579939030303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087632919,"filename":"image_20022025_14_51_06_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/785dae300d69e3e7f1c319824f32eca6.jpg","text":"TemporaryFile(/tmp/multipartBody2381250580279769484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087632919,"filename":"image_20022025_14_51_17_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/081f62909036ea4a1e5b77fb6349455d.jpg","text":"TemporaryFile(/tmp/multipartBody2595155748123142970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087632919,"filename":"image_20022025_14_50_57_10453.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682113","file1":"1338682111","file0":"1338682109","file4":"1338682122","file5":"1338682125","file3":"1338682119"},"map_files_photo_id_array":[{"photo_id":"1338682125","filename":"file5"},{"photo_id":"1338682113","filename":"file2"},{"photo_id":"1338682122","filename":"file4"},{"photo_id":"1338682111","filename":"file1"},{"photo_id":"1338682109","filename":"file0"},{"photo_id":"1338682119","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682109":["hashtag1","hashtag2"]},{"1338682111":["hashtag1","hashtag2"]},{"1338682113":["hashtag1","hashtag2"]},{"1338682122":["hashtag1","hashtag2"]},{"1338682125":["hashtag1","hashtag2"]},{"1338682119":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682109, 1338682111, 1338682113, 1338682122, 1338682125, 1338682119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49673056602478 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:40:32.727593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_27_10345.jpg', '/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_36_9334.jpg', '/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_47_10326.jpg', '/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_57_10348.jpg', '/home/pi/Desktop/images/20022025/14/51/image_20022025_14_52_06_9411.jpg', '/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_17_10342.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_27_10345.jpg
/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_36_9334.jpg
/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_47_10326.jpg
/home/pi/Desktop/images/20022025/14/51/image_20022025_14_51_57_10348.jpg
/home/pi/Desktop/images/20022025/14/51/image_20022025_14_52_06_9411.jpg
/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_17_10342.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682139","1338682147","1338682141","1338682150","1338682144","1338682137"],"photo_ids_order":["1338682137","1338682139","1338682141","1338682144","1338682147","1338682150"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/032bb3c062c0b9aaadac0f953b971e13.jpg","text":"TemporaryFile(/tmp/multipartBody6897779391383504247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087693298,"filename":"image_20022025_14_51_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/75ba1a51fac9733e3f50f066a4cdb5d1.jpg","text":"TemporaryFile(/tmp/multipartBody8969398427330617059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087693298,"filename":"image_20022025_14_52_06_9411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/914ef6fa280d6f8d93161451bcfb9b22.jpg","text":"TemporaryFile(/tmp/multipartBody1295398704191652955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087693298,"filename":"image_20022025_14_51_47_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/afe5b2aa3d2388efbdd38938f188cefa.jpg","text":"TemporaryFile(/tmp/multipartBody5352320322656385608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087693298,"filename":"image_20022025_14_52_17_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bdf6fed0f01ecdd0ad4a0fd8c9b04f41.jpg","text":"TemporaryFile(/tmp/multipartBody6397942768804085242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087693298,"filename":"image_20022025_14_51_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e6bd29a096377fa29b06e4a063667b5.jpg","text":"TemporaryFile(/tmp/multipartBody8173422932471823313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087693298,"filename":"image_20022025_14_51_27_10345.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682141","file1":"1338682139","file0":"1338682137","file4":"1338682147","file5":"1338682150","file3":"1338682144"},"map_files_photo_id_array":[{"photo_id":"1338682150","filename":"file5"},{"photo_id":"1338682141","filename":"file2"},{"photo_id":"1338682147","filename":"file4"},{"photo_id":"1338682139","filename":"file1"},{"photo_id":"1338682137","filename":"file0"},{"photo_id":"1338682144","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682139":["hashtag1","hashtag2"]},{"1338682147":["hashtag1","hashtag2"]},{"1338682141":["hashtag1","hashtag2"]},{"1338682150":["hashtag1","hashtag2"]},{"1338682144":["hashtag1","hashtag2"]},{"1338682137":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682139, 1338682147, 1338682141, 1338682150, 1338682144, 1338682137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81780982017517 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:41:32.817855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_26_9341.jpg', '/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_37_10510.jpg', '/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_46_9426.jpg', '/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_56_10350.jpg', '/home/pi/Desktop/images/20022025/14/52/image_20022025_14_53_07_10347.jpg', '/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_16_9324.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_26_9341.jpg
/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_37_10510.jpg
/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_46_9426.jpg
/home/pi/Desktop/images/20022025/14/52/image_20022025_14_52_56_10350.jpg
/home/pi/Desktop/images/20022025/14/52/image_20022025_14_53_07_10347.jpg
/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_16_9324.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682172","1338682186","1338682176","1338682185","1338682179","1338682169"],"photo_ids_order":["1338682169","1338682172","1338682176","1338682179","1338682185","1338682186"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ac51f66afaa7c447c03e6dddd26dd3b.jpg","text":"TemporaryFile(/tmp/multipartBody8794760085471933965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087753393,"filename":"image_20022025_14_52_37_10510.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41359d0ae78cf19eb422b05e287ba987.jpg","text":"TemporaryFile(/tmp/multipartBody6434655085558587888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087753393,"filename":"image_20022025_14_53_16_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/78c86bab1f46d7d69cbbf72c4b984c5a.jpg","text":"TemporaryFile(/tmp/multipartBody5840336444303789468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087753393,"filename":"image_20022025_14_52_46_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ff972e034df4651457b8553345bff87.jpg","text":"TemporaryFile(/tmp/multipartBody2567293102466150615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087753393,"filename":"image_20022025_14_53_07_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e13a75c3278dabe56079cdf32288f4d.jpg","text":"TemporaryFile(/tmp/multipartBody6546491535922891063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087753393,"filename":"image_20022025_14_52_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70c3c710c664be09d260a21c446d242c.jpg","text":"TemporaryFile(/tmp/multipartBody2479186278781627254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087753393,"filename":"image_20022025_14_52_26_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682176","file1":"1338682172","file0":"1338682169","file4":"1338682185","file5":"1338682186","file3":"1338682179"},"map_files_photo_id_array":[{"photo_id":"1338682186","filename":"file5"},{"photo_id":"1338682176","filename":"file2"},{"photo_id":"1338682185","filename":"file4"},{"photo_id":"1338682172","filename":"file1"},{"photo_id":"1338682169","filename":"file0"},{"photo_id":"1338682179","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682172":["hashtag1","hashtag2"]},{"1338682186":["hashtag1","hashtag2"]},{"1338682176":["hashtag1","hashtag2"]},{"1338682185":["hashtag1","hashtag2"]},{"1338682179":["hashtag1","hashtag2"]},{"1338682169":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682172, 1338682186, 1338682176, 1338682185, 1338682179, 1338682169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.42621660232544 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:42:32.903619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_26_10390.jpg', '/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_37_10432.jpg', '/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_46_9327.jpg', '/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_57_10457.jpg', '/home/pi/Desktop/images/20022025/14/53/image_20022025_14_54_07_10336.jpg', '/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_16_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_26_10390.jpg
/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_37_10432.jpg
/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_46_9327.jpg
/home/pi/Desktop/images/20022025/14/53/image_20022025_14_53_57_10457.jpg
/home/pi/Desktop/images/20022025/14/53/image_20022025_14_54_07_10336.jpg
/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_16_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682205","1338682222","1338682225","1338682210","1338682213","1338682218"],"photo_ids_order":["1338682205","1338682210","1338682213","1338682218","1338682222","1338682225"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6cfba0d10d497807e74dc39f69e76a31.jpg","text":"TemporaryFile(/tmp/multipartBody7814484489722343417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087813452,"filename":"image_20022025_14_53_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7b25c5b0ad443d22285ef6b85995ef24.jpg","text":"TemporaryFile(/tmp/multipartBody2739607862217690017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087813452,"filename":"image_20022025_14_54_07_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3bddcfbb2e08928c695492cae0d14eac.jpg","text":"TemporaryFile(/tmp/multipartBody3578655205360003239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087813452,"filename":"image_20022025_14_54_16_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f3226fdca4a4244e9df6815567995488.jpg","text":"TemporaryFile(/tmp/multipartBody8287278951498956889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087813452,"filename":"image_20022025_14_53_37_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b189ed03d8a0c47aee7e290f246b7916.jpg","text":"TemporaryFile(/tmp/multipartBody7900767231448925563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087813452,"filename":"image_20022025_14_53_46_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a8780def0e79374303ea157a701cbc0.jpg","text":"TemporaryFile(/tmp/multipartBody5282443287230613772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087813452,"filename":"image_20022025_14_53_57_10457.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682213","file1":"1338682210","file0":"1338682205","file4":"1338682222","file5":"1338682225","file3":"1338682218"},"map_files_photo_id_array":[{"photo_id":"1338682225","filename":"file5"},{"photo_id":"1338682213","filename":"file2"},{"photo_id":"1338682222","filename":"file4"},{"photo_id":"1338682210","filename":"file1"},{"photo_id":"1338682205","filename":"file0"},{"photo_id":"1338682218","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682205":["hashtag1","hashtag2"]},{"1338682222":["hashtag1","hashtag2"]},{"1338682225":["hashtag1","hashtag2"]},{"1338682210":["hashtag1","hashtag2"]},{"1338682213":["hashtag1","hashtag2"]},{"1338682218":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682205, 1338682222, 1338682225, 1338682210, 1338682213, 1338682218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.094058990478516 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:43:33.047222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_27_10449.jpg', '/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_36_9418.jpg', '/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_47_10407.jpg', '/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_57_10339.jpg', '/home/pi/Desktop/images/20022025/14/54/image_20022025_14_55_06_9381.jpg', '/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_17_10323.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_27_10449.jpg
/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_36_9418.jpg
/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_47_10407.jpg
/home/pi/Desktop/images/20022025/14/54/image_20022025_14_54_57_10339.jpg
/home/pi/Desktop/images/20022025/14/54/image_20022025_14_55_06_9381.jpg
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_17_10323.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682267","1338682249","1338682245","1338682239","1338682236","1338682253"],"photo_ids_order":["1338682236","1338682239","1338682245","1338682249","1338682253","1338682267"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/09df471e7d10d124e9c0884552da35ed.jpg","text":"TemporaryFile(/tmp/multipartBody6650362128512829220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087873628,"filename":"image_20022025_14_55_17_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c2f91f487df512adc3484002ac77a7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6169886166839381370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087873628,"filename":"image_20022025_14_54_57_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f428041a7df3440f9b965b01aae9e8c.jpg","text":"TemporaryFile(/tmp/multipartBody2296362861825323424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087873628,"filename":"image_20022025_14_54_47_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4d0520f8b993e48caee45f21236804c5.jpg","text":"TemporaryFile(/tmp/multipartBody8921407457723283344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087873628,"filename":"image_20022025_14_54_36_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a96144dbc50fae81d3c10a788d68e07.jpg","text":"TemporaryFile(/tmp/multipartBody3166710779382341673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087873628,"filename":"image_20022025_14_54_27_10449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a14fa9da42e87d81d1a90bef0a0dc5ba.jpg","text":"TemporaryFile(/tmp/multipartBody338231616035217996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087873628,"filename":"image_20022025_14_55_06_9381.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682245","file1":"1338682239","file0":"1338682236","file4":"1338682253","file5":"1338682267","file3":"1338682249"},"map_files_photo_id_array":[{"photo_id":"1338682267","filename":"file5"},{"photo_id":"1338682245","filename":"file2"},{"photo_id":"1338682253","filename":"file4"},{"photo_id":"1338682239","filename":"file1"},{"photo_id":"1338682236","filename":"file0"},{"photo_id":"1338682249","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682267":["hashtag1","hashtag2"]},{"1338682249":["hashtag1","hashtag2"]},{"1338682245":["hashtag1","hashtag2"]},{"1338682239":["hashtag1","hashtag2"]},{"1338682236":["hashtag1","hashtag2"]},{"1338682253":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682267, 1338682249, 1338682245, 1338682239, 1338682236, 1338682253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22715997695923 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:44:32.155263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_27_10340.jpg', '/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_47_10325.jpg', '/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_57_10346.jpg', '/home/pi/Desktop/images/20022025/14/55/image_20022025_14_56_06_9356.jpg', '/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_17_10333.jpg', '/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_26_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_27_10340.jpg
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_47_10325.jpg
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_57_10346.jpg
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_56_06_9356.jpg
/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_17_10333.jpg
/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_26_9422.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4642517566680908 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 22:44:42.263984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_27_10340.jpg', '/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_47_10325.jpg', '/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_57_10346.jpg', '/home/pi/Desktop/images/20022025/14/55/image_20022025_14_56_06_9356.jpg', '/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_17_10333.jpg', '/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_26_9422.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_27_10340.jpg
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_47_10325.jpg
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_55_57_10346.jpg
/home/pi/Desktop/images/20022025/14/55/image_20022025_14_56_06_9356.jpg
/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_17_10333.jpg
/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_26_9422.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":["1338682313","1338682360","1338682354","1338682357","1338682362","1338682317"],"photo_ids_order":["1338682313","1338682317","1338682354","1338682357","1338682360","1338682362"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce41b05f1f0d0c673f202335bf0a4e19.jpg","text":"TemporaryFile(/tmp/multipartBody1641414901581879696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087942739,"filename":"image_20022025_14_55_27_10340.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ede81d880cc0cf0982f1c689f4c8c7d0.jpg","text":"TemporaryFile(/tmp/multipartBody5781729270476410631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087942739,"filename":"image_20022025_14_56_17_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7f9961c14ec1c19aa2915ba6cb8ef224.jpg","text":"TemporaryFile(/tmp/multipartBody3368196097972561131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087942739,"filename":"image_20022025_14_55_57_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc1e08ed205388b136269ecbc83caff9.jpg","text":"TemporaryFile(/tmp/multipartBody381995112530993773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087942739,"filename":"image_20022025_14_56_06_9356.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0f582db83059adb7d7e72791b249f20c.jpg","text":"TemporaryFile(/tmp/multipartBody6991479727326327932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087942739,"filename":"image_20022025_14_56_26_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/394781293801ddb3e6a71e204147506b.jpg","text":"TemporaryFile(/tmp/multipartBody3457537141819142282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087942739,"filename":"image_20022025_14_55_47_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682354","file1":"1338682317","file0":"1338682313","file4":"1338682360","file5":"1338682362","file3":"1338682357"},"map_files_photo_id_array":[{"photo_id":"1338682362","filename":"file5"},{"photo_id":"1338682354","filename":"file2"},{"photo_id":"1338682360","filename":"file4"},{"photo_id":"1338682317","filename":"file1"},{"photo_id":"1338682313","filename":"file0"},{"photo_id":"1338682357","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682313":["hashtag1","hashtag2"]},{"1338682360":["hashtag1","hashtag2"]},{"1338682354":["hashtag1","hashtag2"]},{"1338682357":["hashtag1","hashtag2"]},{"1338682362":["hashtag1","hashtag2"]},{"1338682317":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682313, 1338682360, 1338682354, 1338682357, 1338682362, 1338682317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.400267362594604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:45:32.932531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_37_10459.jpg', '/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_47_10337.jpg', '/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_56_9341.jpg', '/home/pi/Desktop/images/20022025/14/56/image_20022025_14_57_07_10423.jpg', '/home/pi/Desktop/images/20022025/14/57/image_20022025_14_57_37_10352.jpg', '/home/pi/Desktop/images/20022025/14/57/image_20022025_14_57_46_9432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_37_10459.jpg
/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_47_10337.jpg
/home/pi/Desktop/images/20022025/14/56/image_20022025_14_56_56_9341.jpg
/home/pi/Desktop/images/20022025/14/56/image_20022025_14_57_07_10423.jpg
/home/pi/Desktop/images/20022025/14/57/image_20022025_14_57_37_10352.jpg
/home/pi/Desktop/images/20022025/14/57/image_20022025_14_57_46_9432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682390","1338682392","1338682397","1338682385","1338682394","1338682388"],"photo_ids_order":["1338682385","1338682388","1338682390","1338682392","1338682394","1338682397"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92011d4985c3c400cea1394e6efebf6a.jpg","text":"TemporaryFile(/tmp/multipartBody4969681563175224616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087993516,"filename":"image_20022025_14_56_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e57c51130825590be0453ec11c05a7fa.jpg","text":"TemporaryFile(/tmp/multipartBody9038437769652109049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087993516,"filename":"image_20022025_14_57_07_10423.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a7e709fa0b563c8e1fe1e3a604f3ad60.jpg","text":"TemporaryFile(/tmp/multipartBody7751471598747484710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087993516,"filename":"image_20022025_14_57_46_9432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bc8dac15e37c8bfd131fd26140e159ff.jpg","text":"TemporaryFile(/tmp/multipartBody5662699128596987375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087993516,"filename":"image_20022025_14_56_37_10459.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48996c0a25efb278460575b4a594e4cc.jpg","text":"TemporaryFile(/tmp/multipartBody874465467725711564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087993516,"filename":"image_20022025_14_57_37_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a41170dae81a5ee04c3e678def176eb7.jpg","text":"TemporaryFile(/tmp/multipartBody8081057292213232615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740087993516,"filename":"image_20022025_14_56_47_10337.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682390","file1":"1338682388","file0":"1338682385","file4":"1338682394","file5":"1338682397","file3":"1338682392"},"map_files_photo_id_array":[{"photo_id":"1338682397","filename":"file5"},{"photo_id":"1338682390","filename":"file2"},{"photo_id":"1338682394","filename":"file4"},{"photo_id":"1338682388","filename":"file1"},{"photo_id":"1338682385","filename":"file0"},{"photo_id":"1338682392","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682390":["hashtag1","hashtag2"]},{"1338682392":["hashtag1","hashtag2"]},{"1338682397":["hashtag1","hashtag2"]},{"1338682385":["hashtag1","hashtag2"]},{"1338682394":["hashtag1","hashtag2"]},{"1338682388":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682390, 1338682392, 1338682397, 1338682385, 1338682394, 1338682388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25342392921448 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:46:33.014102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/57/image_20022025_14_57_57_10445.jpg', '/home/pi/Desktop/images/20022025/14/57/image_20022025_14_58_06_9336.jpg', '/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_16_10319.jpg', '/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_27_10443.jpg', '/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_36_9449.jpg', '/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_47_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/57/image_20022025_14_57_57_10445.jpg
/home/pi/Desktop/images/20022025/14/57/image_20022025_14_58_06_9336.jpg
/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_16_10319.jpg
/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_27_10443.jpg
/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_36_9449.jpg
/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_47_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682673","1338682805","1338682681","1338682567","1338682671","1338682676"],"photo_ids_order":["1338682567","1338682671","1338682673","1338682676","1338682681","1338682805"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da7845e28718412ee70bea6431394b16.jpg","text":"TemporaryFile(/tmp/multipartBody8970272205301571943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088053588,"filename":"image_20022025_14_58_16_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0745b9e4e0ee5d64c649c359661fbf0a.jpg","text":"TemporaryFile(/tmp/multipartBody37993236903312795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088053588,"filename":"image_20022025_14_58_47_10657.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5db868dc8d235e50508e37c84745060c.jpg","text":"TemporaryFile(/tmp/multipartBody5274806496652714517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088053588,"filename":"image_20022025_14_58_36_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/124040b2393dc5faa5d06083a0b3063b.jpg","text":"TemporaryFile(/tmp/multipartBody2203647372076826360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088053588,"filename":"image_20022025_14_57_57_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8501a189df6c4cc256d6f31946a6ccb2.jpg","text":"TemporaryFile(/tmp/multipartBody895378224999188620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088053588,"filename":"image_20022025_14_58_06_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f2e811ce686d7261e6288b589117ef80.jpg","text":"TemporaryFile(/tmp/multipartBody8108866860758752599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088053588,"filename":"image_20022025_14_58_27_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682673","file1":"1338682671","file0":"1338682567","file4":"1338682681","file5":"1338682805","file3":"1338682676"},"map_files_photo_id_array":[{"photo_id":"1338682805","filename":"file5"},{"photo_id":"1338682673","filename":"file2"},{"photo_id":"1338682681","filename":"file4"},{"photo_id":"1338682671","filename":"file1"},{"photo_id":"1338682567","filename":"file0"},{"photo_id":"1338682676","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682673":["hashtag1","hashtag2"]},{"1338682805":["hashtag1","hashtag2"]},{"1338682681":["hashtag1","hashtag2"]},{"1338682567":["hashtag1","hashtag2"]},{"1338682671":["hashtag1","hashtag2"]},{"1338682676":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682673, 1338682805, 1338682681, 1338682567, 1338682671, 1338682676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.4806444644928 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:47:32.067483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_56_9357.jpg', '/home/pi/Desktop/images/20022025/14/58/image_20022025_14_59_07_10326.jpg', '/home/pi/Desktop/images/20022025/14/59/image_20022025_14_59_17_10349.jpg', '/home/pi/Desktop/images/20022025/14/59/image_20022025_14_59_37_10427.jpg', '/home/pi/Desktop/images/20022025/14/59/image_20022025_14_59_46_9354.jpg', '/home/pi/Desktop/images/20022025/14/59/image_20022025_14_59_57_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/14/58/image_20022025_14_58_56_9357.jpg
/home/pi/Desktop/images/20022025/14/58/image_20022025_14_59_07_10326.jpg
/home/pi/Desktop/images/20022025/14/59/image_20022025_14_59_17_10349.jpg
/home/pi/Desktop/images/20022025/14/59/image_20022025_14_59_37_10427.jpg
/home/pi/Desktop/images/20022025/14/59/image_20022025_14_59_46_9354.jpg
/home/pi/Desktop/images/20022025/14/59/image_20022025_14_59_57_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682942","1338682945","1338682950","1338682938","1338682947","1338682940"],"photo_ids_order":["1338682938","1338682940","1338682942","1338682945","1338682947","1338682950"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e85dd116bf0aa38d54a02319d9f07b2b.jpg","text":"TemporaryFile(/tmp/multipartBody1458351281249620160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088112631,"filename":"image_20022025_14_59_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/981dc8eb42cb068dbecd3fd45294648b.jpg","text":"TemporaryFile(/tmp/multipartBody7605980524363057794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088112631,"filename":"image_20022025_14_59_37_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6eabf9e0040a82258b431343afbccbef.jpg","text":"TemporaryFile(/tmp/multipartBody5532573290045303999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088112631,"filename":"image_20022025_14_59_57_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/021b365d8f816059113c1e28fff5790d.jpg","text":"TemporaryFile(/tmp/multipartBody6104967785447279574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088112631,"filename":"image_20022025_14_58_56_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d318f4f4cad3e6c4cc332f0608ad4da.jpg","text":"TemporaryFile(/tmp/multipartBody364024425043485331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088112631,"filename":"image_20022025_14_59_46_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/15309c656a065898f2856b6edb54f899.jpg","text":"TemporaryFile(/tmp/multipartBody2992157029450336774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088112631,"filename":"image_20022025_14_59_07_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682942","file1":"1338682940","file0":"1338682938","file4":"1338682947","file5":"1338682950","file3":"1338682945"},"map_files_photo_id_array":[{"photo_id":"1338682950","filename":"file5"},{"photo_id":"1338682942","filename":"file2"},{"photo_id":"1338682947","filename":"file4"},{"photo_id":"1338682940","filename":"file1"},{"photo_id":"1338682938","filename":"file0"},{"photo_id":"1338682945","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682942":["hashtag1","hashtag2"]},{"1338682945":["hashtag1","hashtag2"]},{"1338682950":["hashtag1","hashtag2"]},{"1338682938":["hashtag1","hashtag2"]},{"1338682947":["hashtag1","hashtag2"]},{"1338682940":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682942, 1338682945, 1338682950, 1338682938, 1338682947, 1338682940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41147470474243 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:48:32.389032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_16_10071.jpg', '/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_26_10375.jpg', '/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_36_10348.jpg', '/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_46_9414.jpg', '/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_56_10327.jpg', '/home/pi/Desktop/images/20022025/15/00/image_20022025_15_01_06_10386.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_16_10071.jpg
/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_26_10375.jpg
/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_36_10348.jpg
/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_46_9414.jpg
/home/pi/Desktop/images/20022025/15/00/image_20022025_15_00_56_10327.jpg
/home/pi/Desktop/images/20022025/15/00/image_20022025_15_01_06_10386.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338682979","1338682981","1338682975","1338682974","1338683025","1338682977"],"photo_ids_order":["1338682974","1338682975","1338682977","1338682979","1338682981","1338683025"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4126239dc279af4f43a5faba417fce98.jpg","text":"TemporaryFile(/tmp/multipartBody5232822154277302648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088172963,"filename":"image_20022025_15_00_46_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/208f3b96215a08f5f6f84ecb2228edcd.jpg","text":"TemporaryFile(/tmp/multipartBody6856876781406705455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088172963,"filename":"image_20022025_15_00_56_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee03b2fe8068b5d9b7ce07f0f041b7d3.jpg","text":"TemporaryFile(/tmp/multipartBody7328606874247338004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088172963,"filename":"image_20022025_15_00_26_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/21088626d9ef0c401ae20eca966b11e7.jpg","text":"TemporaryFile(/tmp/multipartBody1009778353057010776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088172963,"filename":"image_20022025_15_00_16_10071.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/acd5d572bc36f21d03bde0471c2c2ec8.jpg","text":"TemporaryFile(/tmp/multipartBody5385255993686313807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088172963,"filename":"image_20022025_15_01_06_10386.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/037d568a821eb1755e9288aa0a1b6521.jpg","text":"TemporaryFile(/tmp/multipartBody4981494810177527582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088172963,"filename":"image_20022025_15_00_36_10348.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338682977","file1":"1338682975","file0":"1338682974","file4":"1338682981","file5":"1338683025","file3":"1338682979"},"map_files_photo_id_array":[{"photo_id":"1338683025","filename":"file5"},{"photo_id":"1338682977","filename":"file2"},{"photo_id":"1338682981","filename":"file4"},{"photo_id":"1338682975","filename":"file1"},{"photo_id":"1338682974","filename":"file0"},{"photo_id":"1338682979","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338682979":["hashtag1","hashtag2"]},{"1338682981":["hashtag1","hashtag2"]},{"1338682975":["hashtag1","hashtag2"]},{"1338682974":["hashtag1","hashtag2"]},{"1338683025":["hashtag1","hashtag2"]},{"1338682977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338682979, 1338682981, 1338682975, 1338682974, 1338683025, 1338682977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.854652881622314 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:49:32.571621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/01/image_20022025_15_01_16_9413.jpg', '/home/pi/Desktop/images/20022025/15/01/image_20022025_15_01_36_9442.jpg', '/home/pi/Desktop/images/20022025/15/01/image_20022025_15_01_46_10338.jpg', '/home/pi/Desktop/images/20022025/15/01/image_20022025_15_01_56_10339.jpg', '/home/pi/Desktop/images/20022025/15/01/image_20022025_15_02_06_9445.jpg', '/home/pi/Desktop/images/20022025/15/02/image_20022025_15_02_16_10318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/01/image_20022025_15_01_16_9413.jpg
/home/pi/Desktop/images/20022025/15/01/image_20022025_15_01_36_9442.jpg
/home/pi/Desktop/images/20022025/15/01/image_20022025_15_01_46_10338.jpg
/home/pi/Desktop/images/20022025/15/01/image_20022025_15_01_56_10339.jpg
/home/pi/Desktop/images/20022025/15/01/image_20022025_15_02_06_9445.jpg
/home/pi/Desktop/images/20022025/15/02/image_20022025_15_02_16_10318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338683164","1338683167","1338683172","1338683169","1338683165","1338683162"],"photo_ids_order":["1338683162","1338683164","1338683165","1338683167","1338683169","1338683172"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2b179a67b6ab30312119ab2c1e85bdbf.jpg","text":"TemporaryFile(/tmp/multipartBody1293048988423368790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088233146,"filename":"image_20022025_15_01_36_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f105bd0218c12e9912d22028fc0241a.jpg","text":"TemporaryFile(/tmp/multipartBody8166057690749898118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088233146,"filename":"image_20022025_15_01_56_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a5ba81629f6a4a3c8120c4ad56812ec8.jpg","text":"TemporaryFile(/tmp/multipartBody48700815185255719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088233146,"filename":"image_20022025_15_02_16_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/449da2770025eac2c5f8c787b3c4ddac.jpg","text":"TemporaryFile(/tmp/multipartBody6503958837149262027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088233146,"filename":"image_20022025_15_02_06_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bdf2b81f976b05c677620e0f318e44d3.jpg","text":"TemporaryFile(/tmp/multipartBody5907020831209823623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088233146,"filename":"image_20022025_15_01_46_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cd47aec7ca0ff8d918e6b169b7b2978e.jpg","text":"TemporaryFile(/tmp/multipartBody2908851671243250259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088233146,"filename":"image_20022025_15_01_16_9413.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338683165","file1":"1338683164","file0":"1338683162","file4":"1338683169","file5":"1338683172","file3":"1338683167"},"map_files_photo_id_array":[{"photo_id":"1338683172","filename":"file5"},{"photo_id":"1338683165","filename":"file2"},{"photo_id":"1338683169","filename":"file4"},{"photo_id":"1338683164","filename":"file1"},{"photo_id":"1338683162","filename":"file0"},{"photo_id":"1338683167","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338683164":["hashtag1","hashtag2"]},{"1338683167":["hashtag1","hashtag2"]},{"1338683172":["hashtag1","hashtag2"]},{"1338683169":["hashtag1","hashtag2"]},{"1338683165":["hashtag1","hashtag2"]},{"1338683162":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338683164, 1338683167, 1338683172, 1338683169, 1338683165, 1338683162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27970004081726 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:50:32.831936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/02/image_20022025_15_02_36_10327.jpg', '/home/pi/Desktop/images/20022025/15/02/image_20022025_15_02_46_10327.jpg', '/home/pi/Desktop/images/20022025/15/02/image_20022025_15_02_56_9368.jpg', '/home/pi/Desktop/images/20022025/15/02/image_20022025_15_03_06_10341.jpg', '/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_16_10330.jpg', '/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_26_9445.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/02/image_20022025_15_02_36_10327.jpg
/home/pi/Desktop/images/20022025/15/02/image_20022025_15_02_46_10327.jpg
/home/pi/Desktop/images/20022025/15/02/image_20022025_15_02_56_9368.jpg
/home/pi/Desktop/images/20022025/15/02/image_20022025_15_03_06_10341.jpg
/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_16_10330.jpg
/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_26_9445.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338683251","1338683244","1338683247","1338683252","1338683249","1338683237"],"photo_ids_order":["1338683237","1338683244","1338683247","1338683249","1338683251","1338683252"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a00d3747b3cc3def3ef38a6ee7c9e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5023181732624524645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088294658,"filename":"image_20022025_15_03_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e317044c9bb1914134f1e4def3893f3.jpg","text":"TemporaryFile(/tmp/multipartBody7273474879147471413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088294658,"filename":"image_20022025_15_02_46_10327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/758aeae12207fdc7807d0e7e304384bb.jpg","text":"TemporaryFile(/tmp/multipartBody6828010577460588239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088294658,"filename":"image_20022025_15_02_56_9368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b189600d96aea6e42bedd14fb0c914a6.jpg","text":"TemporaryFile(/tmp/multipartBody172818595461511818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088294658,"filename":"image_20022025_15_03_26_9445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e41557abc4b2f1c445bdbe416dfcfdd6.jpg","text":"TemporaryFile(/tmp/multipartBody7647020446308590075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088294658,"filename":"image_20022025_15_03_06_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a5c9ab2cba454a20384cfb6a7de49f1d.jpg","text":"TemporaryFile(/tmp/multipartBody2441587548348881344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088294658,"filename":"image_20022025_15_02_36_10327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338683247","file1":"1338683244","file0":"1338683237","file4":"1338683251","file5":"1338683252","file3":"1338683249"},"map_files_photo_id_array":[{"photo_id":"1338683252","filename":"file5"},{"photo_id":"1338683247","filename":"file2"},{"photo_id":"1338683251","filename":"file4"},{"photo_id":"1338683244","filename":"file1"},{"photo_id":"1338683237","filename":"file0"},{"photo_id":"1338683249","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338683251":["hashtag1","hashtag2"]},{"1338683244":["hashtag1","hashtag2"]},{"1338683247":["hashtag1","hashtag2"]},{"1338683252":["hashtag1","hashtag2"]},{"1338683249":["hashtag1","hashtag2"]},{"1338683237":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338683251, 1338683244, 1338683247, 1338683252, 1338683249, 1338683237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.013535022735596 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:51:32.925448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_36_10345.jpg', '/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_46_10317.jpg', '/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_56_9348.jpg', '/home/pi/Desktop/images/20022025/15/03/image_20022025_15_04_06_10334.jpg', '/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_16_10317.jpg', '/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_26_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_36_10345.jpg
/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_46_10317.jpg
/home/pi/Desktop/images/20022025/15/03/image_20022025_15_03_56_9348.jpg
/home/pi/Desktop/images/20022025/15/03/image_20022025_15_04_06_10334.jpg
/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_16_10317.jpg
/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_26_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338683494","1338683479","1338683490","1338683481","1338683495","1338683480"],"photo_ids_order":["1338683479","1338683480","1338683481","1338683490","1338683494","1338683495"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dd2e899212af6de1956d4ee0c3a3e4c2.jpg","text":"TemporaryFile(/tmp/multipartBody6832273408594255210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088353492,"filename":"image_20022025_15_04_16_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60664d586bf32b43a833e55a0d49dcc7.jpg","text":"TemporaryFile(/tmp/multipartBody8500983273905675876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088353492,"filename":"image_20022025_15_03_36_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b701952913a735c58c8dfae6c02aa175.jpg","text":"TemporaryFile(/tmp/multipartBody7313084386138354173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088353492,"filename":"image_20022025_15_04_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3cd3b588a7af20c4356aa7d4c78c6d79.jpg","text":"TemporaryFile(/tmp/multipartBody4850399948172788266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088353492,"filename":"image_20022025_15_03_56_9348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ce5685f74b86e9039f4d5b3660480b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7445096140200925472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088353492,"filename":"image_20022025_15_04_26_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/02464c6b3eaa4c401f4dfc202cbe607d.jpg","text":"TemporaryFile(/tmp/multipartBody1930810709284391565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088353492,"filename":"image_20022025_15_03_46_10317.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338683481","file1":"1338683480","file0":"1338683479","file4":"1338683494","file5":"1338683495","file3":"1338683490"},"map_files_photo_id_array":[{"photo_id":"1338683495","filename":"file5"},{"photo_id":"1338683481","filename":"file2"},{"photo_id":"1338683494","filename":"file4"},{"photo_id":"1338683480","filename":"file1"},{"photo_id":"1338683479","filename":"file0"},{"photo_id":"1338683490","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338683494":["hashtag1","hashtag2"]},{"1338683479":["hashtag1","hashtag2"]},{"1338683490":["hashtag1","hashtag2"]},{"1338683481":["hashtag1","hashtag2"]},{"1338683495":["hashtag1","hashtag2"]},{"1338683480":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338683494, 1338683479, 1338683490, 1338683481, 1338683495, 1338683480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.56224036216736 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:52:33.180870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_36_10433.jpg', '/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_46_9323.jpg', '/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_56_10350.jpg', '/home/pi/Desktop/images/20022025/15/04/image_20022025_15_05_06_10325.jpg', '/home/pi/Desktop/images/20022025/15/05/image_20022025_15_05_16_9327.jpg', '/home/pi/Desktop/images/20022025/15/05/image_20022025_15_05_26_10358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_36_10433.jpg
/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_46_9323.jpg
/home/pi/Desktop/images/20022025/15/04/image_20022025_15_04_56_10350.jpg
/home/pi/Desktop/images/20022025/15/04/image_20022025_15_05_06_10325.jpg
/home/pi/Desktop/images/20022025/15/05/image_20022025_15_05_16_9327.jpg
/home/pi/Desktop/images/20022025/15/05/image_20022025_15_05_26_10358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338683572","1338683566","1338683574","1338683568","1338683570","1338683567"],"photo_ids_order":["1338683566","1338683567","1338683568","1338683570","1338683572","1338683574"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/54f505da4a884c786d2bd5fb0e3df9ac.jpg","text":"TemporaryFile(/tmp/multipartBody5580970683188326875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088413765,"filename":"image_20022025_15_05_16_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9ec31a55f891817ee5592b3bfc8ecee5.jpg","text":"TemporaryFile(/tmp/multipartBody2791060658082862054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088413765,"filename":"image_20022025_15_04_36_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8bd5a41a28e37ac7dd78a963b594ccc2.jpg","text":"TemporaryFile(/tmp/multipartBody3784180976487267327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088413765,"filename":"image_20022025_15_05_26_10358.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e6a92ebb5bf886ac5777baa544c85e4.jpg","text":"TemporaryFile(/tmp/multipartBody4348366150838076710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088413765,"filename":"image_20022025_15_04_56_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1ccb460dd715038e0427a2999267d6a4.jpg","text":"TemporaryFile(/tmp/multipartBody8559344610828715037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088413765,"filename":"image_20022025_15_05_06_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a64dc09d545ad4be842ae4e2336712c7.jpg","text":"TemporaryFile(/tmp/multipartBody3527248618733718729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088413765,"filename":"image_20022025_15_04_46_9323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338683568","file1":"1338683567","file0":"1338683566","file4":"1338683572","file5":"1338683574","file3":"1338683570"},"map_files_photo_id_array":[{"photo_id":"1338683574","filename":"file5"},{"photo_id":"1338683568","filename":"file2"},{"photo_id":"1338683572","filename":"file4"},{"photo_id":"1338683567","filename":"file1"},{"photo_id":"1338683566","filename":"file0"},{"photo_id":"1338683570","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338683572":["hashtag1","hashtag2"]},{"1338683566":["hashtag1","hashtag2"]},{"1338683574":["hashtag1","hashtag2"]},{"1338683568":["hashtag1","hashtag2"]},{"1338683570":["hashtag1","hashtag2"]},{"1338683567":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338683572, 1338683566, 1338683574, 1338683568, 1338683570, 1338683567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.13014841079712 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:53:32.226795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/05/image_20022025_15_05_36_10323.jpg', '/home/pi/Desktop/images/20022025/15/05/image_20022025_15_05_56_10350.jpg', '/home/pi/Desktop/images/20022025/15/05/image_20022025_15_06_06_10334.jpg', '/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_16_9421.jpg', '/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_26_10368.jpg', '/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_37_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/05/image_20022025_15_05_36_10323.jpg
/home/pi/Desktop/images/20022025/15/05/image_20022025_15_05_56_10350.jpg
/home/pi/Desktop/images/20022025/15/05/image_20022025_15_06_06_10334.jpg
/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_16_9421.jpg
/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_26_10368.jpg
/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_37_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338683887","1338683905","1338683904","1338683897","1338683901","1338683893"],"photo_ids_order":["1338683887","1338683893","1338683897","1338683901","1338683904","1338683905"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/07f11c1dfac3f90aeab7c1c2c46871bb.jpg","text":"TemporaryFile(/tmp/multipartBody3597314702089140670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088472793,"filename":"image_20022025_15_05_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a726822ce4441fc7dbfeb9287b9cb8dd.jpg","text":"TemporaryFile(/tmp/multipartBody1879828092964178948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088472793,"filename":"image_20022025_15_06_37_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0452f51d12e4c2e6ef3558ee09e30c68.jpg","text":"TemporaryFile(/tmp/multipartBody6812322567852971026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088472793,"filename":"image_20022025_15_06_26_10368.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3a7f6e7c3f85e405b9e146d617bd0b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1506996648530111804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088472793,"filename":"image_20022025_15_06_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d14039d933419526513bd17d7bdd9ef1.jpg","text":"TemporaryFile(/tmp/multipartBody5684136935234190521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088472793,"filename":"image_20022025_15_06_16_9421.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fb749bef11d0838a76572f3dff95f786.jpg","text":"TemporaryFile(/tmp/multipartBody5289644739008064096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088472793,"filename":"image_20022025_15_05_56_10350.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338683897","file1":"1338683893","file0":"1338683887","file4":"1338683904","file5":"1338683905","file3":"1338683901"},"map_files_photo_id_array":[{"photo_id":"1338683905","filename":"file5"},{"photo_id":"1338683897","filename":"file2"},{"photo_id":"1338683904","filename":"file4"},{"photo_id":"1338683893","filename":"file1"},{"photo_id":"1338683887","filename":"file0"},{"photo_id":"1338683901","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338683887":["hashtag1","hashtag2"]},{"1338683905":["hashtag1","hashtag2"]},{"1338683904":["hashtag1","hashtag2"]},{"1338683897":["hashtag1","hashtag2"]},{"1338683901":["hashtag1","hashtag2"]},{"1338683893":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338683887, 1338683905, 1338683904, 1338683897, 1338683901, 1338683893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.364768505096436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:54:32.557458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_46_9342.jpg', '/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_56_10341.jpg', '/home/pi/Desktop/images/20022025/15/06/image_20022025_15_07_06_9442.jpg', '/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_16_10329.jpg', '/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_26_10335.jpg', '/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_36_9347.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_46_9342.jpg
/home/pi/Desktop/images/20022025/15/06/image_20022025_15_06_56_10341.jpg
/home/pi/Desktop/images/20022025/15/06/image_20022025_15_07_06_9442.jpg
/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_16_10329.jpg
/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_26_10335.jpg
/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_36_9347.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338683926","1338683941","1338683920","1338683943","1338683934","1338683945"],"photo_ids_order":["1338683920","1338683926","1338683934","1338683941","1338683943","1338683945"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3e4162199c50b5c4f571750b5bfd7341.jpg","text":"TemporaryFile(/tmp/multipartBody4293953609697473319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088533134,"filename":"image_20022025_15_06_56_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc849d9dcb3ef3dce2e2041c7db52551.jpg","text":"TemporaryFile(/tmp/multipartBody6708382747065960343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088533134,"filename":"image_20022025_15_07_16_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e1e6a45d9e014edc854939b5ea7f0d39.jpg","text":"TemporaryFile(/tmp/multipartBody6432940273984694471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088533134,"filename":"image_20022025_15_06_46_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/33a9d3b2de30127a21d4af8f917751eb.jpg","text":"TemporaryFile(/tmp/multipartBody1046246199948446457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088533134,"filename":"image_20022025_15_07_26_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/80588e752dc5c69f7a54587e67409178.jpg","text":"TemporaryFile(/tmp/multipartBody826883700929483950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088533134,"filename":"image_20022025_15_07_06_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/efb960b1d188ebc610f18731cebe5f6b.jpg","text":"TemporaryFile(/tmp/multipartBody5469083143959774493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088533134,"filename":"image_20022025_15_07_36_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338683934","file1":"1338683926","file0":"1338683920","file4":"1338683943","file5":"1338683945","file3":"1338683941"},"map_files_photo_id_array":[{"photo_id":"1338683945","filename":"file5"},{"photo_id":"1338683934","filename":"file2"},{"photo_id":"1338683943","filename":"file4"},{"photo_id":"1338683926","filename":"file1"},{"photo_id":"1338683920","filename":"file0"},{"photo_id":"1338683941","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338683926":["hashtag1","hashtag2"]},{"1338683941":["hashtag1","hashtag2"]},{"1338683920":["hashtag1","hashtag2"]},{"1338683943":["hashtag1","hashtag2"]},{"1338683934":["hashtag1","hashtag2"]},{"1338683945":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338683926, 1338683941, 1338683920, 1338683943, 1338683934, 1338683945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.562193155288696 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:55:32.751064
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_46_10329.jpg', '/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_56_10358.jpg', '/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_16_10322.jpg', '/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_27_10412.jpg', '/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_36_9336.jpg', '/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_46_10393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_46_10329.jpg
/home/pi/Desktop/images/20022025/15/07/image_20022025_15_07_56_10358.jpg
/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_16_10322.jpg
/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_27_10412.jpg
/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_36_9336.jpg
/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_46_10393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338683971","1338683965","1338683967","1338683961","1338683954","1338683957"],"photo_ids_order":["1338683954","1338683957","1338683961","1338683965","1338683967","1338683971"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2d3a63e9861d34cdeb79ee90c5835c0b.jpg","text":"TemporaryFile(/tmp/multipartBody5640076171244141762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088593323,"filename":"image_20022025_15_08_46_10393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6123deffd8dfd22bd5d1ccc64397452.jpg","text":"TemporaryFile(/tmp/multipartBody7066755171943166038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088593323,"filename":"image_20022025_15_08_27_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0633c8d74d9916623497dae7c630917c.jpg","text":"TemporaryFile(/tmp/multipartBody9142766362160211875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088593323,"filename":"image_20022025_15_08_36_9336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2715379a351932db128e459b6c60308f.jpg","text":"TemporaryFile(/tmp/multipartBody8764477264479806782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088593323,"filename":"image_20022025_15_08_16_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56d8f24ade6bff1678c97181883f74fb.jpg","text":"TemporaryFile(/tmp/multipartBody8952814698779012229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088593323,"filename":"image_20022025_15_07_46_10329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1d20097a33a8dd6a3e0ad5986a13e53a.jpg","text":"TemporaryFile(/tmp/multipartBody5252752487218718644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088593323,"filename":"image_20022025_15_07_56_10358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338683961","file1":"1338683957","file0":"1338683954","file4":"1338683967","file5":"1338683971","file3":"1338683965"},"map_files_photo_id_array":[{"photo_id":"1338683971","filename":"file5"},{"photo_id":"1338683961","filename":"file2"},{"photo_id":"1338683967","filename":"file4"},{"photo_id":"1338683957","filename":"file1"},{"photo_id":"1338683954","filename":"file0"},{"photo_id":"1338683965","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338683971":["hashtag1","hashtag2"]},{"1338683965":["hashtag1","hashtag2"]},{"1338683967":["hashtag1","hashtag2"]},{"1338683961":["hashtag1","hashtag2"]},{"1338683954":["hashtag1","hashtag2"]},{"1338683957":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338683971, 1338683965, 1338683967, 1338683961, 1338683954, 1338683957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03628897666931 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:56:33.045503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_56_9424.jpg', '/home/pi/Desktop/images/20022025/15/08/image_20022025_15_09_06_10344.jpg', '/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_16_10335.jpg', '/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_26_9393.jpg', '/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_36_10338.jpg', '/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_46_10414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/08/image_20022025_15_08_56_9424.jpg
/home/pi/Desktop/images/20022025/15/08/image_20022025_15_09_06_10344.jpg
/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_16_10335.jpg
/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_26_9393.jpg
/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_36_10338.jpg
/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_46_10414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338683980","1338683982","1338683990","1338683984","1338683993","1338683987"],"photo_ids_order":["1338683980","1338683982","1338683984","1338683987","1338683990","1338683993"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7139d70f1235a3d94fd1f7d66e09ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5380535600797068422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088653598,"filename":"image_20022025_15_08_56_9424.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0abe4e6c4db96867c85b598ad1da1113.jpg","text":"TemporaryFile(/tmp/multipartBody6248942277888745479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088653598,"filename":"image_20022025_15_09_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/748a7da26b1a40578607fa1e628dd1a7.jpg","text":"TemporaryFile(/tmp/multipartBody2717554334757149884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088653598,"filename":"image_20022025_15_09_36_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c6559ff680d4806583d97007a1fdb482.jpg","text":"TemporaryFile(/tmp/multipartBody2300187022336291859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088653598,"filename":"image_20022025_15_09_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0f71559b8f4c66c4b02ccdc7ed3ad7d3.jpg","text":"TemporaryFile(/tmp/multipartBody7424004287885826435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088653598,"filename":"image_20022025_15_09_46_10414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ccb4c7fd8cb958a568570933035c3ff1.jpg","text":"TemporaryFile(/tmp/multipartBody3572002446536987522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088653598,"filename":"image_20022025_15_09_26_9393.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338683984","file1":"1338683982","file0":"1338683980","file4":"1338683990","file5":"1338683993","file3":"1338683987"},"map_files_photo_id_array":[{"photo_id":"1338683993","filename":"file5"},{"photo_id":"1338683984","filename":"file2"},{"photo_id":"1338683990","filename":"file4"},{"photo_id":"1338683982","filename":"file1"},{"photo_id":"1338683980","filename":"file0"},{"photo_id":"1338683987","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338683980":["hashtag1","hashtag2"]},{"1338683982":["hashtag1","hashtag2"]},{"1338683990":["hashtag1","hashtag2"]},{"1338683984":["hashtag1","hashtag2"]},{"1338683993":["hashtag1","hashtag2"]},{"1338683987":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338683980, 1338683982, 1338683990, 1338683984, 1338683993, 1338683987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.669180393218994 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 22:57:33.201368
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_56_9327.jpg', '/home/pi/Desktop/images/20022025/15/09/image_20022025_15_10_06_10321.jpg', '/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_17_10382.jpg', '/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_46_9462.jpg', '/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_56_10337.jpg', '/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_16_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_56_9327.jpg
/home/pi/Desktop/images/20022025/15/09/image_20022025_15_10_06_10321.jpg
/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_17_10382.jpg
/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_46_9462.jpg
/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_56_10337.jpg
/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_16_9326.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 22:59:04.246802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_56_9327.jpg', '/home/pi/Desktop/images/20022025/15/09/image_20022025_15_10_06_10321.jpg', '/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_17_10382.jpg', '/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_46_9462.jpg', '/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_56_10337.jpg', '/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_16_9326.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/09/image_20022025_15_09_56_9327.jpg
/home/pi/Desktop/images/20022025/15/09/image_20022025_15_10_06_10321.jpg
/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_17_10382.jpg
/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_46_9462.jpg
/home/pi/Desktop/images/20022025/15/10/image_20022025_15_10_56_10337.jpg
/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_16_9326.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338684639","1338684222","1338684303","1338684225","1338684482","1338684224"],"photo_ids_order":["1338684222","1338684224","1338684225","1338684303","1338684482","1338684639"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2294bd4676ff4d372792c3fa218d8e4e.jpg","text":"TemporaryFile(/tmp/multipartBody1986552072461944507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088804840,"filename":"image_20022025_15_11_16_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/98d0a06807de59e621ba8584d22f5ee7.jpg","text":"TemporaryFile(/tmp/multipartBody7539154005142149503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088804840,"filename":"image_20022025_15_09_56_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/66544bc8e75e430f15e3733944759ab2.jpg","text":"TemporaryFile(/tmp/multipartBody982793678944580213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088804840,"filename":"image_20022025_15_10_46_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8df5d2fc0cde113ae08e21a1c37eb8ae.jpg","text":"TemporaryFile(/tmp/multipartBody2116479562362146374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088804840,"filename":"image_20022025_15_10_17_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c3c5e2dba26b8ad2f8be614e9494bd1f.jpg","text":"TemporaryFile(/tmp/multipartBody1319832785500019221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088804840,"filename":"image_20022025_15_10_56_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9471cb6baa1a21f84da1a28db46143a1.jpg","text":"TemporaryFile(/tmp/multipartBody4234391445867839374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088804840,"filename":"image_20022025_15_10_06_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338684225","file1":"1338684224","file0":"1338684222","file4":"1338684482","file5":"1338684639","file3":"1338684303"},"map_files_photo_id_array":[{"photo_id":"1338684639","filename":"file5"},{"photo_id":"1338684225","filename":"file2"},{"photo_id":"1338684482","filename":"file4"},{"photo_id":"1338684224","filename":"file1"},{"photo_id":"1338684222","filename":"file0"},{"photo_id":"1338684303","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338684639":["hashtag1","hashtag2"]},{"1338684222":["hashtag1","hashtag2"]},{"1338684303":["hashtag1","hashtag2"]},{"1338684225":["hashtag1","hashtag2"]},{"1338684482":["hashtag1","hashtag2"]},{"1338684224":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338684639, 1338684222, 1338684303, 1338684225, 1338684482, 1338684224)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.94403529167175 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 22:59:42.677221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_26_10342.jpg', '/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_36_10360.jpg', '/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_46_9325.jpg', '/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_56_10459.jpg', '/home/pi/Desktop/images/20022025/15/11/image_20022025_15_12_07_10392.jpg', '/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_16_9393.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_26_10342.jpg
/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_36_10360.jpg
/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_46_9325.jpg
/home/pi/Desktop/images/20022025/15/11/image_20022025_15_11_56_10459.jpg
/home/pi/Desktop/images/20022025/15/11/image_20022025_15_12_07_10392.jpg
/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_16_9393.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338684745","1338684646","1338684649","1338684747","1338684668","1338684743"],"photo_ids_order":["1338684646","1338684649","1338684668","1338684743","1338684745","1338684747"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92986f006593acfb726f56c9b74ff115.jpg","text":"TemporaryFile(/tmp/multipartBody1365353086783040910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088843252,"filename":"image_20022025_15_12_07_10392.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c48f484b178209ada1a116f7ca874847.jpg","text":"TemporaryFile(/tmp/multipartBody2711262754881515187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088843252,"filename":"image_20022025_15_11_26_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1313bbbc544a92f3bec5f2917604448.jpg","text":"TemporaryFile(/tmp/multipartBody258800952445844883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088843252,"filename":"image_20022025_15_11_36_10360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d9b855ef443aab34e3f5c8396af1f67d.jpg","text":"TemporaryFile(/tmp/multipartBody1493495543755013494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088843252,"filename":"image_20022025_15_12_16_9393.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dc9f8756790eee7bf807d40d65a54452.jpg","text":"TemporaryFile(/tmp/multipartBody3379488686422181993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088843252,"filename":"image_20022025_15_11_46_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9a9a4cf9759b988517c0f0f005ab6ee9.jpg","text":"TemporaryFile(/tmp/multipartBody7811981434756016728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088843252,"filename":"image_20022025_15_11_56_10459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338684668","file1":"1338684649","file0":"1338684646","file4":"1338684745","file5":"1338684747","file3":"1338684743"},"map_files_photo_id_array":[{"photo_id":"1338684747","filename":"file5"},{"photo_id":"1338684668","filename":"file2"},{"photo_id":"1338684745","filename":"file4"},{"photo_id":"1338684649","filename":"file1"},{"photo_id":"1338684646","filename":"file0"},{"photo_id":"1338684743","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338684745":["hashtag1","hashtag2"]},{"1338684646":["hashtag1","hashtag2"]},{"1338684649":["hashtag1","hashtag2"]},{"1338684747":["hashtag1","hashtag2"]},{"1338684668":["hashtag1","hashtag2"]},{"1338684743":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338684745, 1338684646, 1338684649, 1338684747, 1338684668, 1338684743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.983275175094604 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:00:32.835255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_26_10390.jpg', '/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_36_9405.jpg', '/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_46_10336.jpg', '/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_57_10446.jpg', '/home/pi/Desktop/images/20022025/15/12/image_20022025_15_13_06_9362.jpg', '/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_16_10385.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_26_10390.jpg
/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_36_9405.jpg
/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_46_10336.jpg
/home/pi/Desktop/images/20022025/15/12/image_20022025_15_12_57_10446.jpg
/home/pi/Desktop/images/20022025/15/12/image_20022025_15_13_06_9362.jpg
/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_16_10385.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338684843","1338684851","1338684845","1338684839","1338684854","1338684848"],"photo_ids_order":["1338684839","1338684843","1338684845","1338684848","1338684851","1338684854"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3aec4547675a8b6bfe1c5a3d05b2a558.jpg","text":"TemporaryFile(/tmp/multipartBody4576598540088190480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088893405,"filename":"image_20022025_15_12_36_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9b3203cf674413db5756264418e684c.jpg","text":"TemporaryFile(/tmp/multipartBody3334920780011814064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088893405,"filename":"image_20022025_15_13_06_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c9a42ce44ac7d07747d4a19ba225389.jpg","text":"TemporaryFile(/tmp/multipartBody7498678684666493348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088893405,"filename":"image_20022025_15_12_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a0c1d43880fa511784caa2f7c7f3e4b5.jpg","text":"TemporaryFile(/tmp/multipartBody361280382411466382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088893405,"filename":"image_20022025_15_12_26_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7862429e41f73882607cbcc0e87e4c03.jpg","text":"TemporaryFile(/tmp/multipartBody8959514676289497445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088893405,"filename":"image_20022025_15_13_16_10385.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bcb2a0f2de8d9ff7caaad56eff9c9c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6334631810618665028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088893405,"filename":"image_20022025_15_12_57_10446.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338684845","file1":"1338684843","file0":"1338684839","file4":"1338684851","file5":"1338684854","file3":"1338684848"},"map_files_photo_id_array":[{"photo_id":"1338684854","filename":"file5"},{"photo_id":"1338684845","filename":"file2"},{"photo_id":"1338684851","filename":"file4"},{"photo_id":"1338684843","filename":"file1"},{"photo_id":"1338684839","filename":"file0"},{"photo_id":"1338684848","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338684843":["hashtag1","hashtag2"]},{"1338684851":["hashtag1","hashtag2"]},{"1338684845":["hashtag1","hashtag2"]},{"1338684839":["hashtag1","hashtag2"]},{"1338684854":["hashtag1","hashtag2"]},{"1338684848":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338684843, 1338684851, 1338684845, 1338684839, 1338684854, 1338684848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16118311882019 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:01:33.043671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_26_9369.jpg', '/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_36_10349.jpg', '/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_46_10483.jpg', '/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_56_9361.jpg', '/home/pi/Desktop/images/20022025/15/13/image_20022025_15_14_06_10394.jpg', '/home/pi/Desktop/images/20022025/15/14/image_20022025_15_14_16_9358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_26_9369.jpg
/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_36_10349.jpg
/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_46_10483.jpg
/home/pi/Desktop/images/20022025/15/13/image_20022025_15_13_56_9361.jpg
/home/pi/Desktop/images/20022025/15/13/image_20022025_15_14_06_10394.jpg
/home/pi/Desktop/images/20022025/15/14/image_20022025_15_14_16_9358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338684870","1338684867","1338684881","1338684878","1338684874","1338684883"],"photo_ids_order":["1338684867","1338684870","1338684874","1338684878","1338684881","1338684883"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfb551c41ce586cee2362eeafe563a07.jpg","text":"TemporaryFile(/tmp/multipartBody487196939664368780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088953601,"filename":"image_20022025_15_13_36_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0209a9587dc6ed75d20cb0d3c1b9e0f8.jpg","text":"TemporaryFile(/tmp/multipartBody3678447905801683724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088953601,"filename":"image_20022025_15_13_26_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b4c8ca55504a7c4a0e69666bec04fdc.jpg","text":"TemporaryFile(/tmp/multipartBody1238148554879642952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088953601,"filename":"image_20022025_15_14_06_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b0af68029be77def5c7af52422565391.jpg","text":"TemporaryFile(/tmp/multipartBody2847234400484557210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088953601,"filename":"image_20022025_15_13_56_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/343e85717cded54ff9710380d93392d7.jpg","text":"TemporaryFile(/tmp/multipartBody5897264207705906511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088953601,"filename":"image_20022025_15_13_46_10483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/72c7b36b095bfbd860f398372a252231.jpg","text":"TemporaryFile(/tmp/multipartBody607959244879430366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740088953601,"filename":"image_20022025_15_14_16_9358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338684874","file1":"1338684870","file0":"1338684867","file4":"1338684881","file5":"1338684883","file3":"1338684878"},"map_files_photo_id_array":[{"photo_id":"1338684883","filename":"file5"},{"photo_id":"1338684874","filename":"file2"},{"photo_id":"1338684881","filename":"file4"},{"photo_id":"1338684870","filename":"file1"},{"photo_id":"1338684867","filename":"file0"},{"photo_id":"1338684878","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338684870":["hashtag1","hashtag2"]},{"1338684867":["hashtag1","hashtag2"]},{"1338684881":["hashtag1","hashtag2"]},{"1338684878":["hashtag1","hashtag2"]},{"1338684874":["hashtag1","hashtag2"]},{"1338684883":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338684870, 1338684867, 1338684881, 1338684878, 1338684874, 1338684883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.329269647598267 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:02:32.129198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/14/image_20022025_15_14_46_9311.jpg', '/home/pi/Desktop/images/20022025/15/14/image_20022025_15_15_06_10417.jpg', '/home/pi/Desktop/images/20022025/15/15/image_20022025_15_15_46_9361.jpg', '/home/pi/Desktop/images/20022025/15/15/image_20022025_15_16_06_9394.jpg', '/home/pi/Desktop/images/20022025/15/16/image_20022025_15_16_16_10318.jpg', '/home/pi/Desktop/images/20022025/15/17/image_20022025_15_17_56_9425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/14/image_20022025_15_14_46_9311.jpg
/home/pi/Desktop/images/20022025/15/14/image_20022025_15_15_06_10417.jpg
/home/pi/Desktop/images/20022025/15/15/image_20022025_15_15_46_9361.jpg
/home/pi/Desktop/images/20022025/15/15/image_20022025_15_16_06_9394.jpg
/home/pi/Desktop/images/20022025/15/16/image_20022025_15_16_16_10318.jpg
/home/pi/Desktop/images/20022025/15/17/image_20022025_15_17_56_9425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338685131","1338685125","1338685127","1338685121","1338685129","1338685123"],"photo_ids_order":["1338685121","1338685123","1338685125","1338685127","1338685129","1338685131"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/531509e2d238b7fa27019473bd6d7d08.jpg","text":"TemporaryFile(/tmp/multipartBody2407245395690504347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089012699,"filename":"image_20022025_15_17_56_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6aa68fa203d8d143d74a49741aa4c361.jpg","text":"TemporaryFile(/tmp/multipartBody6053439034226260455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089012699,"filename":"image_20022025_15_15_46_9361.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fdbbd849288c3fb7678b4d0f3788c0a3.jpg","text":"TemporaryFile(/tmp/multipartBody1026357364585333029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089012699,"filename":"image_20022025_15_16_06_9394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f28f4ad3653d5e483a5d145bb8be971.jpg","text":"TemporaryFile(/tmp/multipartBody2935046642701484178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089012699,"filename":"image_20022025_15_14_46_9311.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/03c6191f5c6c38a4b47a908f51a94254.jpg","text":"TemporaryFile(/tmp/multipartBody6920552637442476150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089012699,"filename":"image_20022025_15_16_16_10318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/687e2cd4e3a6cca7e26329f2483251eb.jpg","text":"TemporaryFile(/tmp/multipartBody6362243815892408805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089012699,"filename":"image_20022025_15_15_06_10417.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338685125","file1":"1338685123","file0":"1338685121","file4":"1338685129","file5":"1338685131","file3":"1338685127"},"map_files_photo_id_array":[{"photo_id":"1338685131","filename":"file5"},{"photo_id":"1338685125","filename":"file2"},{"photo_id":"1338685129","filename":"file4"},{"photo_id":"1338685123","filename":"file1"},{"photo_id":"1338685121","filename":"file0"},{"photo_id":"1338685127","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338685131":["hashtag1","hashtag2"]},{"1338685125":["hashtag1","hashtag2"]},{"1338685127":["hashtag1","hashtag2"]},{"1338685121":["hashtag1","hashtag2"]},{"1338685129":["hashtag1","hashtag2"]},{"1338685123":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338685131, 1338685125, 1338685127, 1338685121, 1338685129, 1338685123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.808690309524536 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:03:32.221837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/17/image_20022025_15_18_06_10351.jpg', '/home/pi/Desktop/images/20022025/15/18/image_20022025_15_18_16_10337.jpg', '/home/pi/Desktop/images/20022025/15/18/image_20022025_15_18_26_9401.jpg', '/home/pi/Desktop/images/20022025/15/18/image_20022025_15_18_46_9449.jpg', '/home/pi/Desktop/images/20022025/15/19/image_20022025_15_19_16_9315.jpg', '/home/pi/Desktop/images/20022025/15/19/image_20022025_15_19_36_10405.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/17/image_20022025_15_18_06_10351.jpg
/home/pi/Desktop/images/20022025/15/18/image_20022025_15_18_16_10337.jpg
/home/pi/Desktop/images/20022025/15/18/image_20022025_15_18_26_9401.jpg
/home/pi/Desktop/images/20022025/15/18/image_20022025_15_18_46_9449.jpg
/home/pi/Desktop/images/20022025/15/19/image_20022025_15_19_16_9315.jpg
/home/pi/Desktop/images/20022025/15/19/image_20022025_15_19_36_10405.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338685146","1338685155","1338685149","1338685151","1338685153","1338685144"],"photo_ids_order":["1338685144","1338685146","1338685149","1338685151","1338685153","1338685155"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9047d257c26a84a11642afb041cffa5b.jpg","text":"TemporaryFile(/tmp/multipartBody1093847620163301396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089072787,"filename":"image_20022025_15_18_16_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d0295cc65e0365737efd1c42fd006745.jpg","text":"TemporaryFile(/tmp/multipartBody2336487276250906809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089072787,"filename":"image_20022025_15_19_36_10405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/95b19ed22f3429b272a9dfcf83bb093a.jpg","text":"TemporaryFile(/tmp/multipartBody7362826627083969698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089072787,"filename":"image_20022025_15_18_26_9401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a54805fbb44428003a147dbf6e2ae760.jpg","text":"TemporaryFile(/tmp/multipartBody7527703711200901372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089072787,"filename":"image_20022025_15_18_46_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c40c6988f5c6384f7498405113f1ba6.jpg","text":"TemporaryFile(/tmp/multipartBody5525386053649802832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089072787,"filename":"image_20022025_15_19_16_9315.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f732643c8dc6a73976ccbdfaf5caa4a.jpg","text":"TemporaryFile(/tmp/multipartBody1607527081595426770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089072787,"filename":"image_20022025_15_18_06_10351.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338685149","file1":"1338685146","file0":"1338685144","file4":"1338685153","file5":"1338685155","file3":"1338685151"},"map_files_photo_id_array":[{"photo_id":"1338685155","filename":"file5"},{"photo_id":"1338685149","filename":"file2"},{"photo_id":"1338685153","filename":"file4"},{"photo_id":"1338685146","filename":"file1"},{"photo_id":"1338685144","filename":"file0"},{"photo_id":"1338685151","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338685146":["hashtag1","hashtag2"]},{"1338685155":["hashtag1","hashtag2"]},{"1338685149":["hashtag1","hashtag2"]},{"1338685151":["hashtag1","hashtag2"]},{"1338685153":["hashtag1","hashtag2"]},{"1338685144":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338685146, 1338685155, 1338685149, 1338685151, 1338685153, 1338685144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8681321144104 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:04:32.555837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/19/image_20022025_15_19_46_9405.jpg', '/home/pi/Desktop/images/20022025/15/19/image_20022025_15_19_56_10349.jpg', '/home/pi/Desktop/images/20022025/15/20/image_20022025_15_20_26_10339.jpg', '/home/pi/Desktop/images/20022025/15/20/image_20022025_15_20_46_10319.jpg', '/home/pi/Desktop/images/20022025/15/20/image_20022025_15_20_56_10331.jpg', '/home/pi/Desktop/images/20022025/15/20/image_20022025_15_21_06_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/19/image_20022025_15_19_46_9405.jpg
/home/pi/Desktop/images/20022025/15/19/image_20022025_15_19_56_10349.jpg
/home/pi/Desktop/images/20022025/15/20/image_20022025_15_20_26_10339.jpg
/home/pi/Desktop/images/20022025/15/20/image_20022025_15_20_46_10319.jpg
/home/pi/Desktop/images/20022025/15/20/image_20022025_15_20_56_10331.jpg
/home/pi/Desktop/images/20022025/15/20/image_20022025_15_21_06_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338685210","1338685230","1338685224","1338685227","1338685222","1338685216"],"photo_ids_order":["1338685210","1338685216","1338685222","1338685224","1338685227","1338685230"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28c8b6bf99eb691573ddc92abbecfdc5.jpg","text":"TemporaryFile(/tmp/multipartBody4440704010258833647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089133119,"filename":"image_20022025_15_19_46_9405.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c939482c784913506c8a21d10b74d978.jpg","text":"TemporaryFile(/tmp/multipartBody8177254204987758555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089133119,"filename":"image_20022025_15_21_06_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ee136345dd3ee8cc00fc736214b25f09.jpg","text":"TemporaryFile(/tmp/multipartBody5074674551973438153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089133119,"filename":"image_20022025_15_20_46_10319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8349ee1586c95a69d431bf1bba7fa3ad.jpg","text":"TemporaryFile(/tmp/multipartBody4650442139955501861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089133119,"filename":"image_20022025_15_20_56_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d15e5821927ee62ed76d351fa094eda6.jpg","text":"TemporaryFile(/tmp/multipartBody2740925319751379397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089133119,"filename":"image_20022025_15_20_26_10339.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fe58ee27ae0ebc7926fea8bd8579d375.jpg","text":"TemporaryFile(/tmp/multipartBody6494731854306695366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089133119,"filename":"image_20022025_15_19_56_10349.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338685222","file1":"1338685216","file0":"1338685210","file4":"1338685227","file5":"1338685230","file3":"1338685224"},"map_files_photo_id_array":[{"photo_id":"1338685230","filename":"file5"},{"photo_id":"1338685222","filename":"file2"},{"photo_id":"1338685227","filename":"file4"},{"photo_id":"1338685216","filename":"file1"},{"photo_id":"1338685210","filename":"file0"},{"photo_id":"1338685224","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338685210":["hashtag1","hashtag2"]},{"1338685230":["hashtag1","hashtag2"]},{"1338685224":["hashtag1","hashtag2"]},{"1338685227":["hashtag1","hashtag2"]},{"1338685222":["hashtag1","hashtag2"]},{"1338685216":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338685210, 1338685230, 1338685224, 1338685227, 1338685222, 1338685216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.140793323516846 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:05:32.942875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_16_10357.jpg', '/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_26_10338.jpg', '/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_36_9412.jpg', '/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_46_10336.jpg', '/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_57_10399.jpg', '/home/pi/Desktop/images/20022025/15/21/image_20022025_15_22_06_9337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_16_10357.jpg
/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_26_10338.jpg
/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_36_9412.jpg
/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_46_10336.jpg
/home/pi/Desktop/images/20022025/15/21/image_20022025_15_21_57_10399.jpg
/home/pi/Desktop/images/20022025/15/21/image_20022025_15_22_06_9337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338685253","1338685256","1338685258","1338685246","1338685249","1338685243"],"photo_ids_order":["1338685243","1338685246","1338685249","1338685253","1338685256","1338685258"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f01fead8a6bfdca4ac92fccbe8046884.jpg","text":"TemporaryFile(/tmp/multipartBody1621291996128334156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089193492,"filename":"image_20022025_15_21_46_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9b2e2ee41939207d38b0eddca07c22ac.jpg","text":"TemporaryFile(/tmp/multipartBody762976326505547711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089193492,"filename":"image_20022025_15_21_57_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/50ac9a2588e4e26c034bf3be1918e971.jpg","text":"TemporaryFile(/tmp/multipartBody6221438663071135766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089193492,"filename":"image_20022025_15_22_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a55e103198b0ea7ae2c157aa10cd1d9.jpg","text":"TemporaryFile(/tmp/multipartBody5120879367843521056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089193492,"filename":"image_20022025_15_21_26_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2e2f0d5c0ac83f65ba575305853e7457.jpg","text":"TemporaryFile(/tmp/multipartBody2989123062972148064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089193492,"filename":"image_20022025_15_21_36_9412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/89ba7fd1444d4989fdac400ac65441b8.jpg","text":"TemporaryFile(/tmp/multipartBody6323171505850056728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089193492,"filename":"image_20022025_15_21_16_10357.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338685249","file1":"1338685246","file0":"1338685243","file4":"1338685256","file5":"1338685258","file3":"1338685253"},"map_files_photo_id_array":[{"photo_id":"1338685258","filename":"file5"},{"photo_id":"1338685249","filename":"file2"},{"photo_id":"1338685256","filename":"file4"},{"photo_id":"1338685246","filename":"file1"},{"photo_id":"1338685243","filename":"file0"},{"photo_id":"1338685253","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338685253":["hashtag1","hashtag2"]},{"1338685256":["hashtag1","hashtag2"]},{"1338685258":["hashtag1","hashtag2"]},{"1338685246":["hashtag1","hashtag2"]},{"1338685249":["hashtag1","hashtag2"]},{"1338685243":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338685253, 1338685256, 1338685258, 1338685246, 1338685249, 1338685243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4651882648468 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:06:32.976921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_16_10330.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_26_9408.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_36_10330.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_46_10322.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_56_9443.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_23_06_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_16_10330.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_26_9408.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_36_10330.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_46_10322.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_56_9443.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_23_06_10346.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.7547788619995117 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 23:06:43.066912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_16_10330.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_26_9408.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_36_10330.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_46_10322.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_56_9443.jpg', '/home/pi/Desktop/images/20022025/15/22/image_20022025_15_23_06_10346.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_16_10330.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_26_9408.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_36_10330.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_46_10322.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_22_56_9443.jpg
/home/pi/Desktop/images/20022025/15/22/image_20022025_15_23_06_10346.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338685299","1338685284","1338685302","1338685304","1338685294","1338685312"],"photo_ids_order":["1338685284","1338685294","1338685299","1338685302","1338685304","1338685312"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4b7ed21093dfd3807cd8b0a3322b4a20.jpg","text":"TemporaryFile(/tmp/multipartBody3232374197397212120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089263565,"filename":"image_20022025_15_22_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bf12ce8440a0a86676a57313f3f2ad9e.jpg","text":"TemporaryFile(/tmp/multipartBody2106454133281829072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089263565,"filename":"image_20022025_15_22_16_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0a7ed067830ea2537f18ac2b6e5e4c07.jpg","text":"TemporaryFile(/tmp/multipartBody8184006579879565580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089263565,"filename":"image_20022025_15_22_46_10322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ac555b3a31a6e1d76e1b3bb533f39833.jpg","text":"TemporaryFile(/tmp/multipartBody1655868242086823207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089263565,"filename":"image_20022025_15_22_56_9443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9199ce27a78e85ce7e67452333fb6b51.jpg","text":"TemporaryFile(/tmp/multipartBody3092753572656295870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089263565,"filename":"image_20022025_15_22_26_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/69156af338a42ba7d747bc4d39412f25.jpg","text":"TemporaryFile(/tmp/multipartBody1893259104452018774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089263565,"filename":"image_20022025_15_23_06_10346.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338685299","file1":"1338685294","file0":"1338685284","file4":"1338685304","file5":"1338685312","file3":"1338685302"},"map_files_photo_id_array":[{"photo_id":"1338685312","filename":"file5"},{"photo_id":"1338685299","filename":"file2"},{"photo_id":"1338685304","filename":"file4"},{"photo_id":"1338685294","filename":"file1"},{"photo_id":"1338685284","filename":"file0"},{"photo_id":"1338685302","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338685299":["hashtag1","hashtag2"]},{"1338685284":["hashtag1","hashtag2"]},{"1338685302":["hashtag1","hashtag2"]},{"1338685304":["hashtag1","hashtag2"]},{"1338685294":["hashtag1","hashtag2"]},{"1338685312":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338685299, 1338685284, 1338685302, 1338685304, 1338685294, 1338685312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.61220908164978 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:07:32.199403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_16_10324.jpg', '/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_26_9406.jpg', '/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_36_10354.jpg', '/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_47_10376.jpg', '/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_56_9337.jpg', '/home/pi/Desktop/images/20022025/15/23/image_20022025_15_24_06_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_16_10324.jpg
/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_26_9406.jpg
/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_36_10354.jpg
/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_47_10376.jpg
/home/pi/Desktop/images/20022025/15/23/image_20022025_15_23_56_9337.jpg
/home/pi/Desktop/images/20022025/15/23/image_20022025_15_24_06_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338685755","1338685605","1338685379","1338685685","1338685457","1338685531"],"photo_ids_order":["1338685379","1338685457","1338685531","1338685605","1338685685","1338685755"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/22dc5ce314b1fa0ea0a05bf02f5010cc.jpg","text":"TemporaryFile(/tmp/multipartBody1032515518422161552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089312772,"filename":"image_20022025_15_24_06_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2ef19f346da18a14e02b51a368de3b2.jpg","text":"TemporaryFile(/tmp/multipartBody6125420497826136347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089312772,"filename":"image_20022025_15_23_47_10376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1eb312d400db1d8a30a29ed7e4a2af82.jpg","text":"TemporaryFile(/tmp/multipartBody4192997946848920767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089312772,"filename":"image_20022025_15_23_16_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0ec929efcb0d887ea19c491e93b55cb3.jpg","text":"TemporaryFile(/tmp/multipartBody4840677523931732037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089312772,"filename":"image_20022025_15_23_56_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6cb7687d18ddbfb006a490b4355e90d0.jpg","text":"TemporaryFile(/tmp/multipartBody1348168591592405936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089312772,"filename":"image_20022025_15_23_26_9406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0f54ee8d55a133e2ece277dcea48fe89.jpg","text":"TemporaryFile(/tmp/multipartBody3007635782618627248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089312772,"filename":"image_20022025_15_23_36_10354.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338685531","file1":"1338685457","file0":"1338685379","file4":"1338685685","file5":"1338685755","file3":"1338685605"},"map_files_photo_id_array":[{"photo_id":"1338685755","filename":"file5"},{"photo_id":"1338685531","filename":"file2"},{"photo_id":"1338685685","filename":"file4"},{"photo_id":"1338685457","filename":"file1"},{"photo_id":"1338685379","filename":"file0"},{"photo_id":"1338685605","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338685755":["hashtag1","hashtag2"]},{"1338685605":["hashtag1","hashtag2"]},{"1338685379":["hashtag1","hashtag2"]},{"1338685685":["hashtag1","hashtag2"]},{"1338685457":["hashtag1","hashtag2"]},{"1338685531":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338685755, 1338685605, 1338685379, 1338685685, 1338685457, 1338685531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.28199553489685 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:08:32.303585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_16_9408.jpg', '/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_26_10337.jpg', '/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_36_10328.jpg', '/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_46_9338.jpg', '/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_56_10347.jpg', '/home/pi/Desktop/images/20022025/15/24/image_20022025_15_25_06_10341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_16_9408.jpg
/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_26_10337.jpg
/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_36_10328.jpg
/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_46_9338.jpg
/home/pi/Desktop/images/20022025/15/24/image_20022025_15_24_56_10347.jpg
/home/pi/Desktop/images/20022025/15/24/image_20022025_15_25_06_10341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338686622","1338686729","1338686750","1338686744","1338686726","1338686752"],"photo_ids_order":["1338686622","1338686726","1338686729","1338686744","1338686750","1338686752"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a1793124798d4069a3ee061a1a98fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1242960634164338456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089372858,"filename":"image_20022025_15_24_16_9408.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/381525c3532347941dd2f452b21bc5ff.jpg","text":"TemporaryFile(/tmp/multipartBody8045262062728454025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089372858,"filename":"image_20022025_15_24_36_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9e2067d9b9eeef9f8c1d111861c4bbee.jpg","text":"TemporaryFile(/tmp/multipartBody6364917818920637597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089372858,"filename":"image_20022025_15_24_56_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55189f60a84b3098e1f5ab3692d29c6c.jpg","text":"TemporaryFile(/tmp/multipartBody9124657179373973514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089372858,"filename":"image_20022025_15_24_46_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/988c74b01dae308129146bf7688b85d5.jpg","text":"TemporaryFile(/tmp/multipartBody5306659994107878182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089372858,"filename":"image_20022025_15_24_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/05a9fda5ef1af0c03fff926f41aed27a.jpg","text":"TemporaryFile(/tmp/multipartBody6104993251017115253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089372858,"filename":"image_20022025_15_25_06_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338686729","file1":"1338686726","file0":"1338686622","file4":"1338686750","file5":"1338686752","file3":"1338686744"},"map_files_photo_id_array":[{"photo_id":"1338686752","filename":"file5"},{"photo_id":"1338686729","filename":"file2"},{"photo_id":"1338686750","filename":"file4"},{"photo_id":"1338686726","filename":"file1"},{"photo_id":"1338686622","filename":"file0"},{"photo_id":"1338686744","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338686622":["hashtag1","hashtag2"]},{"1338686729":["hashtag1","hashtag2"]},{"1338686750":["hashtag1","hashtag2"]},{"1338686744":["hashtag1","hashtag2"]},{"1338686726":["hashtag1","hashtag2"]},{"1338686752":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338686622, 1338686729, 1338686750, 1338686744, 1338686726, 1338686752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5102858543396 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:09:32.639156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_16_9431.jpg', '/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_26_10427.jpg', '/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_36_9511.jpg', '/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_46_10333.jpg', '/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_56_10343.jpg', '/home/pi/Desktop/images/20022025/15/25/image_20022025_15_26_06_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_16_9431.jpg
/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_26_10427.jpg
/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_36_9511.jpg
/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_46_10333.jpg
/home/pi/Desktop/images/20022025/15/25/image_20022025_15_25_56_10343.jpg
/home/pi/Desktop/images/20022025/15/25/image_20022025_15_26_06_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338687053","1338687067","1338686992","1338686986","1338687019","1338687016"],"photo_ids_order":["1338686986","1338686992","1338687016","1338687019","1338687053","1338687067"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e930e317c6bc76aabce2838f01658ca0.jpg","text":"TemporaryFile(/tmp/multipartBody5798931362636134513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089433194,"filename":"image_20022025_15_25_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/03517603bf5eff7904bc4763234b5c4e.jpg","text":"TemporaryFile(/tmp/multipartBody1049713668908914143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089433194,"filename":"image_20022025_15_26_06_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/74b797f9276ff55f7afc738c0d475cf2.jpg","text":"TemporaryFile(/tmp/multipartBody7663487340848030140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089433194,"filename":"image_20022025_15_25_26_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/395f753ada1f29304b228f60dfe82e43.jpg","text":"TemporaryFile(/tmp/multipartBody2129657600247886239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089433194,"filename":"image_20022025_15_25_16_9431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/20d5729f0617273e43535d50ddc7df1a.jpg","text":"TemporaryFile(/tmp/multipartBody5505799588359363087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089433194,"filename":"image_20022025_15_25_46_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e2e8d355a2f7690815d2957956f78d08.jpg","text":"TemporaryFile(/tmp/multipartBody3071570209813858158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089433194,"filename":"image_20022025_15_25_36_9511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338687016","file1":"1338686992","file0":"1338686986","file4":"1338687053","file5":"1338687067","file3":"1338687019"},"map_files_photo_id_array":[{"photo_id":"1338687067","filename":"file5"},{"photo_id":"1338687016","filename":"file2"},{"photo_id":"1338687053","filename":"file4"},{"photo_id":"1338686992","filename":"file1"},{"photo_id":"1338686986","filename":"file0"},{"photo_id":"1338687019","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338687053":["hashtag1","hashtag2"]},{"1338687067":["hashtag1","hashtag2"]},{"1338686992":["hashtag1","hashtag2"]},{"1338686986":["hashtag1","hashtag2"]},{"1338687019":["hashtag1","hashtag2"]},{"1338687016":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338687053, 1338687067, 1338686992, 1338686986, 1338687019, 1338687016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09018397331238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:10:32.825898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/26/image_20022025_15_26_16_10329.jpg', '/home/pi/Desktop/images/20022025/15/26/image_20022025_15_26_26_10355.jpg', '/home/pi/Desktop/images/20022025/15/26/image_20022025_15_26_36_9427.jpg', '/home/pi/Desktop/images/20022025/15/26/image_20022025_15_26_57_10397.jpg', '/home/pi/Desktop/images/20022025/15/26/image_20022025_15_27_06_9433.jpg', '/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_16_10397.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/26/image_20022025_15_26_16_10329.jpg
/home/pi/Desktop/images/20022025/15/26/image_20022025_15_26_26_10355.jpg
/home/pi/Desktop/images/20022025/15/26/image_20022025_15_26_36_9427.jpg
/home/pi/Desktop/images/20022025/15/26/image_20022025_15_26_57_10397.jpg
/home/pi/Desktop/images/20022025/15/26/image_20022025_15_27_06_9433.jpg
/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_16_10397.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338687167","1338687140","1338687163","1338687151","1338687168","1338687135"],"photo_ids_order":["1338687135","1338687140","1338687151","1338687163","1338687167","1338687168"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/43866143a11458c90ddf2fc9ffce6c2e.jpg","text":"TemporaryFile(/tmp/multipartBody3255681774372358827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089493378,"filename":"image_20022025_15_27_06_9433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b2e26995b7ab7fb05e7c71d7cb6bccf2.jpg","text":"TemporaryFile(/tmp/multipartBody6833799969190426825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089493378,"filename":"image_20022025_15_26_26_10355.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34ed96cee1a37bd463720aa0d5a58bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3431778766153885323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089493378,"filename":"image_20022025_15_26_57_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e0ccadaaae5ce97fabe3bf8f2db93970.jpg","text":"TemporaryFile(/tmp/multipartBody4563794898935618401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089493378,"filename":"image_20022025_15_26_36_9427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8167b92f797a90f5b5b146250764b1db.jpg","text":"TemporaryFile(/tmp/multipartBody9142871599475330107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089493378,"filename":"image_20022025_15_27_16_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b04d98d0164bc41d17829de84ba6df1.jpg","text":"TemporaryFile(/tmp/multipartBody5890477397256700148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089493378,"filename":"image_20022025_15_26_16_10329.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338687151","file1":"1338687140","file0":"1338687135","file4":"1338687167","file5":"1338687168","file3":"1338687163"},"map_files_photo_id_array":[{"photo_id":"1338687168","filename":"file5"},{"photo_id":"1338687151","filename":"file2"},{"photo_id":"1338687167","filename":"file4"},{"photo_id":"1338687140","filename":"file1"},{"photo_id":"1338687135","filename":"file0"},{"photo_id":"1338687163","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338687167":["hashtag1","hashtag2"]},{"1338687140":["hashtag1","hashtag2"]},{"1338687163":["hashtag1","hashtag2"]},{"1338687151":["hashtag1","hashtag2"]},{"1338687168":["hashtag1","hashtag2"]},{"1338687135":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338687167, 1338687140, 1338687163, 1338687151, 1338687168, 1338687135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6729838848114 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:11:33.051574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_26_9399.jpg', '/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_36_10341.jpg', '/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_47_10456.jpg', '/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_56_9319.jpg', '/home/pi/Desktop/images/20022025/15/27/image_20022025_15_28_06_10334.jpg', '/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_16_9442.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_26_9399.jpg
/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_36_10341.jpg
/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_47_10456.jpg
/home/pi/Desktop/images/20022025/15/27/image_20022025_15_27_56_9319.jpg
/home/pi/Desktop/images/20022025/15/27/image_20022025_15_28_06_10334.jpg
/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_16_9442.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338687361","1338687355","1338687328","1338687358","1338687363","1338687336"],"photo_ids_order":["1338687328","1338687336","1338687355","1338687358","1338687361","1338687363"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b091029b2218ef898cd308e60546964b.jpg","text":"TemporaryFile(/tmp/multipartBody5681405612628932908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089553598,"filename":"image_20022025_15_28_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4886bcce9731f4104275cb2f78b7869f.jpg","text":"TemporaryFile(/tmp/multipartBody883462129771199860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089553598,"filename":"image_20022025_15_27_47_10456.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db27f8fabbae169c09004d2c3fdaad61.jpg","text":"TemporaryFile(/tmp/multipartBody707327348556679931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089553598,"filename":"image_20022025_15_27_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6a58c80fc78012e1906efb41df4cbb90.jpg","text":"TemporaryFile(/tmp/multipartBody8649966499118117218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089553598,"filename":"image_20022025_15_27_56_9319.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d1cf2e64cc65149a2fa319eab3ca5ac0.jpg","text":"TemporaryFile(/tmp/multipartBody178902201055105963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089553598,"filename":"image_20022025_15_28_16_9442.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5e90acfa83eda368b096bdbf4032944d.jpg","text":"TemporaryFile(/tmp/multipartBody7797546179366715330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089553598,"filename":"image_20022025_15_27_36_10341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338687355","file1":"1338687336","file0":"1338687328","file4":"1338687361","file5":"1338687363","file3":"1338687358"},"map_files_photo_id_array":[{"photo_id":"1338687363","filename":"file5"},{"photo_id":"1338687355","filename":"file2"},{"photo_id":"1338687361","filename":"file4"},{"photo_id":"1338687336","filename":"file1"},{"photo_id":"1338687328","filename":"file0"},{"photo_id":"1338687358","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338687361":["hashtag1","hashtag2"]},{"1338687355":["hashtag1","hashtag2"]},{"1338687328":["hashtag1","hashtag2"]},{"1338687358":["hashtag1","hashtag2"]},{"1338687363":["hashtag1","hashtag2"]},{"1338687336":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338687361, 1338687355, 1338687328, 1338687358, 1338687363, 1338687336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.45670247077942 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:12:32.061886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_26_10332.jpg', '/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_36_10347.jpg', '/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_46_9420.jpg', '/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_56_10346.jpg', '/home/pi/Desktop/images/20022025/15/28/image_20022025_15_29_06_10419.jpg', '/home/pi/Desktop/images/20022025/15/29/image_20022025_15_29_16_9194.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_26_10332.jpg
/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_36_10347.jpg
/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_46_9420.jpg
/home/pi/Desktop/images/20022025/15/28/image_20022025_15_28_56_10346.jpg
/home/pi/Desktop/images/20022025/15/28/image_20022025_15_29_06_10419.jpg
/home/pi/Desktop/images/20022025/15/29/image_20022025_15_29_16_9194.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338687600","1338687521","1338687526","1338687531","1338687534","1338687528"],"photo_ids_order":["1338687521","1338687526","1338687528","1338687531","1338687534","1338687600"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/149c7daee05d8c67e3b66937026ee661.jpg","text":"TemporaryFile(/tmp/multipartBody1378419236551673843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089612625,"filename":"image_20022025_15_29_16_9194.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/03bdc24858361e2f4e652e2f8a66ab90.jpg","text":"TemporaryFile(/tmp/multipartBody8925149084463930082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089612625,"filename":"image_20022025_15_28_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c0e6bfbf47d5cec7c0b41382c2c176f.jpg","text":"TemporaryFile(/tmp/multipartBody7095638190763890891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089612625,"filename":"image_20022025_15_28_36_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5cb54758b30a2b9ee8c2740485df7757.jpg","text":"TemporaryFile(/tmp/multipartBody5928966632907539487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089612625,"filename":"image_20022025_15_28_56_10346.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9997829aacd6249b2e3ff544a21d6e5b.jpg","text":"TemporaryFile(/tmp/multipartBody1571697610599555426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089612625,"filename":"image_20022025_15_29_06_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fc8cc8f88826a742d9c2c822acae2634.jpg","text":"TemporaryFile(/tmp/multipartBody8515573605867248683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089612625,"filename":"image_20022025_15_28_46_9420.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338687528","file1":"1338687526","file0":"1338687521","file4":"1338687534","file5":"1338687600","file3":"1338687531"},"map_files_photo_id_array":[{"photo_id":"1338687600","filename":"file5"},{"photo_id":"1338687528","filename":"file2"},{"photo_id":"1338687534","filename":"file4"},{"photo_id":"1338687526","filename":"file1"},{"photo_id":"1338687521","filename":"file0"},{"photo_id":"1338687531","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338687600":["hashtag1","hashtag2"]},{"1338687521":["hashtag1","hashtag2"]},{"1338687526":["hashtag1","hashtag2"]},{"1338687531":["hashtag1","hashtag2"]},{"1338687534":["hashtag1","hashtag2"]},{"1338687528":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338687600, 1338687521, 1338687526, 1338687531, 1338687534, 1338687528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51987147331238 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:13:32.292924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/29/image_20022025_15_29_26_10380.jpg', '/home/pi/Desktop/images/20022025/15/29/image_20022025_15_29_36_9481.jpg', '/home/pi/Desktop/images/20022025/15/29/image_20022025_15_29_46_10357.jpg', '/home/pi/Desktop/images/20022025/15/30/image_20022025_15_30_16_10326.jpg', '/home/pi/Desktop/images/20022025/15/30/image_20022025_15_30_36_9318.jpg', '/home/pi/Desktop/images/20022025/15/30/image_20022025_15_30_46_10330.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/29/image_20022025_15_29_26_10380.jpg
/home/pi/Desktop/images/20022025/15/29/image_20022025_15_29_36_9481.jpg
/home/pi/Desktop/images/20022025/15/29/image_20022025_15_29_46_10357.jpg
/home/pi/Desktop/images/20022025/15/30/image_20022025_15_30_16_10326.jpg
/home/pi/Desktop/images/20022025/15/30/image_20022025_15_30_36_9318.jpg
/home/pi/Desktop/images/20022025/15/30/image_20022025_15_30_46_10330.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338687648","1338687642","1338687636","1338687651","1338687645","1338687639"],"photo_ids_order":["1338687636","1338687639","1338687642","1338687645","1338687648","1338687651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/86bf7a9c155e737a3a0498767d3f0581.jpg","text":"TemporaryFile(/tmp/multipartBody7848697124755680094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089672867,"filename":"image_20022025_15_30_36_9318.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5df1f94b08ffca3abb73cc6c9e16ad8b.jpg","text":"TemporaryFile(/tmp/multipartBody6057835456768561930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089672867,"filename":"image_20022025_15_29_46_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff12fa6322499fa71489b873ab234231.jpg","text":"TemporaryFile(/tmp/multipartBody3466640252199648560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089672867,"filename":"image_20022025_15_29_26_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d386298f5d4b3ff6fd030b122c107ad2.jpg","text":"TemporaryFile(/tmp/multipartBody2151351049503760092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089672867,"filename":"image_20022025_15_30_46_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5d7e6a49e5059d4c989efe8deb1cf074.jpg","text":"TemporaryFile(/tmp/multipartBody1575896933776515712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089672867,"filename":"image_20022025_15_30_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2038de8c9afc34e988120d2d85d7b5bf.jpg","text":"TemporaryFile(/tmp/multipartBody503950538467610084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089672867,"filename":"image_20022025_15_29_36_9481.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338687642","file1":"1338687639","file0":"1338687636","file4":"1338687648","file5":"1338687651","file3":"1338687645"},"map_files_photo_id_array":[{"photo_id":"1338687651","filename":"file5"},{"photo_id":"1338687642","filename":"file2"},{"photo_id":"1338687648","filename":"file4"},{"photo_id":"1338687639","filename":"file1"},{"photo_id":"1338687636","filename":"file0"},{"photo_id":"1338687645","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338687648":["hashtag1","hashtag2"]},{"1338687642":["hashtag1","hashtag2"]},{"1338687636":["hashtag1","hashtag2"]},{"1338687651":["hashtag1","hashtag2"]},{"1338687645":["hashtag1","hashtag2"]},{"1338687639":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338687648, 1338687642, 1338687636, 1338687651, 1338687645, 1338687639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.85574221611023 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:14:32.730313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/30/image_20022025_15_30_56_9450.jpg', '/home/pi/Desktop/images/20022025/15/30/image_20022025_15_31_06_10334.jpg', '/home/pi/Desktop/images/20022025/15/31/image_20022025_15_31_16_10432.jpg', '/home/pi/Desktop/images/20022025/15/31/image_20022025_15_31_26_9357.jpg', '/home/pi/Desktop/images/20022025/15/31/image_20022025_15_31_36_10330.jpg', '/home/pi/Desktop/images/20022025/15/31/image_20022025_15_31_56_9350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/30/image_20022025_15_30_56_9450.jpg
/home/pi/Desktop/images/20022025/15/30/image_20022025_15_31_06_10334.jpg
/home/pi/Desktop/images/20022025/15/31/image_20022025_15_31_16_10432.jpg
/home/pi/Desktop/images/20022025/15/31/image_20022025_15_31_26_9357.jpg
/home/pi/Desktop/images/20022025/15/31/image_20022025_15_31_36_10330.jpg
/home/pi/Desktop/images/20022025/15/31/image_20022025_15_31_56_9350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338687734","1338687712","1338687771","1338687762","1338687726","1338687705"],"photo_ids_order":["1338687705","1338687712","1338687726","1338687734","1338687762","1338687771"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8aed0d5d74996f097e1f44de563af7c.jpg","text":"TemporaryFile(/tmp/multipartBody5886421154814098644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089733277,"filename":"image_20022025_15_31_26_9357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9657a1a9bbee71bbfc146f256dc708d.jpg","text":"TemporaryFile(/tmp/multipartBody9148411925350573556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089733277,"filename":"image_20022025_15_31_06_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c0fdeab34b154d0add4e9d9495fa0a46.jpg","text":"TemporaryFile(/tmp/multipartBody5956575324964181646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089733277,"filename":"image_20022025_15_31_56_9350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0908aac514e8241ceb9e1397c4050254.jpg","text":"TemporaryFile(/tmp/multipartBody4236824770194386493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089733277,"filename":"image_20022025_15_31_36_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/42940a0f0c622bb2cd64d9a06a3c4ed1.jpg","text":"TemporaryFile(/tmp/multipartBody712956559088369994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089733277,"filename":"image_20022025_15_31_16_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c580eddbedc30526501512d34b826f7b.jpg","text":"TemporaryFile(/tmp/multipartBody985491134663977651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089733277,"filename":"image_20022025_15_30_56_9450.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338687726","file1":"1338687712","file0":"1338687705","file4":"1338687762","file5":"1338687771","file3":"1338687734"},"map_files_photo_id_array":[{"photo_id":"1338687771","filename":"file5"},{"photo_id":"1338687726","filename":"file2"},{"photo_id":"1338687762","filename":"file4"},{"photo_id":"1338687712","filename":"file1"},{"photo_id":"1338687705","filename":"file0"},{"photo_id":"1338687734","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338687734":["hashtag1","hashtag2"]},{"1338687712":["hashtag1","hashtag2"]},{"1338687771":["hashtag1","hashtag2"]},{"1338687762":["hashtag1","hashtag2"]},{"1338687726":["hashtag1","hashtag2"]},{"1338687705":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338687734, 1338687712, 1338687771, 1338687762, 1338687726, 1338687705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79852366447449 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:15:32.892925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/31/image_20022025_15_32_06_10326.jpg', '/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_16_10334.jpg', '/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_26_9338.jpg', '/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_36_10406.jpg', '/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_47_10391.jpg', '/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_56_9322.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/31/image_20022025_15_32_06_10326.jpg
/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_16_10334.jpg
/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_26_9338.jpg
/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_36_10406.jpg
/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_47_10391.jpg
/home/pi/Desktop/images/20022025/15/32/image_20022025_15_32_56_9322.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338687851","1338687874","1338687859","1338687811","1338687820","1338687816"],"photo_ids_order":["1338687811","1338687816","1338687820","1338687851","1338687859","1338687874"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9fc9524d902cd5652d09949b10d7edb.jpg","text":"TemporaryFile(/tmp/multipartBody9199404519271710341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089793463,"filename":"image_20022025_15_32_36_10406.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d6a7bc3b29454f055daadf99b6099ffe.jpg","text":"TemporaryFile(/tmp/multipartBody911576852031263914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089793463,"filename":"image_20022025_15_32_56_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b293f3e7c456d9b8ee83b691857a14f8.jpg","text":"TemporaryFile(/tmp/multipartBody8656807233864551453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089793463,"filename":"image_20022025_15_32_47_10391.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/906403da703754411f275fb822902484.jpg","text":"TemporaryFile(/tmp/multipartBody7262172013483526947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089793463,"filename":"image_20022025_15_32_06_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d46f18c59dea65b71f949fd8949ab1a3.jpg","text":"TemporaryFile(/tmp/multipartBody211765669360037344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089793463,"filename":"image_20022025_15_32_26_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/026f260dc98fe663c2b60502ec63166f.jpg","text":"TemporaryFile(/tmp/multipartBody5995101380986012625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089793463,"filename":"image_20022025_15_32_16_10334.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338687820","file1":"1338687816","file0":"1338687811","file4":"1338687859","file5":"1338687874","file3":"1338687851"},"map_files_photo_id_array":[{"photo_id":"1338687874","filename":"file5"},{"photo_id":"1338687820","filename":"file2"},{"photo_id":"1338687859","filename":"file4"},{"photo_id":"1338687816","filename":"file1"},{"photo_id":"1338687811","filename":"file0"},{"photo_id":"1338687851","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338687851":["hashtag1","hashtag2"]},{"1338687874":["hashtag1","hashtag2"]},{"1338687859":["hashtag1","hashtag2"]},{"1338687811":["hashtag1","hashtag2"]},{"1338687820":["hashtag1","hashtag2"]},{"1338687816":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338687851, 1338687874, 1338687859, 1338687811, 1338687820, 1338687816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.95574378967285 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:16:33.328553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/32/image_20022025_15_33_06_10390.jpg', '/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_16_9360.jpg', '/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_26_10347.jpg', '/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_36_10341.jpg', '/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_46_9323.jpg', '/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_56_10331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/32/image_20022025_15_33_06_10390.jpg
/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_16_9360.jpg
/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_26_10347.jpg
/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_36_10341.jpg
/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_46_9323.jpg
/home/pi/Desktop/images/20022025/15/33/image_20022025_15_33_56_10331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338688220","1338688217","1338688228","1338688222","1338688225","1338688219"],"photo_ids_order":["1338688217","1338688219","1338688220","1338688222","1338688225","1338688228"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0da8dbfc41347351068e7d8d289a681b.jpg","text":"TemporaryFile(/tmp/multipartBody6480362633010773856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089853885,"filename":"image_20022025_15_33_26_10347.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2690c948169a0f4ea96c9f939c5e270f.jpg","text":"TemporaryFile(/tmp/multipartBody1338393493107723287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089853885,"filename":"image_20022025_15_33_06_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f8cebba446c50dfe16d4ca8baad54eda.jpg","text":"TemporaryFile(/tmp/multipartBody6714643832903334781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089853885,"filename":"image_20022025_15_33_56_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d47b83ab02dff314c8b417f3c41ab70c.jpg","text":"TemporaryFile(/tmp/multipartBody1155062543902863013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089853885,"filename":"image_20022025_15_33_36_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4151fee183444c31b49609d2cee29f29.jpg","text":"TemporaryFile(/tmp/multipartBody874103792641131544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089853885,"filename":"image_20022025_15_33_46_9323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5db3c52d7368809cd042e8dc2a51761.jpg","text":"TemporaryFile(/tmp/multipartBody6633400723547390785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089853885,"filename":"image_20022025_15_33_16_9360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338688220","file1":"1338688219","file0":"1338688217","file4":"1338688225","file5":"1338688228","file3":"1338688222"},"map_files_photo_id_array":[{"photo_id":"1338688228","filename":"file5"},{"photo_id":"1338688220","filename":"file2"},{"photo_id":"1338688225","filename":"file4"},{"photo_id":"1338688219","filename":"file1"},{"photo_id":"1338688217","filename":"file0"},{"photo_id":"1338688222","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338688220":["hashtag1","hashtag2"]},{"1338688217":["hashtag1","hashtag2"]},{"1338688228":["hashtag1","hashtag2"]},{"1338688222":["hashtag1","hashtag2"]},{"1338688225":["hashtag1","hashtag2"]},{"1338688219":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338688220, 1338688217, 1338688228, 1338688222, 1338688225, 1338688219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9121527671814 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:17:32.268746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/33/image_20022025_15_34_06_10409.jpg', '/home/pi/Desktop/images/20022025/15/34/image_20022025_15_34_16_9354.jpg', '/home/pi/Desktop/images/20022025/15/34/image_20022025_15_34_26_10362.jpg', '/home/pi/Desktop/images/20022025/15/34/image_20022025_15_34_46_9415.jpg', '/home/pi/Desktop/images/20022025/15/34/image_20022025_15_34_56_10364.jpg', '/home/pi/Desktop/images/20022025/15/34/image_20022025_15_35_06_9418.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/33/image_20022025_15_34_06_10409.jpg
/home/pi/Desktop/images/20022025/15/34/image_20022025_15_34_16_9354.jpg
/home/pi/Desktop/images/20022025/15/34/image_20022025_15_34_26_10362.jpg
/home/pi/Desktop/images/20022025/15/34/image_20022025_15_34_46_9415.jpg
/home/pi/Desktop/images/20022025/15/34/image_20022025_15_34_56_10364.jpg
/home/pi/Desktop/images/20022025/15/34/image_20022025_15_35_06_9418.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338688262","1338688270","1338688267","1338688261","1338688263","1338688265"],"photo_ids_order":["1338688261","1338688262","1338688263","1338688265","1338688267","1338688270"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eea4f2ad6c3e76efedb3b04d7e8cb6b6.jpg","text":"TemporaryFile(/tmp/multipartBody5751347517760382017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089912828,"filename":"image_20022025_15_34_16_9354.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/35a5105a17f5ed502250549205a72be3.jpg","text":"TemporaryFile(/tmp/multipartBody6584388298018866673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089912828,"filename":"image_20022025_15_35_06_9418.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/90eefbe9b41e879f5b93e773706d1560.jpg","text":"TemporaryFile(/tmp/multipartBody2524589772882190267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089912828,"filename":"image_20022025_15_34_56_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff3d64a71976d3dd2a75a1476a7c220e.jpg","text":"TemporaryFile(/tmp/multipartBody1263190186188898228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089912828,"filename":"image_20022025_15_34_06_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/73fedb869c4ac718e46fe6ac8d5398ba.jpg","text":"TemporaryFile(/tmp/multipartBody5760127828984996238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089912828,"filename":"image_20022025_15_34_26_10362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ebbe61014798db5d44007cea1a381470.jpg","text":"TemporaryFile(/tmp/multipartBody2240742482067418921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089912828,"filename":"image_20022025_15_34_46_9415.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338688263","file1":"1338688262","file0":"1338688261","file4":"1338688267","file5":"1338688270","file3":"1338688265"},"map_files_photo_id_array":[{"photo_id":"1338688270","filename":"file5"},{"photo_id":"1338688263","filename":"file2"},{"photo_id":"1338688267","filename":"file4"},{"photo_id":"1338688262","filename":"file1"},{"photo_id":"1338688261","filename":"file0"},{"photo_id":"1338688265","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338688262":["hashtag1","hashtag2"]},{"1338688270":["hashtag1","hashtag2"]},{"1338688267":["hashtag1","hashtag2"]},{"1338688261":["hashtag1","hashtag2"]},{"1338688263":["hashtag1","hashtag2"]},{"1338688265":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338688262, 1338688270, 1338688267, 1338688261, 1338688263, 1338688265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89839720726013 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:18:32.539930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/35/image_20022025_15_35_16_10348.jpg', '/home/pi/Desktop/images/20022025/15/35/image_20022025_15_35_56_10348.jpg', '/home/pi/Desktop/images/20022025/15/35/image_20022025_15_36_06_9422.jpg', '/home/pi/Desktop/images/20022025/15/36/image_20022025_15_36_16_10670.jpg', '/home/pi/Desktop/images/20022025/15/36/image_20022025_15_36_56_10323.jpg', '/home/pi/Desktop/images/20022025/15/36/image_20022025_15_37_06_10426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/35/image_20022025_15_35_16_10348.jpg
/home/pi/Desktop/images/20022025/15/35/image_20022025_15_35_56_10348.jpg
/home/pi/Desktop/images/20022025/15/35/image_20022025_15_36_06_9422.jpg
/home/pi/Desktop/images/20022025/15/36/image_20022025_15_36_16_10670.jpg
/home/pi/Desktop/images/20022025/15/36/image_20022025_15_36_56_10323.jpg
/home/pi/Desktop/images/20022025/15/36/image_20022025_15_37_06_10426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338688766","1338688780","1338688782","1338688773","1338688769","1338688778"],"photo_ids_order":["1338688766","1338688769","1338688773","1338688778","1338688780","1338688782"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36249c7eefcf435930e17017dd01c3f0.jpg","text":"TemporaryFile(/tmp/multipartBody7051250237905521323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089973110,"filename":"image_20022025_15_35_16_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8f697465980994e0470f5410732ba080.jpg","text":"TemporaryFile(/tmp/multipartBody206832400092246415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089973110,"filename":"image_20022025_15_36_56_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/327d57a030591b46a3b3861b379a2572.jpg","text":"TemporaryFile(/tmp/multipartBody709500752575280750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089973110,"filename":"image_20022025_15_37_06_10426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9beb9675a2dcbfe75ae7305e1d5f96f5.jpg","text":"TemporaryFile(/tmp/multipartBody2304911364317465323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089973110,"filename":"image_20022025_15_36_06_9422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e5575e653efc9ad76a93b02c1c7211e6.jpg","text":"TemporaryFile(/tmp/multipartBody7185144791692768367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089973110,"filename":"image_20022025_15_35_56_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1c7480e0cecd97045400cf697f15c8b2.jpg","text":"TemporaryFile(/tmp/multipartBody6375882180854746074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740089973110,"filename":"image_20022025_15_36_16_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338688773","file1":"1338688769","file0":"1338688766","file4":"1338688780","file5":"1338688782","file3":"1338688778"},"map_files_photo_id_array":[{"photo_id":"1338688782","filename":"file5"},{"photo_id":"1338688773","filename":"file2"},{"photo_id":"1338688780","filename":"file4"},{"photo_id":"1338688769","filename":"file1"},{"photo_id":"1338688766","filename":"file0"},{"photo_id":"1338688778","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338688766":["hashtag1","hashtag2"]},{"1338688780":["hashtag1","hashtag2"]},{"1338688782":["hashtag1","hashtag2"]},{"1338688773":["hashtag1","hashtag2"]},{"1338688769":["hashtag1","hashtag2"]},{"1338688778":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338688766, 1338688780, 1338688782, 1338688773, 1338688769, 1338688778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.957444190979004 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:19:32.835342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/37/image_20022025_15_37_36_9462.jpg', '/home/pi/Desktop/images/20022025/15/37/image_20022025_15_37_46_10328.jpg', '/home/pi/Desktop/images/20022025/15/37/image_20022025_15_38_06_9337.jpg', '/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_16_10323.jpg', '/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_26_10370.jpg', '/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_36_9390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/37/image_20022025_15_37_36_9462.jpg
/home/pi/Desktop/images/20022025/15/37/image_20022025_15_37_46_10328.jpg
/home/pi/Desktop/images/20022025/15/37/image_20022025_15_38_06_9337.jpg
/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_16_10323.jpg
/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_26_10370.jpg
/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_36_9390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338688964","1338688966","1338688962","1338688959","1338688967","1338688961"],"photo_ids_order":["1338688959","1338688961","1338688962","1338688964","1338688966","1338688967"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12c4c85b8921b328bb51d9fd14256fad.jpg","text":"TemporaryFile(/tmp/multipartBody9213875962590095140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090033419,"filename":"image_20022025_15_38_16_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7e6ded0803d53332f0e9e12101582707.jpg","text":"TemporaryFile(/tmp/multipartBody1262868836429582764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090033419,"filename":"image_20022025_15_38_26_10370.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/944343a584c7608f4aa10ee2ccda1f63.jpg","text":"TemporaryFile(/tmp/multipartBody8210312436810399578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090033419,"filename":"image_20022025_15_38_06_9337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/748f6bdcd401beb85381a338d98d7fca.jpg","text":"TemporaryFile(/tmp/multipartBody2139746705907082161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090033419,"filename":"image_20022025_15_37_36_9462.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/369e4191482f25dbd562794659df44cc.jpg","text":"TemporaryFile(/tmp/multipartBody7907829246494501211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090033419,"filename":"image_20022025_15_38_36_9390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ef4611ef1e462333f2d474067161fc5a.jpg","text":"TemporaryFile(/tmp/multipartBody7619490402388485528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090033419,"filename":"image_20022025_15_37_46_10328.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338688962","file1":"1338688961","file0":"1338688959","file4":"1338688966","file5":"1338688967","file3":"1338688964"},"map_files_photo_id_array":[{"photo_id":"1338688967","filename":"file5"},{"photo_id":"1338688962","filename":"file2"},{"photo_id":"1338688966","filename":"file4"},{"photo_id":"1338688961","filename":"file1"},{"photo_id":"1338688959","filename":"file0"},{"photo_id":"1338688964","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338688964":["hashtag1","hashtag2"]},{"1338688966":["hashtag1","hashtag2"]},{"1338688962":["hashtag1","hashtag2"]},{"1338688959":["hashtag1","hashtag2"]},{"1338688967":["hashtag1","hashtag2"]},{"1338688961":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338688964, 1338688966, 1338688962, 1338688959, 1338688967, 1338688961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65904450416565 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:20:32.861220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_46_10324.jpg', '/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_56_10326.jpg', '/home/pi/Desktop/images/20022025/15/38/image_20022025_15_39_06_9320.jpg', '/home/pi/Desktop/images/20022025/15/39/image_20022025_15_39_16_10373.jpg', '/home/pi/Desktop/images/20022025/15/39/image_20022025_15_39_36_9325.jpg', '/home/pi/Desktop/images/20022025/15/39/image_20022025_15_39_46_10387.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_46_10324.jpg
/home/pi/Desktop/images/20022025/15/38/image_20022025_15_38_56_10326.jpg
/home/pi/Desktop/images/20022025/15/38/image_20022025_15_39_06_9320.jpg
/home/pi/Desktop/images/20022025/15/39/image_20022025_15_39_16_10373.jpg
/home/pi/Desktop/images/20022025/15/39/image_20022025_15_39_36_9325.jpg
/home/pi/Desktop/images/20022025/15/39/image_20022025_15_39_46_10387.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689080","1338689176","1338689146","1338689125","1338689082","1338689114"],"photo_ids_order":["1338689080","1338689082","1338689114","1338689125","1338689146","1338689176"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cecca1aa1fa89e5a24d5ccf7b19346f6.jpg","text":"TemporaryFile(/tmp/multipartBody3522332484073411547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090093418,"filename":"image_20022025_15_38_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bb12a68046edf9cfd83372b33854410f.jpg","text":"TemporaryFile(/tmp/multipartBody1416942108940712969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090093418,"filename":"image_20022025_15_39_46_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9c27fc0e479c2a11c47a09fee3755720.jpg","text":"TemporaryFile(/tmp/multipartBody5718124028831534630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090093418,"filename":"image_20022025_15_39_36_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c7411c4192cb0a786e7758cbed8a8edc.jpg","text":"TemporaryFile(/tmp/multipartBody6605967587830473754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090093418,"filename":"image_20022025_15_39_16_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/118880f513c2c85cf393f0d653dbdae4.jpg","text":"TemporaryFile(/tmp/multipartBody5817184576545195683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090093418,"filename":"image_20022025_15_38_56_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1a17568d83db09abdae12a73eaba3be5.jpg","text":"TemporaryFile(/tmp/multipartBody7245923850544364872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090093418,"filename":"image_20022025_15_39_06_9320.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689114","file1":"1338689082","file0":"1338689080","file4":"1338689146","file5":"1338689176","file3":"1338689125"},"map_files_photo_id_array":[{"photo_id":"1338689176","filename":"file5"},{"photo_id":"1338689114","filename":"file2"},{"photo_id":"1338689146","filename":"file4"},{"photo_id":"1338689082","filename":"file1"},{"photo_id":"1338689080","filename":"file0"},{"photo_id":"1338689125","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689080":["hashtag1","hashtag2"]},{"1338689176":["hashtag1","hashtag2"]},{"1338689146":["hashtag1","hashtag2"]},{"1338689125":["hashtag1","hashtag2"]},{"1338689082":["hashtag1","hashtag2"]},{"1338689114":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689080, 1338689176, 1338689146, 1338689125, 1338689082, 1338689114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.87472891807556 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:21:33.079069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_16_10379.jpg', '/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_26_9338.jpg', '/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_36_10382.jpg', '/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_46_10403.jpg', '/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_56_9341.jpg', '/home/pi/Desktop/images/20022025/15/40/image_20022025_15_41_06_10394.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_16_10379.jpg
/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_26_9338.jpg
/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_36_10382.jpg
/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_46_10403.jpg
/home/pi/Desktop/images/20022025/15/40/image_20022025_15_40_56_9341.jpg
/home/pi/Desktop/images/20022025/15/40/image_20022025_15_41_06_10394.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689210","1338689203","1338689217","1338689198","1338689207","1338689201"],"photo_ids_order":["1338689198","1338689201","1338689203","1338689207","1338689210","1338689217"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfe5fc7e29eb365b813e10184307443a.jpg","text":"TemporaryFile(/tmp/multipartBody7803649847262159558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090153631,"filename":"image_20022025_15_40_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1025c6580488f68bac779a93c6a0e624.jpg","text":"TemporaryFile(/tmp/multipartBody3176253278231833016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090153631,"filename":"image_20022025_15_40_36_10382.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1573fd072abadad2581e3284a5b20be6.jpg","text":"TemporaryFile(/tmp/multipartBody6093642162137169428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090153631,"filename":"image_20022025_15_41_06_10394.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d755dbcb523a6862ce8ee35ec3a7a158.jpg","text":"TemporaryFile(/tmp/multipartBody5359890515175005728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090153631,"filename":"image_20022025_15_40_16_10379.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/789c123d99a683aeabd68854b02be8ab.jpg","text":"TemporaryFile(/tmp/multipartBody8967812322614708055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090153631,"filename":"image_20022025_15_40_46_10403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e024f172cad550608faa57eb4be1bf00.jpg","text":"TemporaryFile(/tmp/multipartBody1406285000818890952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090153631,"filename":"image_20022025_15_40_26_9338.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689203","file1":"1338689201","file0":"1338689198","file4":"1338689210","file5":"1338689217","file3":"1338689207"},"map_files_photo_id_array":[{"photo_id":"1338689217","filename":"file5"},{"photo_id":"1338689203","filename":"file2"},{"photo_id":"1338689210","filename":"file4"},{"photo_id":"1338689201","filename":"file1"},{"photo_id":"1338689198","filename":"file0"},{"photo_id":"1338689207","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689210":["hashtag1","hashtag2"]},{"1338689203":["hashtag1","hashtag2"]},{"1338689217":["hashtag1","hashtag2"]},{"1338689198":["hashtag1","hashtag2"]},{"1338689207":["hashtag1","hashtag2"]},{"1338689201":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689210, 1338689203, 1338689217, 1338689198, 1338689207, 1338689201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23847794532776 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:22:32.363902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/41/image_20022025_15_41_16_9413.jpg', '/home/pi/Desktop/images/20022025/15/41/image_20022025_15_41_26_10334.jpg', '/home/pi/Desktop/images/20022025/15/41/image_20022025_15_41_36_10394.jpg', '/home/pi/Desktop/images/20022025/15/41/image_20022025_15_41_46_9383.jpg', '/home/pi/Desktop/images/20022025/15/41/image_20022025_15_42_06_10381.jpg', '/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_16_9414.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/41/image_20022025_15_41_16_9413.jpg
/home/pi/Desktop/images/20022025/15/41/image_20022025_15_41_26_10334.jpg
/home/pi/Desktop/images/20022025/15/41/image_20022025_15_41_36_10394.jpg
/home/pi/Desktop/images/20022025/15/41/image_20022025_15_41_46_9383.jpg
/home/pi/Desktop/images/20022025/15/41/image_20022025_15_42_06_10381.jpg
/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_16_9414.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689242","1338689245","1338689247","1338689250","1338689238","1338689243"],"photo_ids_order":["1338689238","1338689242","1338689243","1338689245","1338689247","1338689250"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7024c31b6bc40232b5ff967a2d08c553.jpg","text":"TemporaryFile(/tmp/multipartBody955577335688528427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090212920,"filename":"image_20022025_15_41_26_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3d83fddf709dd65c8fb32d59eb1775b7.jpg","text":"TemporaryFile(/tmp/multipartBody6609189708715435037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090212920,"filename":"image_20022025_15_41_46_9383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/475cba0fa8ebe29aeac7fb0392d9c58b.jpg","text":"TemporaryFile(/tmp/multipartBody2350666950272221428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090212920,"filename":"image_20022025_15_42_06_10381.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f9b20877350982b2287ff9adf3a3abc6.jpg","text":"TemporaryFile(/tmp/multipartBody1677564626760109320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090212920,"filename":"image_20022025_15_42_16_9414.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/44dc7492b11fe746cc3a167c69f3dff5.jpg","text":"TemporaryFile(/tmp/multipartBody925525482038670733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090212920,"filename":"image_20022025_15_41_16_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a6a0211f8f10173b563e692cd7ac930b.jpg","text":"TemporaryFile(/tmp/multipartBody4028340836370891239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090212920,"filename":"image_20022025_15_41_36_10394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689243","file1":"1338689242","file0":"1338689238","file4":"1338689247","file5":"1338689250","file3":"1338689245"},"map_files_photo_id_array":[{"photo_id":"1338689250","filename":"file5"},{"photo_id":"1338689243","filename":"file2"},{"photo_id":"1338689247","filename":"file4"},{"photo_id":"1338689242","filename":"file1"},{"photo_id":"1338689238","filename":"file0"},{"photo_id":"1338689245","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689242":["hashtag1","hashtag2"]},{"1338689245":["hashtag1","hashtag2"]},{"1338689247":["hashtag1","hashtag2"]},{"1338689250":["hashtag1","hashtag2"]},{"1338689238":["hashtag1","hashtag2"]},{"1338689243":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689242, 1338689245, 1338689247, 1338689250, 1338689238, 1338689243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36860132217407 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:23:32.518451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_26_10328.jpg', '/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_36_9439.jpg', '/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_46_10383.jpg', '/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_56_10371.jpg', '/home/pi/Desktop/images/20022025/15/42/image_20022025_15_43_06_9362.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_16_10317.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_26_10328.jpg
/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_36_9439.jpg
/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_46_10383.jpg
/home/pi/Desktop/images/20022025/15/42/image_20022025_15_42_56_10371.jpg
/home/pi/Desktop/images/20022025/15/42/image_20022025_15_43_06_9362.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_16_10317.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689278","1338689305","1338689302","1338689304","1338689300","1338689290"],"photo_ids_order":["1338689278","1338689290","1338689300","1338689302","1338689304","1338689305"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bb10e58253c7f5f5ff9a85637225212a.jpg","text":"TemporaryFile(/tmp/multipartBody5101073334353338137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090273069,"filename":"image_20022025_15_42_26_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/684853489a8605b5099889463f682f8c.jpg","text":"TemporaryFile(/tmp/multipartBody4679826161478710728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090273069,"filename":"image_20022025_15_43_16_10317.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/99a166b8d84b2d0e1c16d87fc91eeae2.jpg","text":"TemporaryFile(/tmp/multipartBody5557599704818160103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090273069,"filename":"image_20022025_15_42_56_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/282691f1835de03462f11489caaf5f95.jpg","text":"TemporaryFile(/tmp/multipartBody5786311206080219874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090273069,"filename":"image_20022025_15_43_06_9362.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e4d0287da4fdd5e7602d82b8a9ea5f20.jpg","text":"TemporaryFile(/tmp/multipartBody7841527567082676792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090273069,"filename":"image_20022025_15_42_46_10383.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/da2d4ac69a6604ba6dbb1d191b9aee3d.jpg","text":"TemporaryFile(/tmp/multipartBody4640670861496373344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090273069,"filename":"image_20022025_15_42_36_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689300","file1":"1338689290","file0":"1338689278","file4":"1338689304","file5":"1338689305","file3":"1338689302"},"map_files_photo_id_array":[{"photo_id":"1338689305","filename":"file5"},{"photo_id":"1338689300","filename":"file2"},{"photo_id":"1338689304","filename":"file4"},{"photo_id":"1338689290","filename":"file1"},{"photo_id":"1338689278","filename":"file0"},{"photo_id":"1338689302","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689278":["hashtag1","hashtag2"]},{"1338689305":["hashtag1","hashtag2"]},{"1338689302":["hashtag1","hashtag2"]},{"1338689304":["hashtag1","hashtag2"]},{"1338689300":["hashtag1","hashtag2"]},{"1338689290":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689278, 1338689305, 1338689302, 1338689304, 1338689300, 1338689290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.14994740486145 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:24:32.727590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_27_10455.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_36_9334.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_46_10323.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_56_9436.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_44_06_10320.jpg', '/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_16_10320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_27_10455.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_36_9334.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_46_10323.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_56_9436.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_44_06_10320.jpg
/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_16_10320.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.46059393882751465 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 23:24:42.703569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_27_10455.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_36_9334.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_46_10323.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_56_9436.jpg', '/home/pi/Desktop/images/20022025/15/43/image_20022025_15_44_06_10320.jpg', '/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_16_10320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_27_10455.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_36_9334.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_46_10323.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_43_56_9436.jpg
/home/pi/Desktop/images/20022025/15/43/image_20022025_15_44_06_10320.jpg
/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_16_10320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689335","1338689346","1338689349","1338689334","1338689343","1338689339"],"photo_ids_order":["1338689334","1338689335","1338689339","1338689343","1338689346","1338689349"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f4c8be0a7006583ba4e0269f589e34dd.jpg","text":"TemporaryFile(/tmp/multipartBody8103923408394087180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090343186,"filename":"image_20022025_15_43_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dc1f10523e8b7042c07cd61be20f7213.jpg","text":"TemporaryFile(/tmp/multipartBody7001778376201013351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090343186,"filename":"image_20022025_15_44_06_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd087eb91d3aa7c855093b0f3f68f20a.jpg","text":"TemporaryFile(/tmp/multipartBody3265123529616073829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090343186,"filename":"image_20022025_15_44_16_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/900348c39cd06d548da44d5364a40304.jpg","text":"TemporaryFile(/tmp/multipartBody4105528588035895219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090343186,"filename":"image_20022025_15_43_27_10455.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a48b7ea16d5388a2ed14373bffd807d0.jpg","text":"TemporaryFile(/tmp/multipartBody6732744780464430659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090343186,"filename":"image_20022025_15_43_56_9436.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/13506b14f35fa98b7ee213d69236701d.jpg","text":"TemporaryFile(/tmp/multipartBody651468977028885842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090343186,"filename":"image_20022025_15_43_46_10323.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689339","file1":"1338689335","file0":"1338689334","file4":"1338689346","file5":"1338689349","file3":"1338689343"},"map_files_photo_id_array":[{"photo_id":"1338689349","filename":"file5"},{"photo_id":"1338689339","filename":"file2"},{"photo_id":"1338689346","filename":"file4"},{"photo_id":"1338689335","filename":"file1"},{"photo_id":"1338689334","filename":"file0"},{"photo_id":"1338689343","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689335":["hashtag1","hashtag2"]},{"1338689346":["hashtag1","hashtag2"]},{"1338689349":["hashtag1","hashtag2"]},{"1338689334":["hashtag1","hashtag2"]},{"1338689343":["hashtag1","hashtag2"]},{"1338689339":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689335, 1338689346, 1338689349, 1338689334, 1338689343, 1338689339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61041450500488 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:25:32.888909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_26_9328.jpg', '/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_46_10318.jpg', '/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_56_9332.jpg', '/home/pi/Desktop/images/20022025/15/44/image_20022025_15_45_06_10357.jpg', '/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_16_10338.jpg', '/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_26_9399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_26_9328.jpg
/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_46_10318.jpg
/home/pi/Desktop/images/20022025/15/44/image_20022025_15_44_56_9332.jpg
/home/pi/Desktop/images/20022025/15/44/image_20022025_15_45_06_10357.jpg
/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_16_10338.jpg
/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_26_9399.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689371","1338689377","1338689365","1338689375","1338689360","1338689363"],"photo_ids_order":["1338689360","1338689363","1338689365","1338689371","1338689375","1338689377"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/abca2624700c2eb1a84809d5865c7b11.jpg","text":"TemporaryFile(/tmp/multipartBody2949535107072009286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090393447,"filename":"image_20022025_15_45_06_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fa51d1ab73d1a762cd0d4acbf4f3f0b8.jpg","text":"TemporaryFile(/tmp/multipartBody7331520651201722022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090393447,"filename":"image_20022025_15_45_26_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/99b5a9b272054ec50490d7d3f1c2994b.jpg","text":"TemporaryFile(/tmp/multipartBody3649262861827725221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090393447,"filename":"image_20022025_15_44_56_9332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/81bb217652c7735f7b3ef593d1535963.jpg","text":"TemporaryFile(/tmp/multipartBody1721385740245316116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090393447,"filename":"image_20022025_15_45_16_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4a96b501166bba9e582f6c8fe26999d4.jpg","text":"TemporaryFile(/tmp/multipartBody4866744760581528709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090393447,"filename":"image_20022025_15_44_26_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0c4fd2ea0d5187a74e9c401a498175dc.jpg","text":"TemporaryFile(/tmp/multipartBody4638423354910246927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090393447,"filename":"image_20022025_15_44_46_10318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689365","file1":"1338689363","file0":"1338689360","file4":"1338689375","file5":"1338689377","file3":"1338689371"},"map_files_photo_id_array":[{"photo_id":"1338689377","filename":"file5"},{"photo_id":"1338689365","filename":"file2"},{"photo_id":"1338689375","filename":"file4"},{"photo_id":"1338689363","filename":"file1"},{"photo_id":"1338689360","filename":"file0"},{"photo_id":"1338689371","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689371":["hashtag1","hashtag2"]},{"1338689377":["hashtag1","hashtag2"]},{"1338689365":["hashtag1","hashtag2"]},{"1338689375":["hashtag1","hashtag2"]},{"1338689360":["hashtag1","hashtag2"]},{"1338689363":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689371, 1338689377, 1338689365, 1338689375, 1338689360, 1338689363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.616573333740234 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:26:33.134006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_36_10337.jpg', '/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_47_10433.jpg', '/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_56_9353.jpg', '/home/pi/Desktop/images/20022025/15/45/image_20022025_15_46_06_10331.jpg', '/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_16_9374.jpg', '/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_26_10411.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_36_10337.jpg
/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_47_10433.jpg
/home/pi/Desktop/images/20022025/15/45/image_20022025_15_45_56_9353.jpg
/home/pi/Desktop/images/20022025/15/45/image_20022025_15_46_06_10331.jpg
/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_16_9374.jpg
/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_26_10411.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689395","1338689410","1338689394","1338689413","1338689397","1338689403"],"photo_ids_order":["1338689394","1338689395","1338689397","1338689403","1338689410","1338689413"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c77d651f29d134e4b1cee364193bbd3.jpg","text":"TemporaryFile(/tmp/multipartBody4823431303756754453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090453718,"filename":"image_20022025_15_45_47_10433.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/febc10e3a63d27fbbdc833e1f0292fbe.jpg","text":"TemporaryFile(/tmp/multipartBody2711486381921149516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090453718,"filename":"image_20022025_15_46_16_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbcdda3dd2d5d9b259014a4212ffa462.jpg","text":"TemporaryFile(/tmp/multipartBody9085142570132106130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090453718,"filename":"image_20022025_15_45_36_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3f2865d3c7d8e55d4453e19a335035d0.jpg","text":"TemporaryFile(/tmp/multipartBody1135757630489497392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090453718,"filename":"image_20022025_15_46_26_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/150ea86f520970fb9b0c4a8bf965cb9b.jpg","text":"TemporaryFile(/tmp/multipartBody3216888508025078514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090453718,"filename":"image_20022025_15_45_56_9353.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/79e4e4a307a2716716b80ec189849e3b.jpg","text":"TemporaryFile(/tmp/multipartBody4915315792064360698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090453718,"filename":"image_20022025_15_46_06_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689397","file1":"1338689395","file0":"1338689394","file4":"1338689410","file5":"1338689413","file3":"1338689403"},"map_files_photo_id_array":[{"photo_id":"1338689413","filename":"file5"},{"photo_id":"1338689397","filename":"file2"},{"photo_id":"1338689410","filename":"file4"},{"photo_id":"1338689395","filename":"file1"},{"photo_id":"1338689394","filename":"file0"},{"photo_id":"1338689403","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689395":["hashtag1","hashtag2"]},{"1338689410":["hashtag1","hashtag2"]},{"1338689394":["hashtag1","hashtag2"]},{"1338689413":["hashtag1","hashtag2"]},{"1338689397":["hashtag1","hashtag2"]},{"1338689403":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689395, 1338689410, 1338689394, 1338689413, 1338689397, 1338689403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.20692586898804 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:27:32.189600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_36_10417.jpg', '/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_46_9416.jpg', '/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_56_10397.jpg', '/home/pi/Desktop/images/20022025/15/46/image_20022025_15_47_06_9439.jpg', '/home/pi/Desktop/images/20022025/15/47/image_20022025_15_47_16_10427.jpg', '/home/pi/Desktop/images/20022025/15/47/image_20022025_15_47_36_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_36_10417.jpg
/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_46_9416.jpg
/home/pi/Desktop/images/20022025/15/46/image_20022025_15_46_56_10397.jpg
/home/pi/Desktop/images/20022025/15/46/image_20022025_15_47_06_9439.jpg
/home/pi/Desktop/images/20022025/15/47/image_20022025_15_47_16_10427.jpg
/home/pi/Desktop/images/20022025/15/47/image_20022025_15_47_36_9712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689455","1338689443","1338689451","1338689433","1338689438","1338689447"],"photo_ids_order":["1338689433","1338689438","1338689443","1338689447","1338689451","1338689455"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/db5c8c7ca43e4a77cb7db00401890abb.jpg","text":"TemporaryFile(/tmp/multipartBody6540492763274536514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090512745,"filename":"image_20022025_15_47_36_9712.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5bebe928abbce5c8e28e353ec42004e8.jpg","text":"TemporaryFile(/tmp/multipartBody8398403059869309036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090512745,"filename":"image_20022025_15_46_56_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/332552298f3ec499f175d0a8f003ca39.jpg","text":"TemporaryFile(/tmp/multipartBody299935471734424626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090512745,"filename":"image_20022025_15_47_16_10427.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0b6afee2933eeea5fed5e0965bcd62ad.jpg","text":"TemporaryFile(/tmp/multipartBody3205323141360158012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090512745,"filename":"image_20022025_15_46_36_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2fc07bb39da96ae079d719397d4e9206.jpg","text":"TemporaryFile(/tmp/multipartBody3289382851891263279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090512745,"filename":"image_20022025_15_46_46_9416.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/944687ff80066ae4c4ee03c9df08bd80.jpg","text":"TemporaryFile(/tmp/multipartBody6761293260437573643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090512745,"filename":"image_20022025_15_47_06_9439.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689443","file1":"1338689438","file0":"1338689433","file4":"1338689451","file5":"1338689455","file3":"1338689447"},"map_files_photo_id_array":[{"photo_id":"1338689455","filename":"file5"},{"photo_id":"1338689443","filename":"file2"},{"photo_id":"1338689451","filename":"file4"},{"photo_id":"1338689438","filename":"file1"},{"photo_id":"1338689433","filename":"file0"},{"photo_id":"1338689447","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689455":["hashtag1","hashtag2"]},{"1338689443":["hashtag1","hashtag2"]},{"1338689451":["hashtag1","hashtag2"]},{"1338689433":["hashtag1","hashtag2"]},{"1338689438":["hashtag1","hashtag2"]},{"1338689447":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689455, 1338689443, 1338689451, 1338689433, 1338689438, 1338689447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78078484535217 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:28:32.622422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/47/image_20022025_15_47_46_9420.jpg', '/home/pi/Desktop/images/20022025/15/47/image_20022025_15_47_56_10321.jpg', '/home/pi/Desktop/images/20022025/15/47/image_20022025_15_48_06_10335.jpg', '/home/pi/Desktop/images/20022025/15/48/image_20022025_15_48_16_9377.jpg', '/home/pi/Desktop/images/20022025/15/48/image_20022025_15_48_26_10332.jpg', '/home/pi/Desktop/images/20022025/15/48/image_20022025_15_48_36_10469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/47/image_20022025_15_47_46_9420.jpg
/home/pi/Desktop/images/20022025/15/47/image_20022025_15_47_56_10321.jpg
/home/pi/Desktop/images/20022025/15/47/image_20022025_15_48_06_10335.jpg
/home/pi/Desktop/images/20022025/15/48/image_20022025_15_48_16_9377.jpg
/home/pi/Desktop/images/20022025/15/48/image_20022025_15_48_26_10332.jpg
/home/pi/Desktop/images/20022025/15/48/image_20022025_15_48_36_10469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689491","1338689479","1338689500","1338689487","1338689498","1338689483"],"photo_ids_order":["1338689479","1338689483","1338689487","1338689491","1338689498","1338689500"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/67e04221c303d8937df26665616f87ce.jpg","text":"TemporaryFile(/tmp/multipartBody921879334084997547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090573181,"filename":"image_20022025_15_48_16_9377.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/df168cf83d090d4a5f0d0edeafd3d9bf.jpg","text":"TemporaryFile(/tmp/multipartBody1926159365920195280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090573181,"filename":"image_20022025_15_47_46_9420.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d16ae7baad644ce22ea21f4ee09db43b.jpg","text":"TemporaryFile(/tmp/multipartBody8216713872577834029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090573181,"filename":"image_20022025_15_48_36_10469.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/bd338a7155e9762fffbe363ac899806d.jpg","text":"TemporaryFile(/tmp/multipartBody3346776516387530201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090573181,"filename":"image_20022025_15_48_06_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9291253bbb968a9bd58ef1c61b8c55bb.jpg","text":"TemporaryFile(/tmp/multipartBody203449538295242056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090573181,"filename":"image_20022025_15_48_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eec7e2081dd9b39a40e0b239b68ce8ea.jpg","text":"TemporaryFile(/tmp/multipartBody965546066215535838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090573181,"filename":"image_20022025_15_47_56_10321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689487","file1":"1338689483","file0":"1338689479","file4":"1338689498","file5":"1338689500","file3":"1338689491"},"map_files_photo_id_array":[{"photo_id":"1338689500","filename":"file5"},{"photo_id":"1338689487","filename":"file2"},{"photo_id":"1338689498","filename":"file4"},{"photo_id":"1338689483","filename":"file1"},{"photo_id":"1338689479","filename":"file0"},{"photo_id":"1338689491","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689491":["hashtag1","hashtag2"]},{"1338689479":["hashtag1","hashtag2"]},{"1338689500":["hashtag1","hashtag2"]},{"1338689487":["hashtag1","hashtag2"]},{"1338689498":["hashtag1","hashtag2"]},{"1338689483":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689491, 1338689479, 1338689500, 1338689487, 1338689498, 1338689483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.990638256072998 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:29:32.791821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/48/image_20022025_15_49_06_9441.jpg', '/home/pi/Desktop/images/20022025/15/49/image_20022025_15_49_16_10359.jpg', '/home/pi/Desktop/images/20022025/15/49/image_20022025_15_49_26_10422.jpg', '/home/pi/Desktop/images/20022025/15/49/image_20022025_15_50_06_10412.jpg', '/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_16_10333.jpg', '/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_26_9441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/48/image_20022025_15_49_06_9441.jpg
/home/pi/Desktop/images/20022025/15/49/image_20022025_15_49_16_10359.jpg
/home/pi/Desktop/images/20022025/15/49/image_20022025_15_49_26_10422.jpg
/home/pi/Desktop/images/20022025/15/49/image_20022025_15_50_06_10412.jpg
/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_16_10333.jpg
/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_26_9441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689542","1338689515","1338689544","1338689526","1338689520","1338689523"],"photo_ids_order":["1338689515","1338689520","1338689523","1338689526","1338689542","1338689544"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/272a5f1a4e4b1ee8173562a2e1d92e9a.jpg","text":"TemporaryFile(/tmp/multipartBody5157755966638168867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090633695,"filename":"image_20022025_15_50_16_10333.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b7e5f1d4fad3c85db3f88b82864db9fc.jpg","text":"TemporaryFile(/tmp/multipartBody1280855305703289673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090633695,"filename":"image_20022025_15_49_06_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c020c3fcbf2b3e43bea5ec367bc3088.jpg","text":"TemporaryFile(/tmp/multipartBody1772395250241749488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090633695,"filename":"image_20022025_15_50_26_9441.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/927039aa3191fb7d35c9daba6cad263d.jpg","text":"TemporaryFile(/tmp/multipartBody3370253913964672578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090633695,"filename":"image_20022025_15_50_06_10412.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/56206280a8cf30fcccc72b4e6477d1b3.jpg","text":"TemporaryFile(/tmp/multipartBody6564557575741866345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090633695,"filename":"image_20022025_15_49_16_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1301833fffe4933e6c43ad0ae225fde0.jpg","text":"TemporaryFile(/tmp/multipartBody5723785453293441006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090633695,"filename":"image_20022025_15_49_26_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689523","file1":"1338689520","file0":"1338689515","file4":"1338689542","file5":"1338689544","file3":"1338689526"},"map_files_photo_id_array":[{"photo_id":"1338689544","filename":"file5"},{"photo_id":"1338689523","filename":"file2"},{"photo_id":"1338689542","filename":"file4"},{"photo_id":"1338689520","filename":"file1"},{"photo_id":"1338689515","filename":"file0"},{"photo_id":"1338689526","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689542":["hashtag1","hashtag2"]},{"1338689515":["hashtag1","hashtag2"]},{"1338689544":["hashtag1","hashtag2"]},{"1338689526":["hashtag1","hashtag2"]},{"1338689520":["hashtag1","hashtag2"]},{"1338689523":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689542, 1338689515, 1338689544, 1338689526, 1338689520, 1338689523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96529293060303 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:30:33.042743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_37_10762.jpg', '/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_46_9335.jpg', '/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_56_10357.jpg', '/home/pi/Desktop/images/20022025/15/50/image_20022025_15_51_06_9413.jpg', '/home/pi/Desktop/images/20022025/15/51/image_20022025_15_51_16_10378.jpg', '/home/pi/Desktop/images/20022025/15/51/image_20022025_15_51_36_9338.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_37_10762.jpg
/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_46_9335.jpg
/home/pi/Desktop/images/20022025/15/50/image_20022025_15_50_56_10357.jpg
/home/pi/Desktop/images/20022025/15/50/image_20022025_15_51_06_9413.jpg
/home/pi/Desktop/images/20022025/15/51/image_20022025_15_51_16_10378.jpg
/home/pi/Desktop/images/20022025/15/51/image_20022025_15_51_36_9338.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689584","1338689578","1338689565","1338689568","1338689573","1338689581"],"photo_ids_order":["1338689565","1338689568","1338689573","1338689578","1338689581","1338689584"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/73ddd1d0a832b2ace3853b8c6cdcbc93.jpg","text":"TemporaryFile(/tmp/multipartBody7155159910940069019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090693622,"filename":"image_20022025_15_51_36_9338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a225e36964bf9623c51b08b73fa0a86e.jpg","text":"TemporaryFile(/tmp/multipartBody2345677915166966389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090693622,"filename":"image_20022025_15_51_06_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d31692a9f03c231939743450fe305162.jpg","text":"TemporaryFile(/tmp/multipartBody390194735498800081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090693622,"filename":"image_20022025_15_50_37_10762.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/346d9ed05b8945d99b2ebd6db84e045b.jpg","text":"TemporaryFile(/tmp/multipartBody2264877351711377617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090693622,"filename":"image_20022025_15_50_46_9335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6fe2a14eefc42da387b26dddb3664456.jpg","text":"TemporaryFile(/tmp/multipartBody2988546999212863772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090693622,"filename":"image_20022025_15_50_56_10357.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7df67c0ac32f4652a6590e6c504b8d1e.jpg","text":"TemporaryFile(/tmp/multipartBody8222820131485308702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090693622,"filename":"image_20022025_15_51_16_10378.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689573","file1":"1338689568","file0":"1338689565","file4":"1338689581","file5":"1338689584","file3":"1338689578"},"map_files_photo_id_array":[{"photo_id":"1338689584","filename":"file5"},{"photo_id":"1338689573","filename":"file2"},{"photo_id":"1338689581","filename":"file4"},{"photo_id":"1338689568","filename":"file1"},{"photo_id":"1338689565","filename":"file0"},{"photo_id":"1338689578","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689584":["hashtag1","hashtag2"]},{"1338689578":["hashtag1","hashtag2"]},{"1338689565":["hashtag1","hashtag2"]},{"1338689568":["hashtag1","hashtag2"]},{"1338689573":["hashtag1","hashtag2"]},{"1338689581":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689584, 1338689578, 1338689565, 1338689568, 1338689573, 1338689581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.763407945632935 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:31:32.156403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/51/image_20022025_15_51_46_10350.jpg', '/home/pi/Desktop/images/20022025/15/51/image_20022025_15_52_06_9368.jpg', '/home/pi/Desktop/images/20022025/15/52/image_20022025_15_52_16_10335.jpg', '/home/pi/Desktop/images/20022025/15/52/image_20022025_15_52_36_9316.jpg', '/home/pi/Desktop/images/20022025/15/52/image_20022025_15_52_46_10324.jpg', '/home/pi/Desktop/images/20022025/15/52/image_20022025_15_52_56_9426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/51/image_20022025_15_51_46_10350.jpg
/home/pi/Desktop/images/20022025/15/51/image_20022025_15_52_06_9368.jpg
/home/pi/Desktop/images/20022025/15/52/image_20022025_15_52_16_10335.jpg
/home/pi/Desktop/images/20022025/15/52/image_20022025_15_52_36_9316.jpg
/home/pi/Desktop/images/20022025/15/52/image_20022025_15_52_46_10324.jpg
/home/pi/Desktop/images/20022025/15/52/image_20022025_15_52_56_9426.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689883","1338689922","1338689925","1338689919","1338689927","1338689912"],"photo_ids_order":["1338689883","1338689912","1338689919","1338689922","1338689925","1338689927"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d37fe6b299ab334fa1a860cee19a73df.jpg","text":"TemporaryFile(/tmp/multipartBody4662067906091729143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090752712,"filename":"image_20022025_15_51_46_10350.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8e70d2c70a6970780cbf4e37a4f61a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3475406434482901652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090752712,"filename":"image_20022025_15_52_36_9316.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5410bc566d9278f18226c223e409a97f.jpg","text":"TemporaryFile(/tmp/multipartBody523437379313188157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090752712,"filename":"image_20022025_15_52_46_10324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3968732cc0fa5df9e4708d4fec949ad5.jpg","text":"TemporaryFile(/tmp/multipartBody5403500725933858455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090752712,"filename":"image_20022025_15_52_16_10335.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30b85bf8fe20c2c990264ca512ac4745.jpg","text":"TemporaryFile(/tmp/multipartBody1216502975503404399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090752712,"filename":"image_20022025_15_52_56_9426.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9bcb703b99e3be9747a6441a5a8f2ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2832304156714609431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090752712,"filename":"image_20022025_15_52_06_9368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689919","file1":"1338689912","file0":"1338689883","file4":"1338689925","file5":"1338689927","file3":"1338689922"},"map_files_photo_id_array":[{"photo_id":"1338689927","filename":"file5"},{"photo_id":"1338689919","filename":"file2"},{"photo_id":"1338689925","filename":"file4"},{"photo_id":"1338689912","filename":"file1"},{"photo_id":"1338689883","filename":"file0"},{"photo_id":"1338689922","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689883":["hashtag1","hashtag2"]},{"1338689922":["hashtag1","hashtag2"]},{"1338689925":["hashtag1","hashtag2"]},{"1338689919":["hashtag1","hashtag2"]},{"1338689927":["hashtag1","hashtag2"]},{"1338689912":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689883, 1338689922, 1338689925, 1338689919, 1338689927, 1338689912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.681524753570557 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:32:32.467367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/52/image_20022025_15_53_06_10366.jpg', '/home/pi/Desktop/images/20022025/15/53/image_20022025_15_53_16_10417.jpg', '/home/pi/Desktop/images/20022025/15/53/image_20022025_15_53_36_10323.jpg', '/home/pi/Desktop/images/20022025/15/53/image_20022025_15_53_47_10380.jpg', '/home/pi/Desktop/images/20022025/15/53/image_20022025_15_53_56_9341.jpg', '/home/pi/Desktop/images/20022025/15/53/image_20022025_15_54_06_10315.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/52/image_20022025_15_53_06_10366.jpg
/home/pi/Desktop/images/20022025/15/53/image_20022025_15_53_16_10417.jpg
/home/pi/Desktop/images/20022025/15/53/image_20022025_15_53_36_10323.jpg
/home/pi/Desktop/images/20022025/15/53/image_20022025_15_53_47_10380.jpg
/home/pi/Desktop/images/20022025/15/53/image_20022025_15_53_56_9341.jpg
/home/pi/Desktop/images/20022025/15/53/image_20022025_15_54_06_10315.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338689950","1338689961","1338689955","1338689966","1338689945","1338689969"],"photo_ids_order":["1338689945","1338689950","1338689955","1338689961","1338689966","1338689969"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a8da8e5c0be32495df390c784269d8c0.jpg","text":"TemporaryFile(/tmp/multipartBody8904087059792904934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090813032,"filename":"image_20022025_15_53_16_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/2c691ea6a8ae84378dc11f4b8f4dbbb1.jpg","text":"TemporaryFile(/tmp/multipartBody8696932274122205593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090813032,"filename":"image_20022025_15_53_47_10380.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cfa4884c2f685f0ee2320429aa41cbb1.jpg","text":"TemporaryFile(/tmp/multipartBody5880101787304698434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090813032,"filename":"image_20022025_15_53_36_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ca2044358c4c745650ce6f251f5efc92.jpg","text":"TemporaryFile(/tmp/multipartBody2725771433043656233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090813032,"filename":"image_20022025_15_53_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/669db86b01b32b34c2bd202c655595a4.jpg","text":"TemporaryFile(/tmp/multipartBody2154842101255726762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090813032,"filename":"image_20022025_15_53_06_10366.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4c1d6ed9514cf4756953aa295771eba0.jpg","text":"TemporaryFile(/tmp/multipartBody6074358203548144471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090813032,"filename":"image_20022025_15_54_06_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338689955","file1":"1338689950","file0":"1338689945","file4":"1338689966","file5":"1338689969","file3":"1338689961"},"map_files_photo_id_array":[{"photo_id":"1338689969","filename":"file5"},{"photo_id":"1338689955","filename":"file2"},{"photo_id":"1338689966","filename":"file4"},{"photo_id":"1338689950","filename":"file1"},{"photo_id":"1338689945","filename":"file0"},{"photo_id":"1338689961","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338689950":["hashtag1","hashtag2"]},{"1338689961":["hashtag1","hashtag2"]},{"1338689955":["hashtag1","hashtag2"]},{"1338689966":["hashtag1","hashtag2"]},{"1338689945":["hashtag1","hashtag2"]},{"1338689969":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338689950, 1338689961, 1338689955, 1338689966, 1338689945, 1338689969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.632901668548584 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:33:32.805045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/54/image_20022025_15_54_16_9403.jpg', '/home/pi/Desktop/images/20022025/15/54/image_20022025_15_54_26_10409.jpg', '/home/pi/Desktop/images/20022025/15/54/image_20022025_15_54_46_9399.jpg', '/home/pi/Desktop/images/20022025/15/54/image_20022025_15_54_56_10336.jpg', '/home/pi/Desktop/images/20022025/15/54/image_20022025_15_55_06_10323.jpg', '/home/pi/Desktop/images/20022025/15/55/image_20022025_15_55_26_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/54/image_20022025_15_54_16_9403.jpg
/home/pi/Desktop/images/20022025/15/54/image_20022025_15_54_26_10409.jpg
/home/pi/Desktop/images/20022025/15/54/image_20022025_15_54_46_9399.jpg
/home/pi/Desktop/images/20022025/15/54/image_20022025_15_54_56_10336.jpg
/home/pi/Desktop/images/20022025/15/54/image_20022025_15_55_06_10323.jpg
/home/pi/Desktop/images/20022025/15/55/image_20022025_15_55_26_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690026","1338690020","1338690028","1338690007","1338690022","1338689998"],"photo_ids_order":["1338689998","1338690007","1338690020","1338690022","1338690026","1338690028"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0aa3ed89785c1298f4fc7c189c4ecb9e.jpg","text":"TemporaryFile(/tmp/multipartBody135467065790433339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090873374,"filename":"image_20022025_15_55_06_10323.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5813af3bb8b31ff26759593d63901e07.jpg","text":"TemporaryFile(/tmp/multipartBody3273143280874531025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090873374,"filename":"image_20022025_15_54_46_9399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/173a7ab9e0e26b15d4a17a760cd7de0f.jpg","text":"TemporaryFile(/tmp/multipartBody4151969014891346508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090873374,"filename":"image_20022025_15_55_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/83700782dcd939cfbef4784131ed0985.jpg","text":"TemporaryFile(/tmp/multipartBody4471806425226920478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090873374,"filename":"image_20022025_15_54_26_10409.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6b9280783dac1ade116aa5ba0e1b1a47.jpg","text":"TemporaryFile(/tmp/multipartBody4419311678085009434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090873374,"filename":"image_20022025_15_54_56_10336.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/079ef918b7269c8f7510c617a671e10b.jpg","text":"TemporaryFile(/tmp/multipartBody5259418166599902428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090873374,"filename":"image_20022025_15_54_16_9403.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690020","file1":"1338690007","file0":"1338689998","file4":"1338690026","file5":"1338690028","file3":"1338690022"},"map_files_photo_id_array":[{"photo_id":"1338690028","filename":"file5"},{"photo_id":"1338690020","filename":"file2"},{"photo_id":"1338690026","filename":"file4"},{"photo_id":"1338690007","filename":"file1"},{"photo_id":"1338689998","filename":"file0"},{"photo_id":"1338690022","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690026":["hashtag1","hashtag2"]},{"1338690020":["hashtag1","hashtag2"]},{"1338690028":["hashtag1","hashtag2"]},{"1338690007":["hashtag1","hashtag2"]},{"1338690022":["hashtag1","hashtag2"]},{"1338689998":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690026, 1338690020, 1338690028, 1338690007, 1338690022, 1338689998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60756993293762 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:34:33.033612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/55/image_20022025_15_55_37_10399.jpg', '/home/pi/Desktop/images/20022025/15/55/image_20022025_15_55_56_10407.jpg', '/home/pi/Desktop/images/20022025/15/55/image_20022025_15_56_06_9404.jpg', '/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_16_10326.jpg', '/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_26_10332.jpg', '/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_36_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/55/image_20022025_15_55_37_10399.jpg
/home/pi/Desktop/images/20022025/15/55/image_20022025_15_55_56_10407.jpg
/home/pi/Desktop/images/20022025/15/55/image_20022025_15_56_06_9404.jpg
/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_16_10326.jpg
/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_26_10332.jpg
/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_36_9334.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690053","1338690047","1338690040","1338690042","1338690050","1338690044"],"photo_ids_order":["1338690040","1338690042","1338690044","1338690047","1338690050","1338690053"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b1f7b7a771a3e161d8896d69cd47ae4c.jpg","text":"TemporaryFile(/tmp/multipartBody1932732784254055581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090933598,"filename":"image_20022025_15_56_36_9334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3ea64fd7ca4fb30c1b14934078da76d9.jpg","text":"TemporaryFile(/tmp/multipartBody4448968552525249073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090933598,"filename":"image_20022025_15_56_16_10326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b129c17b99d2343213050d0ce6394b4c.jpg","text":"TemporaryFile(/tmp/multipartBody4617760222257522510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090933598,"filename":"image_20022025_15_55_37_10399.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e84ae311d6105ccaffe1b96556001c83.jpg","text":"TemporaryFile(/tmp/multipartBody8446078249946021279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090933598,"filename":"image_20022025_15_55_56_10407.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/622b23c52c0044ee08bd65fcfd189259.jpg","text":"TemporaryFile(/tmp/multipartBody2724637353140385358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090933598,"filename":"image_20022025_15_56_26_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/70670893c81de8045c685a3729ac1403.jpg","text":"TemporaryFile(/tmp/multipartBody1215802980153698954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090933598,"filename":"image_20022025_15_56_06_9404.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690044","file1":"1338690042","file0":"1338690040","file4":"1338690050","file5":"1338690053","file3":"1338690047"},"map_files_photo_id_array":[{"photo_id":"1338690053","filename":"file5"},{"photo_id":"1338690044","filename":"file2"},{"photo_id":"1338690050","filename":"file4"},{"photo_id":"1338690042","filename":"file1"},{"photo_id":"1338690040","filename":"file0"},{"photo_id":"1338690047","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690053":["hashtag1","hashtag2"]},{"1338690047":["hashtag1","hashtag2"]},{"1338690040":["hashtag1","hashtag2"]},{"1338690042":["hashtag1","hashtag2"]},{"1338690050":["hashtag1","hashtag2"]},{"1338690044":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690053, 1338690047, 1338690040, 1338690042, 1338690050, 1338690044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79863119125366 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:35:33.161804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_46_10334.jpg', '/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_56_10343.jpg', '/home/pi/Desktop/images/20022025/15/56/image_20022025_15_57_06_9430.jpg', '/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_16_10335.jpg', '/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_26_9506.jpg', '/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_36_10320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_46_10334.jpg
/home/pi/Desktop/images/20022025/15/56/image_20022025_15_56_56_10343.jpg
/home/pi/Desktop/images/20022025/15/56/image_20022025_15_57_06_9430.jpg
/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_16_10335.jpg
/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_26_9506.jpg
/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_36_10320.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690082","1338690076","1338690079","1338690089","1338690092","1338690086"],"photo_ids_order":["1338690076","1338690079","1338690082","1338690086","1338690089","1338690092"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ebf220c2520266da6a0d1e2b3021f949.jpg","text":"TemporaryFile(/tmp/multipartBody6642481384557938617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090993729,"filename":"image_20022025_15_57_06_9430.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cbd5bce79c269523a8c14aae0a4883ec.jpg","text":"TemporaryFile(/tmp/multipartBody7825657935165400439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090993729,"filename":"image_20022025_15_56_46_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6692fbfb127c170a67fc7e496537f932.jpg","text":"TemporaryFile(/tmp/multipartBody6090744390147651914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090993729,"filename":"image_20022025_15_56_56_10343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ba73a7884fa085a6edd6e50695178be3.jpg","text":"TemporaryFile(/tmp/multipartBody8754912115423653303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090993729,"filename":"image_20022025_15_57_26_9506.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea9f69a89074344fdf8b036230b39e73.jpg","text":"TemporaryFile(/tmp/multipartBody8023268286239355455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090993729,"filename":"image_20022025_15_57_36_10320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/af33836e79796181cd3a06f448f65f04.jpg","text":"TemporaryFile(/tmp/multipartBody5450386459111669857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740090993729,"filename":"image_20022025_15_57_16_10335.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690082","file1":"1338690079","file0":"1338690076","file4":"1338690089","file5":"1338690092","file3":"1338690086"},"map_files_photo_id_array":[{"photo_id":"1338690092","filename":"file5"},{"photo_id":"1338690082","filename":"file2"},{"photo_id":"1338690089","filename":"file4"},{"photo_id":"1338690079","filename":"file1"},{"photo_id":"1338690076","filename":"file0"},{"photo_id":"1338690086","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690082":["hashtag1","hashtag2"]},{"1338690076":["hashtag1","hashtag2"]},{"1338690079":["hashtag1","hashtag2"]},{"1338690089":["hashtag1","hashtag2"]},{"1338690092":["hashtag1","hashtag2"]},{"1338690086":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690082, 1338690076, 1338690079, 1338690089, 1338690092, 1338690086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20120644569397 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:36:32.236261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_46_10314.jpg', '/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_56_9413.jpg', '/home/pi/Desktop/images/20022025/15/57/image_20022025_15_58_06_10344.jpg', '/home/pi/Desktop/images/20022025/15/58/image_20022025_15_58_16_10345.jpg', '/home/pi/Desktop/images/20022025/15/58/image_20022025_15_58_26_9403.jpg', '/home/pi/Desktop/images/20022025/15/58/image_20022025_15_58_36_10374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_46_10314.jpg
/home/pi/Desktop/images/20022025/15/57/image_20022025_15_57_56_9413.jpg
/home/pi/Desktop/images/20022025/15/57/image_20022025_15_58_06_10344.jpg
/home/pi/Desktop/images/20022025/15/58/image_20022025_15_58_16_10345.jpg
/home/pi/Desktop/images/20022025/15/58/image_20022025_15_58_26_9403.jpg
/home/pi/Desktop/images/20022025/15/58/image_20022025_15_58_36_10374.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690134","1338690107","1338690137","1338690139","1338690130","1338690103"],"photo_ids_order":["1338690103","1338690107","1338690130","1338690134","1338690137","1338690139"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/916ffedd9dc556fdbd791e8f28778d3d.jpg","text":"TemporaryFile(/tmp/multipartBody1071148049667407013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091052801,"filename":"image_20022025_15_58_16_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/41e6e9ef93e4bbdb9e1d90866904662a.jpg","text":"TemporaryFile(/tmp/multipartBody8801496005866308623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091052801,"filename":"image_20022025_15_57_56_9413.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/1253859a90ea63183f7d701e190d8582.jpg","text":"TemporaryFile(/tmp/multipartBody5238535903742693788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091052801,"filename":"image_20022025_15_58_26_9403.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dfb42d7db012de803c475a9260c125a3.jpg","text":"TemporaryFile(/tmp/multipartBody5377295578335996363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091052801,"filename":"image_20022025_15_58_36_10374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/acb47d3e51c1a8666d7fd6d82493c57a.jpg","text":"TemporaryFile(/tmp/multipartBody1636014152653722469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091052801,"filename":"image_20022025_15_58_06_10344.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4196e86c5d7d3cc489c73d1aa8db1eec.jpg","text":"TemporaryFile(/tmp/multipartBody3470943643648414045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091052801,"filename":"image_20022025_15_57_46_10314.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690130","file1":"1338690107","file0":"1338690103","file4":"1338690137","file5":"1338690139","file3":"1338690134"},"map_files_photo_id_array":[{"photo_id":"1338690139","filename":"file5"},{"photo_id":"1338690130","filename":"file2"},{"photo_id":"1338690137","filename":"file4"},{"photo_id":"1338690107","filename":"file1"},{"photo_id":"1338690103","filename":"file0"},{"photo_id":"1338690134","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690134":["hashtag1","hashtag2"]},{"1338690107":["hashtag1","hashtag2"]},{"1338690137":["hashtag1","hashtag2"]},{"1338690139":["hashtag1","hashtag2"]},{"1338690130":["hashtag1","hashtag2"]},{"1338690103":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690134, 1338690107, 1338690137, 1338690139, 1338690130, 1338690103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81689643859863 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:37:32.602036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/15/58/image_20022025_15_58_46_9454.jpg', '/home/pi/Desktop/images/20022025/15/59/image_20022025_15_59_16_9397.jpg', '/home/pi/Desktop/images/20022025/15/59/image_20022025_15_59_46_9324.jpg', '/home/pi/Desktop/images/20022025/15/59/image_20022025_15_59_56_10332.jpg', '/home/pi/Desktop/images/20022025/16/00/image_20022025_16_00_16_10067.jpg', '/home/pi/Desktop/images/20022025/16/00/image_20022025_16_00_27_10485.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/15/58/image_20022025_15_58_46_9454.jpg
/home/pi/Desktop/images/20022025/15/59/image_20022025_15_59_16_9397.jpg
/home/pi/Desktop/images/20022025/15/59/image_20022025_15_59_46_9324.jpg
/home/pi/Desktop/images/20022025/15/59/image_20022025_15_59_56_10332.jpg
/home/pi/Desktop/images/20022025/16/00/image_20022025_16_00_16_10067.jpg
/home/pi/Desktop/images/20022025/16/00/image_20022025_16_00_27_10485.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690245","1338690233","1338690282","1338690279","1338690231","1338690228"],"photo_ids_order":["1338690228","1338690231","1338690233","1338690245","1338690279","1338690282"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/379e3e4b613d37b9896443b3b678f044.jpg","text":"TemporaryFile(/tmp/multipartBody5142827537832019903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091113173,"filename":"image_20022025_15_59_56_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ea25fafd634e3887f41ae96b712913c1.jpg","text":"TemporaryFile(/tmp/multipartBody505111575535804490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091113173,"filename":"image_20022025_15_59_46_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/14e85b43e2301f369f12a2dde2b73c23.jpg","text":"TemporaryFile(/tmp/multipartBody2986910622276677560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091113173,"filename":"image_20022025_16_00_27_10485.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6290ad4e6b5ca8999ff3854771825a8b.jpg","text":"TemporaryFile(/tmp/multipartBody3123082758417672263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091113173,"filename":"image_20022025_16_00_16_10067.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/116d27cd7d92fb5687b0918fc4a15e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7376463061462417631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091113173,"filename":"image_20022025_15_59_16_9397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7c7e388f1f3271277a81054ef586860d.jpg","text":"TemporaryFile(/tmp/multipartBody6494558072136309306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091113173,"filename":"image_20022025_15_58_46_9454.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690233","file1":"1338690231","file0":"1338690228","file4":"1338690279","file5":"1338690282","file3":"1338690245"},"map_files_photo_id_array":[{"photo_id":"1338690282","filename":"file5"},{"photo_id":"1338690233","filename":"file2"},{"photo_id":"1338690279","filename":"file4"},{"photo_id":"1338690231","filename":"file1"},{"photo_id":"1338690228","filename":"file0"},{"photo_id":"1338690245","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690245":["hashtag1","hashtag2"]},{"1338690233":["hashtag1","hashtag2"]},{"1338690282":["hashtag1","hashtag2"]},{"1338690279":["hashtag1","hashtag2"]},{"1338690231":["hashtag1","hashtag2"]},{"1338690228":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690245, 1338690233, 1338690282, 1338690279, 1338690231, 1338690228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.63427996635437 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:38:32.740340
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/00/image_20022025_16_00_57_10352.jpg', '/home/pi/Desktop/images/20022025/16/00/image_20022025_16_01_07_10364.jpg', '/home/pi/Desktop/images/20022025/16/01/image_20022025_16_01_27_10411.jpg', '/home/pi/Desktop/images/20022025/16/01/image_20022025_16_01_37_10322.jpg', '/home/pi/Desktop/images/20022025/16/01/image_20022025_16_01_46_9384.jpg', '/home/pi/Desktop/images/20022025/16/02/image_20022025_16_02_27_10345.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/00/image_20022025_16_00_57_10352.jpg
/home/pi/Desktop/images/20022025/16/00/image_20022025_16_01_07_10364.jpg
/home/pi/Desktop/images/20022025/16/01/image_20022025_16_01_27_10411.jpg
/home/pi/Desktop/images/20022025/16/01/image_20022025_16_01_37_10322.jpg
/home/pi/Desktop/images/20022025/16/01/image_20022025_16_01_46_9384.jpg
/home/pi/Desktop/images/20022025/16/02/image_20022025_16_02_27_10345.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690349","1338690358","1338690343","1338690357","1338690339","1338690354"],"photo_ids_order":["1338690339","1338690343","1338690349","1338690354","1338690357","1338690358"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7271796c624a52ed8c6956c513bc30e8.jpg","text":"TemporaryFile(/tmp/multipartBody5175164249746277712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091173305,"filename":"image_20022025_16_01_27_10411.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d48618adac1c846520f882af0be9a04f.jpg","text":"TemporaryFile(/tmp/multipartBody1156495716704495262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091173305,"filename":"image_20022025_16_02_27_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4f075de55b51f49eea8a7b814b10c2f0.jpg","text":"TemporaryFile(/tmp/multipartBody7666959294461871133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091173305,"filename":"image_20022025_16_01_07_10364.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/98be435ecf1d82e6f320bb906818f1eb.jpg","text":"TemporaryFile(/tmp/multipartBody1368620557592267858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091173305,"filename":"image_20022025_16_01_46_9384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e4a201f8610b2acfd4bb7db9f96f31eb.jpg","text":"TemporaryFile(/tmp/multipartBody2201766527013146454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091173305,"filename":"image_20022025_16_00_57_10352.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4bc1bc401dea9a39083c00bc5d102adf.jpg","text":"TemporaryFile(/tmp/multipartBody7069256065436615085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091173305,"filename":"image_20022025_16_01_37_10322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690349","file1":"1338690343","file0":"1338690339","file4":"1338690357","file5":"1338690358","file3":"1338690354"},"map_files_photo_id_array":[{"photo_id":"1338690358","filename":"file5"},{"photo_id":"1338690349","filename":"file2"},{"photo_id":"1338690357","filename":"file4"},{"photo_id":"1338690343","filename":"file1"},{"photo_id":"1338690339","filename":"file0"},{"photo_id":"1338690354","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690349":["hashtag1","hashtag2"]},{"1338690358":["hashtag1","hashtag2"]},{"1338690343":["hashtag1","hashtag2"]},{"1338690357":["hashtag1","hashtag2"]},{"1338690339":["hashtag1","hashtag2"]},{"1338690354":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690349, 1338690358, 1338690343, 1338690357, 1338690339, 1338690354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.417747020721436 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:39:32.909090
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/02/image_20022025_16_03_06_9342.jpg', '/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_17_10375.jpg', '/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_27_10347.jpg', '/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_36_9320.jpg', '/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_47_10443.jpg', '/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_56_9359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/02/image_20022025_16_03_06_9342.jpg
/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_17_10375.jpg
/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_27_10347.jpg
/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_36_9320.jpg
/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_47_10443.jpg
/home/pi/Desktop/images/20022025/16/03/image_20022025_16_03_56_9359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690401","1338690400","1338690381","1338690387","1338690398","1338690395"],"photo_ids_order":["1338690381","1338690387","1338690395","1338690398","1338690400","1338690401"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b94afbaf39f29de64197407afa050a1b.jpg","text":"TemporaryFile(/tmp/multipartBody9065256786343481677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091233897,"filename":"image_20022025_16_03_56_9359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c64e06410ca88664de8a3ef40a4ca956.jpg","text":"TemporaryFile(/tmp/multipartBody485914062067127435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091233897,"filename":"image_20022025_16_03_47_10443.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/128c9ac57bcc93dc1499d09ae96ba9f7.jpg","text":"TemporaryFile(/tmp/multipartBody7805027253257870658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091233897,"filename":"image_20022025_16_03_06_9342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dc2ec1dc57717ebf9b696836b6bdb0f4.jpg","text":"TemporaryFile(/tmp/multipartBody792934338988240320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091233897,"filename":"image_20022025_16_03_17_10375.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4042ccb197fb9cc0fa8d7942cedb3d4d.jpg","text":"TemporaryFile(/tmp/multipartBody5731711875247739905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091233897,"filename":"image_20022025_16_03_36_9320.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/841c525b9576e88afd89cb6293cb6742.jpg","text":"TemporaryFile(/tmp/multipartBody948490274713230608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091233897,"filename":"image_20022025_16_03_27_10347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690395","file1":"1338690387","file0":"1338690381","file4":"1338690400","file5":"1338690401","file3":"1338690398"},"map_files_photo_id_array":[{"photo_id":"1338690401","filename":"file5"},{"photo_id":"1338690395","filename":"file2"},{"photo_id":"1338690400","filename":"file4"},{"photo_id":"1338690387","filename":"file1"},{"photo_id":"1338690381","filename":"file0"},{"photo_id":"1338690398","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690401":["hashtag1","hashtag2"]},{"1338690400":["hashtag1","hashtag2"]},{"1338690381":["hashtag1","hashtag2"]},{"1338690387":["hashtag1","hashtag2"]},{"1338690398":["hashtag1","hashtag2"]},{"1338690395":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690401, 1338690400, 1338690381, 1338690387, 1338690398, 1338690395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.791688442230225 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:40:33.310620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/04/image_20022025_16_04_17_10330.jpg', '/home/pi/Desktop/images/20022025/16/04/image_20022025_16_04_26_9326.jpg', '/home/pi/Desktop/images/20022025/16/05/image_20022025_16_05_26_10337.jpg', '/home/pi/Desktop/images/20022025/16/05/image_20022025_16_05_37_10422.jpg', '/home/pi/Desktop/images/20022025/16/05/image_20022025_16_05_46_9321.jpg', '/home/pi/Desktop/images/20022025/16/05/image_20022025_16_05_57_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/04/image_20022025_16_04_17_10330.jpg
/home/pi/Desktop/images/20022025/16/04/image_20022025_16_04_26_9326.jpg
/home/pi/Desktop/images/20022025/16/05/image_20022025_16_05_26_10337.jpg
/home/pi/Desktop/images/20022025/16/05/image_20022025_16_05_37_10422.jpg
/home/pi/Desktop/images/20022025/16/05/image_20022025_16_05_46_9321.jpg
/home/pi/Desktop/images/20022025/16/05/image_20022025_16_05_57_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690617","1338690626","1338690608","1338690628","1338690619","1338690633"],"photo_ids_order":["1338690608","1338690617","1338690619","1338690626","1338690628","1338690633"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3c754c24ab91f83893c63f10ff7f546d.jpg","text":"TemporaryFile(/tmp/multipartBody849365524745803085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091293871,"filename":"image_20022025_16_04_26_9326.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a162bd531737ee6c103dced6e40a23f3.jpg","text":"TemporaryFile(/tmp/multipartBody7566910289006173435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091293871,"filename":"image_20022025_16_05_37_10422.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/edcc4ac570bc8c244634284b789f6c3e.jpg","text":"TemporaryFile(/tmp/multipartBody4305119633383408629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091293871,"filename":"image_20022025_16_04_17_10330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/658d159f97fa4887c57d7fec998de4df.jpg","text":"TemporaryFile(/tmp/multipartBody3538867170945069649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091293871,"filename":"image_20022025_16_05_46_9321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9094758c164b991c494ffff2798f2c8.jpg","text":"TemporaryFile(/tmp/multipartBody938787297564540920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091293871,"filename":"image_20022025_16_05_26_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/59f5677bc962ba58bb0b435549f4b1b8.jpg","text":"TemporaryFile(/tmp/multipartBody9010927735266862190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091293871,"filename":"image_20022025_16_05_57_10458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690619","file1":"1338690617","file0":"1338690608","file4":"1338690628","file5":"1338690633","file3":"1338690626"},"map_files_photo_id_array":[{"photo_id":"1338690633","filename":"file5"},{"photo_id":"1338690619","filename":"file2"},{"photo_id":"1338690628","filename":"file4"},{"photo_id":"1338690617","filename":"file1"},{"photo_id":"1338690608","filename":"file0"},{"photo_id":"1338690626","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690617":["hashtag1","hashtag2"]},{"1338690626":["hashtag1","hashtag2"]},{"1338690608":["hashtag1","hashtag2"]},{"1338690628":["hashtag1","hashtag2"]},{"1338690619":["hashtag1","hashtag2"]},{"1338690633":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690617, 1338690626, 1338690608, 1338690628, 1338690619, 1338690633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.39640998840332 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:41:32.496245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/05/image_20022025_16_06_07_10331.jpg', '/home/pi/Desktop/images/20022025/16/06/image_20022025_16_06_27_10463.jpg', '/home/pi/Desktop/images/20022025/16/06/image_20022025_16_06_37_10345.jpg', '/home/pi/Desktop/images/20022025/16/06/image_20022025_16_06_57_10457.jpg', '/home/pi/Desktop/images/20022025/16/06/image_20022025_16_07_06_9331.jpg', '/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_17_10463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/05/image_20022025_16_06_07_10331.jpg
/home/pi/Desktop/images/20022025/16/06/image_20022025_16_06_27_10463.jpg
/home/pi/Desktop/images/20022025/16/06/image_20022025_16_06_37_10345.jpg
/home/pi/Desktop/images/20022025/16/06/image_20022025_16_06_57_10457.jpg
/home/pi/Desktop/images/20022025/16/06/image_20022025_16_07_06_9331.jpg
/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_17_10463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690740","1338690721","1338690717","1338690732","1338690711","1338690714"],"photo_ids_order":["1338690711","1338690714","1338690717","1338690721","1338690732","1338690740"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d5ca2525bab8dc1b69eaf426e481daad.jpg","text":"TemporaryFile(/tmp/multipartBody7973107609075963929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091353077,"filename":"image_20022025_16_07_17_10463.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/048123d9144ea8ec519e6a6345e51f86.jpg","text":"TemporaryFile(/tmp/multipartBody7321998437087546955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091353077,"filename":"image_20022025_16_06_57_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/aa78112986cb996c7eaef2a5585b83f8.jpg","text":"TemporaryFile(/tmp/multipartBody3239851345915392595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091353077,"filename":"image_20022025_16_06_37_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/acab22edf6642363fcd93f4761587788.jpg","text":"TemporaryFile(/tmp/multipartBody9148896493604075082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091353077,"filename":"image_20022025_16_07_06_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/57305903b0bc7849e81316212c84296f.jpg","text":"TemporaryFile(/tmp/multipartBody4422043609585095986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091353077,"filename":"image_20022025_16_06_07_10331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/52db97ccae9a4faaf4fc52bf3573765d.jpg","text":"TemporaryFile(/tmp/multipartBody1366984356795451935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091353077,"filename":"image_20022025_16_06_27_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690717","file1":"1338690714","file0":"1338690711","file4":"1338690732","file5":"1338690740","file3":"1338690721"},"map_files_photo_id_array":[{"photo_id":"1338690740","filename":"file5"},{"photo_id":"1338690717","filename":"file2"},{"photo_id":"1338690732","filename":"file4"},{"photo_id":"1338690714","filename":"file1"},{"photo_id":"1338690711","filename":"file0"},{"photo_id":"1338690721","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690740":["hashtag1","hashtag2"]},{"1338690721":["hashtag1","hashtag2"]},{"1338690717":["hashtag1","hashtag2"]},{"1338690732":["hashtag1","hashtag2"]},{"1338690711":["hashtag1","hashtag2"]},{"1338690714":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690740, 1338690721, 1338690717, 1338690732, 1338690711, 1338690714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.216317892074585 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:42:32.740645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_27_10338.jpg', '/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_36_9328.jpg', '/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_47_10445.jpg', '/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_56_9369.jpg', '/home/pi/Desktop/images/20022025/16/07/image_20022025_16_08_06_10331.jpg', '/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_17_10458.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_27_10338.jpg
/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_36_9328.jpg
/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_47_10445.jpg
/home/pi/Desktop/images/20022025/16/07/image_20022025_16_07_56_9369.jpg
/home/pi/Desktop/images/20022025/16/07/image_20022025_16_08_06_10331.jpg
/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_17_10458.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690790","1338690778","1338690771","1338690774","1338690782","1338690785"],"photo_ids_order":["1338690771","1338690774","1338690778","1338690782","1338690785","1338690790"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/31dc33800aa60c742d64ad517835dbdd.jpg","text":"TemporaryFile(/tmp/multipartBody6125696715835308742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091413300,"filename":"image_20022025_16_08_17_10458.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a88d599f8b1a7f3cb8c9010aeb2a8790.jpg","text":"TemporaryFile(/tmp/multipartBody6962480480660122004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091413300,"filename":"image_20022025_16_07_47_10445.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9f352844cea0d5afa53f2c670f053cd7.jpg","text":"TemporaryFile(/tmp/multipartBody1754748310013663752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091413300,"filename":"image_20022025_16_07_27_10338.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/715ea27c663db8f0de49bcfa336a9214.jpg","text":"TemporaryFile(/tmp/multipartBody8854836647834049807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091413300,"filename":"image_20022025_16_07_36_9328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c667660c23759e4d8ab5b9c4c55f820e.jpg","text":"TemporaryFile(/tmp/multipartBody2340858907517313694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091413300,"filename":"image_20022025_16_07_56_9369.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d9eb8ec95e668d680f879604f262faa1.jpg","text":"TemporaryFile(/tmp/multipartBody9040397771087687057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091413300,"filename":"image_20022025_16_08_06_10331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690778","file1":"1338690774","file0":"1338690771","file4":"1338690785","file5":"1338690790","file3":"1338690782"},"map_files_photo_id_array":[{"photo_id":"1338690790","filename":"file5"},{"photo_id":"1338690778","filename":"file2"},{"photo_id":"1338690785","filename":"file4"},{"photo_id":"1338690774","filename":"file1"},{"photo_id":"1338690771","filename":"file0"},{"photo_id":"1338690782","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690790":["hashtag1","hashtag2"]},{"1338690778":["hashtag1","hashtag2"]},{"1338690771":["hashtag1","hashtag2"]},{"1338690774":["hashtag1","hashtag2"]},{"1338690782":["hashtag1","hashtag2"]},{"1338690785":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690790, 1338690778, 1338690771, 1338690774, 1338690782, 1338690785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.897356033325195 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:43:32.917377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_26_9343.jpg', '/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_37_10457.jpg', '/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_47_10332.jpg', '/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_56_9345.jpg', '/home/pi/Desktop/images/20022025/16/08/image_20022025_16_09_07_10341.jpg', '/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_17_10325.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_26_9343.jpg
/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_37_10457.jpg
/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_47_10332.jpg
/home/pi/Desktop/images/20022025/16/08/image_20022025_16_08_56_9345.jpg
/home/pi/Desktop/images/20022025/16/08/image_20022025_16_09_07_10341.jpg
/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_17_10325.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690859","1338690844","1338690870","1338690837","1338690857","1338690872"],"photo_ids_order":["1338690837","1338690844","1338690857","1338690859","1338690870","1338690872"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/35073574f49fe1552cf1fe275542decf.jpg","text":"TemporaryFile(/tmp/multipartBody7440470246032466896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091473555,"filename":"image_20022025_16_08_56_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/960247eb5c8bf510dfad011145ebeaa6.jpg","text":"TemporaryFile(/tmp/multipartBody3802046880960803683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091473555,"filename":"image_20022025_16_08_37_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/789c34a715f5febdb81de16a537aa616.jpg","text":"TemporaryFile(/tmp/multipartBody4561923559429654870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091473555,"filename":"image_20022025_16_09_07_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f56a74bf69c579afd66688c0a34e68c4.jpg","text":"TemporaryFile(/tmp/multipartBody6098157068508507873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091473555,"filename":"image_20022025_16_08_26_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c6af8f0e00c6f9c258bb16fb3221e095.jpg","text":"TemporaryFile(/tmp/multipartBody2312676693468380947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091473555,"filename":"image_20022025_16_08_47_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/04da6c58b357ab7778e44102740e53d2.jpg","text":"TemporaryFile(/tmp/multipartBody8489723547308346028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091473555,"filename":"image_20022025_16_09_17_10325.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690857","file1":"1338690844","file0":"1338690837","file4":"1338690870","file5":"1338690872","file3":"1338690859"},"map_files_photo_id_array":[{"photo_id":"1338690872","filename":"file5"},{"photo_id":"1338690857","filename":"file2"},{"photo_id":"1338690870","filename":"file4"},{"photo_id":"1338690844","filename":"file1"},{"photo_id":"1338690837","filename":"file0"},{"photo_id":"1338690859","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690859":["hashtag1","hashtag2"]},{"1338690844":["hashtag1","hashtag2"]},{"1338690870":["hashtag1","hashtag2"]},{"1338690837":["hashtag1","hashtag2"]},{"1338690857":["hashtag1","hashtag2"]},{"1338690872":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690859, 1338690844, 1338690870, 1338690837, 1338690857, 1338690872)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14046001434326 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:44:33.079540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_26_9376.jpg', '/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_37_10431.jpg', '/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_46_9360.jpg', '/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_57_10388.jpg', '/home/pi/Desktop/images/20022025/16/09/image_20022025_16_10_07_10397.jpg', '/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_16_9318.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_26_9376.jpg
/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_37_10431.jpg
/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_46_9360.jpg
/home/pi/Desktop/images/20022025/16/09/image_20022025_16_09_57_10388.jpg
/home/pi/Desktop/images/20022025/16/09/image_20022025_16_10_07_10397.jpg
/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_16_9318.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690917","1338690922","1338690925","1338690927","1338690909","1338690930"],"photo_ids_order":["1338690909","1338690917","1338690922","1338690925","1338690927","1338690930"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6701f30ae155de1650c8d61c46c35eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8680323673284794100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091533645,"filename":"image_20022025_16_09_37_10431.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd3a220fb1cbebcb873d4dd2e4faefe1.jpg","text":"TemporaryFile(/tmp/multipartBody3099820517707000532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091533645,"filename":"image_20022025_16_09_46_9360.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/905b4c8f07699ee5fc3a87f0d2c40ef0.jpg","text":"TemporaryFile(/tmp/multipartBody5005986656717013194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091533645,"filename":"image_20022025_16_09_57_10388.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/69806e19cb83de0a04e86371df628cd4.jpg","text":"TemporaryFile(/tmp/multipartBody4498365085034841132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091533645,"filename":"image_20022025_16_10_07_10397.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/073df69e90d08c9cbb56177214927cc4.jpg","text":"TemporaryFile(/tmp/multipartBody6905704788075887600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091533645,"filename":"image_20022025_16_09_26_9376.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/48e919305a3237b448b235cc223997c5.jpg","text":"TemporaryFile(/tmp/multipartBody1918515989810814638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091533645,"filename":"image_20022025_16_10_16_9318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690922","file1":"1338690917","file0":"1338690909","file4":"1338690927","file5":"1338690930","file3":"1338690925"},"map_files_photo_id_array":[{"photo_id":"1338690930","filename":"file5"},{"photo_id":"1338690922","filename":"file2"},{"photo_id":"1338690927","filename":"file4"},{"photo_id":"1338690917","filename":"file1"},{"photo_id":"1338690909","filename":"file0"},{"photo_id":"1338690925","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690917":["hashtag1","hashtag2"]},{"1338690922":["hashtag1","hashtag2"]},{"1338690925":["hashtag1","hashtag2"]},{"1338690927":["hashtag1","hashtag2"]},{"1338690909":["hashtag1","hashtag2"]},{"1338690930":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690917, 1338690922, 1338690925, 1338690927, 1338690909, 1338690930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8488974571228 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:45:32.243798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_27_10473.jpg', '/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_36_9429.jpg', '/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_47_10440.jpg', '/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_57_10348.jpg', '/home/pi/Desktop/images/20022025/16/10/image_20022025_16_11_06_9483.jpg', '/home/pi/Desktop/images/20022025/16/11/image_20022025_16_11_17_10419.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_27_10473.jpg
/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_36_9429.jpg
/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_47_10440.jpg
/home/pi/Desktop/images/20022025/16/10/image_20022025_16_10_57_10348.jpg
/home/pi/Desktop/images/20022025/16/10/image_20022025_16_11_06_9483.jpg
/home/pi/Desktop/images/20022025/16/11/image_20022025_16_11_17_10419.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338690970","1338691006","1338690984","1338691055","1338690986","1338690977"],"photo_ids_order":["1338690970","1338690977","1338690984","1338690986","1338691006","1338691055"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/79f40c9752ac033aaef15f0beb3de5c9.jpg","text":"TemporaryFile(/tmp/multipartBody2219969772368714656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091592800,"filename":"image_20022025_16_10_27_10473.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/80e986cfc5904a902531b5afb8b6640d.jpg","text":"TemporaryFile(/tmp/multipartBody4233624204160028320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091592800,"filename":"image_20022025_16_11_06_9483.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b2961f26265767ccdd1e2f4f0285ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1476164061685463613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091592800,"filename":"image_20022025_16_10_47_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e34e703c19ca2861ee850757e807ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody7310388613730016894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091592800,"filename":"image_20022025_16_11_17_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/335dedef8425fd5e4651cb005714965e.jpg","text":"TemporaryFile(/tmp/multipartBody7695255813008929840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091592800,"filename":"image_20022025_16_10_57_10348.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f86df8853cafcddd0e7ade850a4ae3a1.jpg","text":"TemporaryFile(/tmp/multipartBody546102005671589902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091592800,"filename":"image_20022025_16_10_36_9429.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338690984","file1":"1338690977","file0":"1338690970","file4":"1338691006","file5":"1338691055","file3":"1338690986"},"map_files_photo_id_array":[{"photo_id":"1338691055","filename":"file5"},{"photo_id":"1338690984","filename":"file2"},{"photo_id":"1338691006","filename":"file4"},{"photo_id":"1338690977","filename":"file1"},{"photo_id":"1338690970","filename":"file0"},{"photo_id":"1338690986","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338690970":["hashtag1","hashtag2"]},{"1338691006":["hashtag1","hashtag2"]},{"1338690984":["hashtag1","hashtag2"]},{"1338691055":["hashtag1","hashtag2"]},{"1338690986":["hashtag1","hashtag2"]},{"1338690977":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338690970, 1338691006, 1338690984, 1338691055, 1338690986, 1338690977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.040979862213135 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:46:32.600925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/11/image_20022025_16_11_26_9331.jpg', '/home/pi/Desktop/images/20022025/16/11/image_20022025_16_11_47_10334.jpg', '/home/pi/Desktop/images/20022025/16/11/image_20022025_16_11_56_9343.jpg', '/home/pi/Desktop/images/20022025/16/11/image_20022025_16_12_07_10432.jpg', '/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_16_9387.jpg', '/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_27_10443.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/11/image_20022025_16_11_26_9331.jpg
/home/pi/Desktop/images/20022025/16/11/image_20022025_16_11_47_10334.jpg
/home/pi/Desktop/images/20022025/16/11/image_20022025_16_11_56_9343.jpg
/home/pi/Desktop/images/20022025/16/11/image_20022025_16_12_07_10432.jpg
/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_16_9387.jpg
/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_27_10443.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338691078","1338691071","1338691074","1338691091","1338691067","1338691096"],"photo_ids_order":["1338691067","1338691071","1338691074","1338691078","1338691091","1338691096"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f1f3d34d78c0a89d4676a455713f152e.jpg","text":"TemporaryFile(/tmp/multipartBody4256830906811802437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091653195,"filename":"image_20022025_16_12_07_10432.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dbf8b008bffa77e6a39152046b2fedbc.jpg","text":"TemporaryFile(/tmp/multipartBody2903793094639781720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091653195,"filename":"image_20022025_16_11_47_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/36d0f58deefac893c3bc769f70842eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1391075786955432842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091653195,"filename":"image_20022025_16_11_56_9343.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0f491feb25856b51e0fe46420d239bb4.jpg","text":"TemporaryFile(/tmp/multipartBody247333709917300169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091653195,"filename":"image_20022025_16_12_16_9387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/942b77f73744034e6347fad8b80984da.jpg","text":"TemporaryFile(/tmp/multipartBody8349359664047987306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091653195,"filename":"image_20022025_16_11_26_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fbab93801f245cfdc8af01287bcdce9f.jpg","text":"TemporaryFile(/tmp/multipartBody8304246552951171011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091653195,"filename":"image_20022025_16_12_27_10443.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338691074","file1":"1338691071","file0":"1338691067","file4":"1338691091","file5":"1338691096","file3":"1338691078"},"map_files_photo_id_array":[{"photo_id":"1338691096","filename":"file5"},{"photo_id":"1338691074","filename":"file2"},{"photo_id":"1338691091","filename":"file4"},{"photo_id":"1338691071","filename":"file1"},{"photo_id":"1338691067","filename":"file0"},{"photo_id":"1338691078","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338691078":["hashtag1","hashtag2"]},{"1338691071":["hashtag1","hashtag2"]},{"1338691074":["hashtag1","hashtag2"]},{"1338691091":["hashtag1","hashtag2"]},{"1338691067":["hashtag1","hashtag2"]},{"1338691096":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338691078, 1338691071, 1338691074, 1338691091, 1338691067, 1338691096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09496331214905 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:47:32.677116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_37_10328.jpg', '/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_46_9347.jpg', '/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_57_10417.jpg', '/home/pi/Desktop/images/20022025/16/12/image_20022025_16_13_07_10321.jpg', '/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_16_9322.jpg', '/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_27_10337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_37_10328.jpg
/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_46_9347.jpg
/home/pi/Desktop/images/20022025/16/12/image_20022025_16_12_57_10417.jpg
/home/pi/Desktop/images/20022025/16/12/image_20022025_16_13_07_10321.jpg
/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_16_9322.jpg
/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_27_10337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338691138","1338691140","1338691136","1338691139","1338691130","1338691133"],"photo_ids_order":["1338691130","1338691133","1338691136","1338691138","1338691139","1338691140"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0da6a245e32d6a383fe042927fb4fbe5.jpg","text":"TemporaryFile(/tmp/multipartBody2529601499782482778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091713240,"filename":"image_20022025_16_13_07_10321.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/12997958b819f8167d130c31371c2193.jpg","text":"TemporaryFile(/tmp/multipartBody4948466932105642013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091713240,"filename":"image_20022025_16_13_27_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65c7c36757a23f3534c9a5de56f26dd9.jpg","text":"TemporaryFile(/tmp/multipartBody1262786345286277837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091713240,"filename":"image_20022025_16_12_57_10417.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/60635a90501ea2cb20ee80946b6fe2da.jpg","text":"TemporaryFile(/tmp/multipartBody816189732812194903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091713240,"filename":"image_20022025_16_13_16_9322.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/b9bc8c8828eced0e7a5a927ecb82abe8.jpg","text":"TemporaryFile(/tmp/multipartBody579958615444812082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091713240,"filename":"image_20022025_16_12_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/45a6c3adab578f688803979c19acba64.jpg","text":"TemporaryFile(/tmp/multipartBody4954622365784132309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091713240,"filename":"image_20022025_16_12_46_9347.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338691136","file1":"1338691133","file0":"1338691130","file4":"1338691139","file5":"1338691140","file3":"1338691138"},"map_files_photo_id_array":[{"photo_id":"1338691140","filename":"file5"},{"photo_id":"1338691136","filename":"file2"},{"photo_id":"1338691139","filename":"file4"},{"photo_id":"1338691133","filename":"file1"},{"photo_id":"1338691130","filename":"file0"},{"photo_id":"1338691138","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338691138":["hashtag1","hashtag2"]},{"1338691140":["hashtag1","hashtag2"]},{"1338691136":["hashtag1","hashtag2"]},{"1338691139":["hashtag1","hashtag2"]},{"1338691130":["hashtag1","hashtag2"]},{"1338691133":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338691138, 1338691140, 1338691136, 1338691139, 1338691130, 1338691133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59263753890991 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:48:33.040635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_37_10328.jpg', '/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_46_9388.jpg', '/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_57_10448.jpg', '/home/pi/Desktop/images/20022025/16/13/image_20022025_16_14_06_9425.jpg', '/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_17_10387.jpg', '/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_27_10373.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_37_10328.jpg
/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_46_9388.jpg
/home/pi/Desktop/images/20022025/16/13/image_20022025_16_13_57_10448.jpg
/home/pi/Desktop/images/20022025/16/13/image_20022025_16_14_06_9425.jpg
/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_17_10387.jpg
/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_27_10373.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338691174","1338691168","1338691162","1338691170","1338691172","1338691166"],"photo_ids_order":["1338691162","1338691166","1338691168","1338691170","1338691172","1338691174"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/34c0c22b2fece6a3ae38ba6d42bc14fb.jpg","text":"TemporaryFile(/tmp/multipartBody7488416867793949371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091773615,"filename":"image_20022025_16_14_27_10373.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ab37c66067350e0d6d1089dbb38c0326.jpg","text":"TemporaryFile(/tmp/multipartBody7007554818783189949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091773615,"filename":"image_20022025_16_13_57_10448.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fcecfc171a657b31ca4c7ff2e60846eb.jpg","text":"TemporaryFile(/tmp/multipartBody185494986654929386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091773615,"filename":"image_20022025_16_13_37_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/050c7993f7172936729b0f10c0ec1126.jpg","text":"TemporaryFile(/tmp/multipartBody6925368998876605160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091773615,"filename":"image_20022025_16_14_06_9425.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f3d22edb8f3f47563a64051a9168f73c.jpg","text":"TemporaryFile(/tmp/multipartBody5135975926291429682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091773615,"filename":"image_20022025_16_14_17_10387.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/709d65afe2af783f9daedeb2e79f22f7.jpg","text":"TemporaryFile(/tmp/multipartBody6553419119455386580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091773615,"filename":"image_20022025_16_13_46_9388.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338691168","file1":"1338691166","file0":"1338691162","file4":"1338691172","file5":"1338691174","file3":"1338691170"},"map_files_photo_id_array":[{"photo_id":"1338691174","filename":"file5"},{"photo_id":"1338691168","filename":"file2"},{"photo_id":"1338691172","filename":"file4"},{"photo_id":"1338691166","filename":"file1"},{"photo_id":"1338691162","filename":"file0"},{"photo_id":"1338691170","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338691174":["hashtag1","hashtag2"]},{"1338691168":["hashtag1","hashtag2"]},{"1338691162":["hashtag1","hashtag2"]},{"1338691170":["hashtag1","hashtag2"]},{"1338691172":["hashtag1","hashtag2"]},{"1338691166":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338691174, 1338691168, 1338691162, 1338691170, 1338691172, 1338691166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12758541107178 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:49:33.175033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_36_9324.jpg', '/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_47_10422.jpg', '/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_56_9374.jpg', '/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_17_10389.jpg', '/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_37_10342.jpg', '/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_47_10328.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_36_9324.jpg
/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_47_10422.jpg
/home/pi/Desktop/images/20022025/16/14/image_20022025_16_14_56_9374.jpg
/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_17_10389.jpg
/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_37_10342.jpg
/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_47_10328.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338692047","1338692007","1338691230","1338691626","1338691826","1338691418"],"photo_ids_order":["1338691230","1338691418","1338691626","1338691826","1338692007","1338692047"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/37082405d1113d28debbecc5207bed0a.jpg","text":"TemporaryFile(/tmp/multipartBody4322012794942253638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091833731,"filename":"image_20022025_16_15_47_10328.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8a0af43e280eb1fb0bb81f2eeb92785a.jpg","text":"TemporaryFile(/tmp/multipartBody1368303296130987775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091833731,"filename":"image_20022025_16_15_37_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/92fc97eed61368c8cdea6e62e3f4e956.jpg","text":"TemporaryFile(/tmp/multipartBody7051727059893836537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091833731,"filename":"image_20022025_16_14_36_9324.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a9a4cc3ba792a2580522e732d9313975.jpg","text":"TemporaryFile(/tmp/multipartBody4615891348808631405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091833731,"filename":"image_20022025_16_14_56_9374.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f82c3a848926fb297c097538cd921880.jpg","text":"TemporaryFile(/tmp/multipartBody6626246438509653211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091833731,"filename":"image_20022025_16_15_17_10389.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fedc9d49aef17d2ccb6cecab54e1d194.jpg","text":"TemporaryFile(/tmp/multipartBody4361972134347866765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091833731,"filename":"image_20022025_16_14_47_10422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338691626","file1":"1338691418","file0":"1338691230","file4":"1338692007","file5":"1338692047","file3":"1338691826"},"map_files_photo_id_array":[{"photo_id":"1338692047","filename":"file5"},{"photo_id":"1338691626","filename":"file2"},{"photo_id":"1338692007","filename":"file4"},{"photo_id":"1338691418","filename":"file1"},{"photo_id":"1338691230","filename":"file0"},{"photo_id":"1338691826","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338692047":["hashtag1","hashtag2"]},{"1338692007":["hashtag1","hashtag2"]},{"1338691230":["hashtag1","hashtag2"]},{"1338691626":["hashtag1","hashtag2"]},{"1338691826":["hashtag1","hashtag2"]},{"1338691418":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338692047, 1338692007, 1338691230, 1338691626, 1338691826, 1338691418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52447724342346 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:50:32.235093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_56_9331.jpg', '/home/pi/Desktop/images/20022025/16/15/image_20022025_16_16_07_10367.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_16_9387.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_26_10345.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_37_10334.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_46_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_56_9331.jpg
/home/pi/Desktop/images/20022025/16/15/image_20022025_16_16_07_10367.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_16_9387.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_26_10345.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_37_10334.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_46_9435.jpg
after data_to_send, before sending request
after request
<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
uploaded 0 photos
time to upload: 0.4730350971221924 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2
2025-02-20 23:50:42.244402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_56_9331.jpg', '/home/pi/Desktop/images/20022025/16/15/image_20022025_16_16_07_10367.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_16_9387.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_26_10345.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_37_10334.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_46_9435.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/15/image_20022025_16_15_56_9331.jpg
/home/pi/Desktop/images/20022025/16/15/image_20022025_16_16_07_10367.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_16_9387.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_26_10345.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_37_10334.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_46_9435.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":["1338692068","1338692106","1338692171","1338692063","1338692219","1338692074"],"photo_ids_order":["1338692063","1338692068","1338692074","1338692106","1338692171","1338692219"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/30bbde09fe71f6bd6efcce23ffc151d8.jpg","text":"TemporaryFile(/tmp/multipartBody8882471019315940588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091902718,"filename":"image_20022025_16_16_07_10367.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/6e44b4b95228d9640f2e8dd6d44ac53b.jpg","text":"TemporaryFile(/tmp/multipartBody6283851161213409089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091902718,"filename":"image_20022025_16_16_26_10345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8ed3e97968a9326a59e75497abd43035.jpg","text":"TemporaryFile(/tmp/multipartBody5544052770270178624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091902718,"filename":"image_20022025_16_16_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/7564ed11781cf29b2dd284bddbcbdc6c.jpg","text":"TemporaryFile(/tmp/multipartBody5204013970873254682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091902718,"filename":"image_20022025_16_15_56_9331.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/185ba8cbd0807416067c11f530f9e6bd.jpg","text":"TemporaryFile(/tmp/multipartBody3505592878467624861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091902718,"filename":"image_20022025_16_16_46_9435.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e6fd38aba52376f1f04207f3d2828f92.jpg","text":"TemporaryFile(/tmp/multipartBody7409173296651590000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091902718,"filename":"image_20022025_16_16_16_9387.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338692074","file1":"1338692068","file0":"1338692063","file4":"1338692171","file5":"1338692219","file3":"1338692106"},"map_files_photo_id_array":[{"photo_id":"1338692219","filename":"file5"},{"photo_id":"1338692074","filename":"file2"},{"photo_id":"1338692171","filename":"file4"},{"photo_id":"1338692068","filename":"file1"},{"photo_id":"1338692063","filename":"file0"},{"photo_id":"1338692106","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338692068":["hashtag1","hashtag2"]},{"1338692106":["hashtag1","hashtag2"]},{"1338692171":["hashtag1","hashtag2"]},{"1338692063":["hashtag1","hashtag2"]},{"1338692219":["hashtag1","hashtag2"]},{"1338692074":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338692068, 1338692106, 1338692171, 1338692063, 1338692219, 1338692074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.671590089797974 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:51:32.592822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_57_10401.jpg', '/home/pi/Desktop/images/20022025/16/16/image_20022025_16_17_07_10342.jpg', '/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_16_9402.jpg', '/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_27_10457.jpg', '/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_36_9333.jpg', '/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_46_10390.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_16_57_10401.jpg
/home/pi/Desktop/images/20022025/16/16/image_20022025_16_17_07_10342.jpg
/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_16_9402.jpg
/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_27_10457.jpg
/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_36_9333.jpg
/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_46_10390.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338692314","1338692385","1338692316","1338692393","1338692450","1338692398"],"photo_ids_order":["1338692314","1338692316","1338692385","1338692393","1338692398","1338692450"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/dce1445ef6148525008407fea3d03452.jpg","text":"TemporaryFile(/tmp/multipartBody6963067966155627272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091953159,"filename":"image_20022025_16_16_57_10401.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8bcab1739a18ac883e31a383560f17d6.jpg","text":"TemporaryFile(/tmp/multipartBody5312384523552720624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091953159,"filename":"image_20022025_16_17_16_9402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a4113e102593375499718897885cda8d.jpg","text":"TemporaryFile(/tmp/multipartBody3214291174528218626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091953159,"filename":"image_20022025_16_17_07_10342.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3109e61e7a07ea9ecb686b33cc19e124.jpg","text":"TemporaryFile(/tmp/multipartBody7398789427546226022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091953159,"filename":"image_20022025_16_17_27_10457.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0d2f6f18d2452eba3cab47b6e9c278c7.jpg","text":"TemporaryFile(/tmp/multipartBody3609178327733037411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091953159,"filename":"image_20022025_16_17_46_10390.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/eb22f983669c72968725d6eed93c0926.jpg","text":"TemporaryFile(/tmp/multipartBody4161250558102017293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740091953159,"filename":"image_20022025_16_17_36_9333.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338692385","file1":"1338692316","file0":"1338692314","file4":"1338692398","file5":"1338692450","file3":"1338692393"},"map_files_photo_id_array":[{"photo_id":"1338692450","filename":"file5"},{"photo_id":"1338692385","filename":"file2"},{"photo_id":"1338692398","filename":"file4"},{"photo_id":"1338692316","filename":"file1"},{"photo_id":"1338692314","filename":"file0"},{"photo_id":"1338692393","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338692314":["hashtag1","hashtag2"]},{"1338692385":["hashtag1","hashtag2"]},{"1338692316":["hashtag1","hashtag2"]},{"1338692393":["hashtag1","hashtag2"]},{"1338692450":["hashtag1","hashtag2"]},{"1338692398":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338692314, 1338692385, 1338692316, 1338692393, 1338692450, 1338692398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.23389196395874 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:52:32.634162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_57_10419.jpg', '/home/pi/Desktop/images/20022025/16/17/image_20022025_16_18_06_9327.jpg', '/home/pi/Desktop/images/20022025/16/18/image_20022025_16_18_26_9345.jpg', '/home/pi/Desktop/images/20022025/16/18/image_20022025_16_18_36_10368.jpg', '/home/pi/Desktop/images/20022025/16/18/image_20022025_16_18_47_10440.jpg', '/home/pi/Desktop/images/20022025/16/18/image_20022025_16_18_56_9341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/17/image_20022025_16_17_57_10419.jpg
/home/pi/Desktop/images/20022025/16/17/image_20022025_16_18_06_9327.jpg
/home/pi/Desktop/images/20022025/16/18/image_20022025_16_18_26_9345.jpg
/home/pi/Desktop/images/20022025/16/18/image_20022025_16_18_36_10368.jpg
/home/pi/Desktop/images/20022025/16/18/image_20022025_16_18_47_10440.jpg
/home/pi/Desktop/images/20022025/16/18/image_20022025_16_18_56_9341.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338692481","1338692478","1338692469","1338692471","1338692473","1338692476"],"photo_ids_order":["1338692469","1338692471","1338692473","1338692476","1338692478","1338692481"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d58e4c55e84235da926552bc9f956df3.jpg","text":"TemporaryFile(/tmp/multipartBody9117012271091710624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092013220,"filename":"image_20022025_16_18_56_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/cc82ceb784d941a125f2e6e4eab06992.jpg","text":"TemporaryFile(/tmp/multipartBody4746078838817960259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092013220,"filename":"image_20022025_16_18_47_10440.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/fd791f5dea1dccb7956bc3e21f6516f7.jpg","text":"TemporaryFile(/tmp/multipartBody5253566297160270738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092013220,"filename":"image_20022025_16_17_57_10419.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f191d444d8973dcb4609d79f313551cf.jpg","text":"TemporaryFile(/tmp/multipartBody4964386852475994719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092013220,"filename":"image_20022025_16_18_06_9327.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e09826e7543c88c0102cfb4d6f3dc9bd.jpg","text":"TemporaryFile(/tmp/multipartBody4187812774903017329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092013220,"filename":"image_20022025_16_18_26_9345.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/0fb7c09eec059bdaec08eb29a6e24bff.jpg","text":"TemporaryFile(/tmp/multipartBody3469552666818715628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092013220,"filename":"image_20022025_16_18_36_10368.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338692473","file1":"1338692471","file0":"1338692469","file4":"1338692478","file5":"1338692481","file3":"1338692476"},"map_files_photo_id_array":[{"photo_id":"1338692481","filename":"file5"},{"photo_id":"1338692473","filename":"file2"},{"photo_id":"1338692478","filename":"file4"},{"photo_id":"1338692471","filename":"file1"},{"photo_id":"1338692469","filename":"file0"},{"photo_id":"1338692476","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338692481":["hashtag1","hashtag2"]},{"1338692478":["hashtag1","hashtag2"]},{"1338692469":["hashtag1","hashtag2"]},{"1338692471":["hashtag1","hashtag2"]},{"1338692473":["hashtag1","hashtag2"]},{"1338692476":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338692481, 1338692478, 1338692469, 1338692471, 1338692473, 1338692476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86715650558472 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:53:32.895364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/18/image_20022025_16_19_07_10371.jpg', '/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_17_10349.jpg', '/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_26_9330.jpg', '/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_37_10396.jpg', '/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_47_10325.jpg', '/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_56_9331.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/18/image_20022025_16_19_07_10371.jpg
/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_17_10349.jpg
/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_26_9330.jpg
/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_37_10396.jpg
/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_47_10325.jpg
/home/pi/Desktop/images/20022025/16/19/image_20022025_16_19_56_9331.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338692515","1338692503","1338692512","1338692506","1338692509","1338692517"],"photo_ids_order":["1338692503","1338692506","1338692509","1338692512","1338692515","1338692517"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/65de6dcd7aff25a0bbbcf59310c118ef.jpg","text":"TemporaryFile(/tmp/multipartBody6333182195517505981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092073464,"filename":"image_20022025_16_19_47_10325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/9d69be8788332e5405493a4f80e46893.jpg","text":"TemporaryFile(/tmp/multipartBody7958017689773636607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092073464,"filename":"image_20022025_16_19_07_10371.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/a65e23846c9090bb1bd8efe8120aa060.jpg","text":"TemporaryFile(/tmp/multipartBody3497767382514600679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092073464,"filename":"image_20022025_16_19_37_10396.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/896b8deb47085b8de87b0d85093f96ce.jpg","text":"TemporaryFile(/tmp/multipartBody9122475625964353020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092073464,"filename":"image_20022025_16_19_17_10349.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/933c35bacb01a32c26d12283098ed487.jpg","text":"TemporaryFile(/tmp/multipartBody1066190833268091952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092073464,"filename":"image_20022025_16_19_26_9330.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/895b2abb9d2b9f3cfdc735403ddc7e00.jpg","text":"TemporaryFile(/tmp/multipartBody6036120611139500422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092073464,"filename":"image_20022025_16_19_56_9331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338692509","file1":"1338692506","file0":"1338692503","file4":"1338692515","file5":"1338692517","file3":"1338692512"},"map_files_photo_id_array":[{"photo_id":"1338692517","filename":"file5"},{"photo_id":"1338692509","filename":"file2"},{"photo_id":"1338692515","filename":"file4"},{"photo_id":"1338692506","filename":"file1"},{"photo_id":"1338692503","filename":"file0"},{"photo_id":"1338692512","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338692515":["hashtag1","hashtag2"]},{"1338692503":["hashtag1","hashtag2"]},{"1338692512":["hashtag1","hashtag2"]},{"1338692506":["hashtag1","hashtag2"]},{"1338692509":["hashtag1","hashtag2"]},{"1338692517":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338692515, 1338692503, 1338692512, 1338692506, 1338692509, 1338692517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07354974746704 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:54:33.058062
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/19/image_20022025_16_20_07_10410.jpg', '/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_16_9449.jpg', '/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_27_10498.jpg', '/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_37_10334.jpg', '/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_46_9329.jpg', '/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_57_10384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/19/image_20022025_16_20_07_10410.jpg
/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_16_9449.jpg
/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_27_10498.jpg
/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_37_10334.jpg
/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_46_9329.jpg
/home/pi/Desktop/images/20022025/16/20/image_20022025_16_20_57_10384.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338692557","1338692573","1338692576","1338692579","1338692570","1338692554"],"photo_ids_order":["1338692554","1338692557","1338692570","1338692573","1338692576","1338692579"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/77cde9106d4662fc8d20e0b00d9bfc40.jpg","text":"TemporaryFile(/tmp/multipartBody8658916567813439211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092133607,"filename":"image_20022025_16_20_16_9449.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/609480cb05dcaa82ffd93618dda56064.jpg","text":"TemporaryFile(/tmp/multipartBody8762396813464631796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092133607,"filename":"image_20022025_16_20_37_10334.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/3b619d7d80dbb699405a044759df372d.jpg","text":"TemporaryFile(/tmp/multipartBody1775810585649729942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092133607,"filename":"image_20022025_16_20_46_9329.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/edbc71d59de811f68a9092ebc9f6a94b.jpg","text":"TemporaryFile(/tmp/multipartBody5933310571952245640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092133607,"filename":"image_20022025_16_20_57_10384.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/d08c0d9a6a07feb43feef051761ef472.jpg","text":"TemporaryFile(/tmp/multipartBody2773370425131754872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092133607,"filename":"image_20022025_16_20_27_10498.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/5ed4afa3dad9d1ca7b9d1c3098750646.jpg","text":"TemporaryFile(/tmp/multipartBody4960844227343397011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092133607,"filename":"image_20022025_16_20_07_10410.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338692570","file1":"1338692557","file0":"1338692554","file4":"1338692576","file5":"1338692579","file3":"1338692573"},"map_files_photo_id_array":[{"photo_id":"1338692579","filename":"file5"},{"photo_id":"1338692570","filename":"file2"},{"photo_id":"1338692576","filename":"file4"},{"photo_id":"1338692557","filename":"file1"},{"photo_id":"1338692554","filename":"file0"},{"photo_id":"1338692573","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338692557":["hashtag1","hashtag2"]},{"1338692573":["hashtag1","hashtag2"]},{"1338692576":["hashtag1","hashtag2"]},{"1338692579":["hashtag1","hashtag2"]},{"1338692570":["hashtag1","hashtag2"]},{"1338692554":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338692557, 1338692573, 1338692576, 1338692579, 1338692570, 1338692554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45831918716431 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:55:32.184054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/20/image_20022025_16_21_06_9325.jpg', '/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_16_10332.jpg', '/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_27_10359.jpg', '/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_36_9341.jpg', '/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_46_10341.jpg', '/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_57_10436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/20/image_20022025_16_21_06_9325.jpg
/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_16_10332.jpg
/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_27_10359.jpg
/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_36_9341.jpg
/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_46_10341.jpg
/home/pi/Desktop/images/20022025/16/21/image_20022025_16_21_57_10436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338692595","1338692598","1338692601","1338692624","1338692590","1338692626"],"photo_ids_order":["1338692590","1338692595","1338692598","1338692601","1338692624","1338692626"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/974e9c1615a2d30209e12c6961dbd480.jpg","text":"TemporaryFile(/tmp/multipartBody7676119751318175505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092192743,"filename":"image_20022025_16_21_16_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/28383a4bf27b27c75a0845101704c9a6.jpg","text":"TemporaryFile(/tmp/multipartBody5116001428041449096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092192743,"filename":"image_20022025_16_21_27_10359.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4692786f5107b598b7319d7eac6cea7f.jpg","text":"TemporaryFile(/tmp/multipartBody235927324551398622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092192743,"filename":"image_20022025_16_21_36_9341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/f463d416cf8e727ce6a50979d2ef0a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4833016589879120623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092192743,"filename":"image_20022025_16_21_46_10341.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/c25e08bede3b3d4e3557f714d2e50284.jpg","text":"TemporaryFile(/tmp/multipartBody8849792339647674026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092192743,"filename":"image_20022025_16_21_06_9325.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/61baf8c167da77f81b53a8356efa45c3.jpg","text":"TemporaryFile(/tmp/multipartBody3036502149174025169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092192743,"filename":"image_20022025_16_21_57_10436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338692598","file1":"1338692595","file0":"1338692590","file4":"1338692624","file5":"1338692626","file3":"1338692601"},"map_files_photo_id_array":[{"photo_id":"1338692626","filename":"file5"},{"photo_id":"1338692598","filename":"file2"},{"photo_id":"1338692624","filename":"file4"},{"photo_id":"1338692595","filename":"file1"},{"photo_id":"1338692590","filename":"file0"},{"photo_id":"1338692601","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338692595":["hashtag1","hashtag2"]},{"1338692598":["hashtag1","hashtag2"]},{"1338692601":["hashtag1","hashtag2"]},{"1338692624":["hashtag1","hashtag2"]},{"1338692590":["hashtag1","hashtag2"]},{"1338692626":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338692595, 1338692598, 1338692601, 1338692624, 1338692590, 1338692626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77567172050476 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:56:32.443818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/21/image_20022025_16_22_06_9314.jpg', '/home/pi/Desktop/images/20022025/16/22/image_20022025_16_22_17_10395.jpg', '/home/pi/Desktop/images/20022025/16/22/image_20022025_16_22_27_10332.jpg', '/home/pi/Desktop/images/20022025/16/22/image_20022025_16_23_06_10337.jpg', '/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_17_10402.jpg', '/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_26_9436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/21/image_20022025_16_22_06_9314.jpg
/home/pi/Desktop/images/20022025/16/22/image_20022025_16_22_17_10395.jpg
/home/pi/Desktop/images/20022025/16/22/image_20022025_16_22_27_10332.jpg
/home/pi/Desktop/images/20022025/16/22/image_20022025_16_23_06_10337.jpg
/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_17_10402.jpg
/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_26_9436.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1338692643","1338692637","1338692646","1338692649","1338692640","1338692651"],"photo_ids_order":["1338692637","1338692640","1338692643","1338692646","1338692649","1338692651"],"photo_detail":[{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/be8c12e808a60e45e7ce5d211a481c4c.jpg","text":"TemporaryFile(/tmp/multipartBody2486400284309541860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092253001,"filename":"image_20022025_16_22_27_10332.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/55ffbd83fe0309f9d0953514c419afb3.jpg","text":"TemporaryFile(/tmp/multipartBody5393399674109791867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092253001,"filename":"image_20022025_16_22_06_9314.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/ff85a3020cb433f402c5964cf65368d8.jpg","text":"TemporaryFile(/tmp/multipartBody4974680198275237518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092253001,"filename":"image_20022025_16_23_06_10337.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/e34d8f3f2bc836e424b2b59f52187d05.jpg","text":"TemporaryFile(/tmp/multipartBody7274147184663676225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092253001,"filename":"image_20022025_16_23_17_10402.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/8b1ca8e2a0b56e6f17d969e2712910b3.jpg","text":"TemporaryFile(/tmp/multipartBody6613486549988119793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092253001,"filename":"image_20022025_16_22_17_10395.jpg","height":0,"width":0},{"mtr_user_id":991,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/20/4937fce33b0ba8870276f865345a59f3.jpg","text":"TemporaryFile(/tmp/multipartBody4559773660681911423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1740092253001,"filename":"image_20022025_16_23_26_9436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1338692643","file1":"1338692640","file0":"1338692637","file4":"1338692649","file5":"1338692651","file3":"1338692646"},"map_files_photo_id_array":[{"photo_id":"1338692651","filename":"file5"},{"photo_id":"1338692643","filename":"file2"},{"photo_id":"1338692649","filename":"file4"},{"photo_id":"1338692640","filename":"file1"},{"photo_id":"1338692637","filename":"file0"},{"photo_id":"1338692646","filename":"file3"}],"portfolio_id":20675559,"hashtag_by_photo_ids":[{"1338692643":["hashtag1","hashtag2"]},{"1338692637":["hashtag1","hashtag2"]},{"1338692646":["hashtag1","hashtag2"]},{"1338692649":["hashtag1","hashtag2"]},{"1338692640":["hashtag1","hashtag2"]},{"1338692651":["hashtag1","hashtag2"]}],"comms":"Portfolio 20675559 used, photo_id : ArrayBuffer(1338692643, 1338692637, 1338692646, 1338692649, 1338692640, 1338692651)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85843634605408 secondes ---
Start to upload photos with parameters : -n dechet_valcor_0623 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 814cca0266bcde387dcca7c32045d470 --datou_id=4310 --threshold=60 -j upload_by_sql -v --interval 8 --status_upload 2 --last_days 15 --only_old 0
2025-02-20 23:57:32.687452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250220 ORDER BY id_local ASC LIMIT 6;
  port_id : 20675559
  datou_current_id : 2599572
in upload_from_sqlite, uploading in 20675559
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_47_10331.jpg', '/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_56_9339.jpg', '/home/pi/Desktop/images/20022025/16/23/image_20022025_16_24_07_10446.jpg', '/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_16_9330.jpg', '/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_26_10355.jpg', '/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_37_10416.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=814cca0266bcde387dcca7c32045d470&datou_current_id=2599572&datou=0
/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_47_10331.jpg
/home/pi/Desktop/images/20022025/16/23/image_20022025_16_23_56_9339.jpg
/home/pi/Desktop/images/20022025/16/23/image_20022025_16_24_07_10446.jpg
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_16_9330.jpg
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_26_10355.jpg
/home/pi/Desktop/images/20022025/16/24/image_20022025_16_24_37_10416.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
